Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 104.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 46.11 MB / 343.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 78.12 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1123, allocations: 62.43 MB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02535/0.1377, allocations: 25.98 MB / 0.4935 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01369/0.1514, allocations: 6.339 MB / 0.4997 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.1556, allocations: 107.8 kB / 0.4998 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002672/0.1583, allocations: 1.364 MB / 0.5011 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.1606, allocations: 0.8331 MB / 0.502 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.1616, allocations: 483.3 kB / 0.5024 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002653/0.1643, allocations: 2.334 MB / 0.5047 GB, free: 24 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2622/0.4265, allocations: 1.619 MB / 0.5063 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001401/0.428, allocations: 0.6011 MB / 0.5069 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.4296, allocations: 0.9375 MB / 0.5078 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00025/0.4299, allocations: 103.9 kB / 0.5079 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.4312, allocations: 0.578 MB / 0.5084 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008345/0.4321, allocations: 0.6913 MB / 0.5091 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008383/0.4329, allocations: 0.7975 MB / 0.5099 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003513/0.4365, allocations: 2.405 MB / 0.5122 GB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4365, allocations: 7.75 kB / 0.5122 GB, free: 10.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4365, allocations: 4.719 kB / 0.5123 GB, free: 10.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.714e-05/0.4366, allocations: 0 / 0.5123 GB, free: 10.38 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.00478/0.4413, allocations: 1.992 MB / 0.5142 GB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.4414, allocations: 14.47 kB / 0.5142 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.4418, allocations: 244.6 kB / 0.5144 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.4431, allocations: 275.2 kB / 0.5147 GB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002569/0.4457, allocations: 1.262 MB / 0.5159 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.675e-05/0.4458, allocations: 94.14 kB / 0.516 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.446, allocations: 128.5 kB / 0.5162 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00612/0.4522, allocations: 2.997 MB / 0.5191 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-05/0.4523, allocations: 14.06 kB / 0.5191 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.4524, allocations: 58.28 kB / 0.5191 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007714/0.4532, allocations: 440.9 kB / 0.5196 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005016/0.4582, allocations: 2.174 MB / 0.5217 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.4693, allocations: 10.73 MB / 0.5322 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.473, allocations: 1.239 MB / 0.5334 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.4735, allocations: 406.7 kB / 0.5338 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003699/0.4772, allocations: 3.092 MB / 0.5368 GB, free: 13.83 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.4773, allocations: 38.56 kB / 0.5368 GB, free: 13.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=51): time 2.625e-06/0.4773, allocations: 0 / 0.5368 GB, free: 13.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.01173/0.489, allocations: 3.784 MB / 0.5405 GB, free: 11.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.4891, allocations: 90.17 kB / 0.5406 GB, free: 11.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/0.491, allocations: 1.198 MB / 0.5418 GB, free: 10.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.4911, allocations: 33.7 kB / 0.5418 GB, free: 10.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007963/0.4919, allocations: 0.9271 MB / 0.5427 GB, free: 10.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/0.4921, allocations: 222.2 kB / 0.5429 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000491/0.4926, allocations: 304.5 kB / 0.5432 GB, free: 9.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4927, allocations: 305.1 kB / 0.5435 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.4935, allocations: 420 kB / 0.5439 GB, free: 9.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.495, allocations: 1.243 MB / 0.5451 GB, free: 7.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.4974, allocations: 1.801 MB / 0.5469 GB, free: 6.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-05/0.4974, allocations: 7.188 kB / 0.5469 GB, free: 6.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003077/0.5005, allocations: 1.721 MB / 0.5486 GB, free: 5.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.5006, allocations: 20 kB / 0.5486 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/0.5006, allocations: 28.09 kB / 0.5486 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.5008, allocations: 95.98 kB / 0.5487 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.502, allocations: 354.8 kB / 0.549 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.5036, allocations: 1.689 MB / 0.5507 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.5048, allocations: 63.98 kB / 0.5508 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.505, allocations: 88 kB / 0.5508 GB, free: 2.598 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001302/0.5063, allocations: 0.6429 MB / 0.5515 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002446/0.5065, allocations: 118.4 kB / 0.5516 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.5068, allocations: 135.6 kB / 0.5517 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.5068, allocations: 4 kB / 0.5517 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.5069, allocations: 4 kB / 0.5517 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.5069, allocations: 11.02 kB / 0.5517 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004254/0.5111, allocations: 2.248 MB / 0.5539 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.5112, allocations: 4 kB / 0.5539 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004009/0.5116, allocations: 99.14 kB / 0.554 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002163/0.5118, allocations: 70.73 kB / 0.5541 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.5119, allocations: 20 kB / 0.5541 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.5135, allocations: 1.737 MB / 0.5558 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.5135, allocations: 8.984 kB / 0.5558 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.5151, allocations: 1.12 MB / 0.5569 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.5155, allocations: 177.9 kB / 0.5571 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.5156, allocations: 16 kB / 0.5571 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.5161, allocations: 23.98 kB / 0.5571 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.5162, allocations: 54.94 kB / 0.5572 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.5162, allocations: 16 kB / 0.5572 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001328/0.5175, allocations: 0.7558 MB / 0.5579 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5176, allocations: 0 / 0.5579 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001646/0.5192, allocations: 296 kB / 0.5582 GB, free: 10.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.5214, allocations: 1.68 MB / 0.5598 GB, free: 9.074 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002105/0.5235, allocations: 1.096 MB / 0.5609 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.5235, allocations: 4 kB / 0.5609 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000621/0.5242, allocations: 413.9 kB / 0.5613 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.5253, allocations: 183.8 kB / 0.5615 GB, free: 7.477 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/0.5452, allocations: 12.65 MB / 0.5738 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001737/0.5469, allocations: 1.458 MB / 0.5753 GB, free: 8.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001119/0.5481, allocations: 405.6 kB / 0.5757 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008318/0.5489, allocations: 0.5774 MB / 0.5762 GB, free: 7.234 MB / 430.1 MB Notification: Performance of SimCode: time 1.343e-06/0.549, allocations: 0 / 0.5762 GB, free: 7.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/0.5974, allocations: 21.94 MB / 0.5976 GB, free: 1.539 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.5976, allocations: 223.3 kB / 0.5979 GB, free: 1.281 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.117, allocations: 0 / 0.5979 GB, free: 1.281 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches