Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 108.1 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001439, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2153/0.2153, allocations: 43.53 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 77.44 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.123, allocations: 57.8 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01119/0.1342, allocations: 8.68 MB / 0.4959 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008206/0.1424, allocations: 3.452 MB / 0.4993 GB, free: 68 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001613/0.1441, allocations: 47.88 kB / 0.4993 GB, free: 20 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003101/0.1472, allocations: 1.367 MB / 0.5006 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.1507, allocations: 0.9417 MB / 0.5016 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.1522, allocations: 0.5225 MB / 0.5021 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.1551, allocations: 1.691 MB / 0.5037 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.1575, allocations: 1.667 MB / 0.5054 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.1589, allocations: 0.6814 MB / 0.506 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.1605, allocations: 0.8918 MB / 0.5069 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004508/0.1609, allocations: 140 kB / 0.507 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1624, allocations: 0.6007 MB / 0.5076 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009838/0.1634, allocations: 0.7403 MB / 0.5083 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.1648, allocations: 0.8392 MB / 0.5092 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.1681, allocations: 2.515 MB / 0.5116 GB, free: 3.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1681, allocations: 0 / 0.5116 GB, free: 3.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1681, allocations: 0 / 0.5116 GB, free: 3.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.803e-05/0.1682, allocations: 0 / 0.5116 GB, free: 3.352 MB / 398.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.005051/0.1733, allocations: 2.037 MB / 0.5136 GB, free: 1.258 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1734, allocations: 11.89 kB / 0.5136 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000512/0.1739, allocations: 245.5 kB / 0.5138 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.1753, allocations: 278.5 kB / 0.5141 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.1789, allocations: 1.539 MB / 0.5156 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.179, allocations: 94.39 kB / 0.5157 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.1793, allocations: 128 kB / 0.5158 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006188/0.1855, allocations: 2.984 MB / 0.5187 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-05/0.1856, allocations: 7.938 kB / 0.5187 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.1858, allocations: 59.97 kB / 0.5188 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000673/0.1865, allocations: 434 kB / 0.5192 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005091/0.1916, allocations: 2.171 MB / 0.5213 GB, free: 9.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2522/0.4438, allocations: 10.7 MB / 0.5318 GB, free: 33.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/0.4479, allocations: 1.23 MB / 0.533 GB, free: 33.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.4485, allocations: 402.5 kB / 0.5334 GB, free: 33.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003948/0.4524, allocations: 2.995 MB / 0.5363 GB, free: 32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.4525, allocations: 38.56 kB / 0.5363 GB, free: 31.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.234e-06/0.4525, allocations: 0 / 0.5363 GB, free: 31.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01207/0.4646, allocations: 3.807 MB / 0.5401 GB, free: 31.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.4647, allocations: 87.52 kB / 0.5401 GB, free: 31.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.4665, allocations: 1.21 MB / 0.5413 GB, free: 30.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.4666, allocations: 40.98 kB / 0.5414 GB, free: 30.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006114/0.4672, allocations: 0.9411 MB / 0.5423 GB, free: 30.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4673, allocations: 217.9 kB / 0.5425 GB, free: 29.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003623/0.4677, allocations: 313.9 kB / 0.5428 GB, free: 29.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.4678, allocations: 305.9 kB / 0.5431 GB, free: 29.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000776/0.4685, allocations: 410.4 kB / 0.5435 GB, free: 29.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.4697, allocations: 1.242 MB / 0.5447 GB, free: 28.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.4715, allocations: 1.793 MB / 0.5464 GB, free: 26.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.513e-05/0.4715, allocations: 12.28 kB / 0.5464 GB, free: 26.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.003173/0.4747, allocations: 1.704 MB / 0.5481 GB, free: 25.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.4748, allocations: 17.56 kB / 0.5481 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.174e-05/0.4748, allocations: 29.72 kB / 0.5482 GB, free: 25.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.4751, allocations: 91.11 kB / 0.5482 GB, free: 25.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4762, allocations: 355.9 kB / 0.5486 GB, free: 25.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.4777, allocations: 1.883 MB / 0.5504 GB, free: 24.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.4788, allocations: 64.7 kB / 0.5505 GB, free: 24.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.4789, allocations: 84.91 kB / 0.5506 GB, free: 24.1 MB / 414.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.000942/0.4798, allocations: 0.6419 MB / 0.5512 GB, free: 23.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.48, allocations: 112.5 kB / 0.5513 GB, free: 23.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.4814, allocations: 0.7153 MB / 0.552 GB, free: 23.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4815, allocations: 6.875 kB / 0.552 GB, free: 23.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4815, allocations: 1.125 kB / 0.552 GB, free: 23.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4815, allocations: 4.703 kB / 0.552 GB, free: 23.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.4857, allocations: 2.241 MB / 0.5542 GB, free: 22.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4857, allocations: 3.891 kB / 0.5542 GB, free: 22.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.4861, allocations: 99.19 kB / 0.5543 GB, free: 22.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001966/0.4863, allocations: 66.88 kB / 0.5544 GB, free: 22.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/0.4864, allocations: 15.95 kB / 0.5544 GB, free: 22.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.4878, allocations: 1.947 MB / 0.5563 GB, free: 20.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.4878, allocations: 4.688 kB / 0.5563 GB, free: 20.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.4894, allocations: 1.099 MB / 0.5574 GB, free: 19.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.4899, allocations: 219.6 kB / 0.5576 GB, free: 19.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.49, allocations: 19.22 kB / 0.5576 GB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004173/0.4905, allocations: 34.28 kB / 0.5576 GB, free: 19.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.578e-05/0.4906, allocations: 39.14 kB / 0.5576 GB, free: 19.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.4906, allocations: 23.75 kB / 0.5577 GB, free: 19.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.4918, allocations: 0.7796 MB / 0.5584 GB, free: 19.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4918, allocations: 4 kB / 0.5584 GB, free: 19.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001613/0.4934, allocations: 300.4 kB / 0.5587 GB, free: 19.37 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.001854/0.4953, allocations: 1.668 MB / 0.5604 GB, free: 18.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.497, allocations: 1.09 MB / 0.5614 GB, free: 17.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.4971, allocations: 9.531 kB / 0.5614 GB, free: 17.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.4976, allocations: 407.9 kB / 0.5618 GB, free: 17.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4987, allocations: 185.2 kB / 0.562 GB, free: 17.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.5122, allocations: 11.51 MB / 0.5732 GB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.5135, allocations: 1.457 MB / 0.5747 GB, free: 6.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009172/0.5144, allocations: 414.2 kB / 0.575 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.515, allocations: 0.5813 MB / 0.5756 GB, free: 5.281 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.515, allocations: 0 / 0.5756 GB, free: 5.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/0.5717, allocations: 23.51 MB / 0.5986 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.21, allocations: 7.281 kB / 0.5986 GB, free: 13.75 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_PrismaticInit.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches