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.001326/0.001326, allocations: 105.4 kB / 16.41 MB, free: 6.52 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.001279/0.001279, allocations: 192.2 kB / 17.34 MB, free: 5.734 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.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2242/0.2242, allocations: 43.52 MB / 314.1 MB, free: 456 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.002127/0.002127, allocations: 81.44 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1226, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01093/0.1336, allocations: 8.684 MB / 0.4959 GB, free: 3.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.1414, allocations: 3.452 MB / 0.4993 GB, free: 88 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.1431, allocations: 47.88 kB / 0.4993 GB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.1461, allocations: 1.371 MB / 0.5006 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.1488, allocations: 0.9377 MB / 0.5016 GB, free: 13.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.15, allocations: 0.5186 MB / 0.5021 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00258/0.1526, allocations: 1.695 MB / 0.5037 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.1547, allocations: 1.674 MB / 0.5054 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.1558, allocations: 0.6814 MB / 0.506 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.1571, allocations: 0.8957 MB / 0.5069 GB, free: 8.207 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.1574, allocations: 140 kB / 0.507 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1586, allocations: 0.5851 MB / 0.5076 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.1594, allocations: 0.7325 MB / 0.5083 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009555/0.1603, allocations: 0.8393 MB / 0.5091 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00312/0.1635, allocations: 2.522 MB / 0.5116 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1635, allocations: 0 / 0.5116 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1635, allocations: 0 / 0.5116 GB, free: 3.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.1636, allocations: 4 kB / 0.5116 GB, free: 3.371 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.004038/0.1676, allocations: 2.069 MB / 0.5136 GB, free: 1.242 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1677, allocations: 15.88 kB / 0.5136 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003222/0.168, allocations: 253.5 kB / 0.5139 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.1692, allocations: 291.5 kB / 0.5142 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.1721, allocations: 1.54 MB / 0.5157 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-05/0.1722, allocations: 98.39 kB / 0.5158 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.1724, allocations: 127.9 kB / 0.5159 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005889/0.1783, allocations: 2.98 MB / 0.5188 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.555e-05/0.1784, allocations: 15.92 kB / 0.5188 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.1786, allocations: 55.97 kB / 0.5189 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006653/0.1792, allocations: 438 kB / 0.5193 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005193/0.1844, allocations: 2.16 MB / 0.5214 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2367/0.4212, allocations: 10.73 MB / 0.5319 GB, free: 33.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/0.4252, allocations: 1.232 MB / 0.5331 GB, free: 33.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.4258, allocations: 408.3 kB / 0.5335 GB, free: 33.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003582/0.4294, allocations: 2.992 MB / 0.5364 GB, free: 32.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.4295, allocations: 44.89 kB / 0.5364 GB, free: 32.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.515e-06/0.4295, allocations: 0 / 0.5364 GB, free: 32.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01195/0.4414, allocations: 3.824 MB / 0.5402 GB, free: 31.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.4416, allocations: 86.19 kB / 0.5402 GB, free: 31.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.4436, allocations: 1.217 MB / 0.5414 GB, free: 30.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.4436, allocations: 35.08 kB / 0.5415 GB, free: 30.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006257/0.4442, allocations: 0.9724 MB / 0.5424 GB, free: 30.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.4444, allocations: 232.7 kB / 0.5426 GB, free: 30.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.4449, allocations: 314.2 kB / 0.5429 GB, free: 29.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.4449, allocations: 305.9 kB / 0.5432 GB, free: 29.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000784/0.4457, allocations: 406.6 kB / 0.5436 GB, free: 29.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.4469, allocations: 1.249 MB / 0.5448 GB, free: 28.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.4488, allocations: 1.789 MB / 0.5466 GB, free: 26.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.4488, allocations: 11.66 kB / 0.5466 GB, free: 26.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.00352/0.4523, allocations: 1.709 MB / 0.5483 GB, free: 26.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.454e-05/0.4524, allocations: 17.38 kB / 0.5483 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/0.4524, allocations: 30.66 kB / 0.5483 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002917/0.4527, allocations: 90.69 kB / 0.5484 GB, free: 26.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.4538, allocations: 354.2 kB / 0.5487 GB, free: 26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.4553, allocations: 1.886 MB / 0.5506 GB, free: 24.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.4564, allocations: 64.8 kB / 0.5506 GB, free: 24.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.4565, allocations: 85.58 kB / 0.5507 GB, free: 24.27 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.0009586/0.4575, allocations: 0.6405 MB / 0.5513 GB, free: 23.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001867/0.4577, allocations: 126 kB / 0.5515 GB, free: 23.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.459, allocations: 0.7157 MB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.459, allocations: 8.125 kB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4591, allocations: 2.531 kB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.4591, allocations: 3.797 kB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/0.463, allocations: 2.246 MB / 0.5544 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.463, allocations: 3.688 kB / 0.5544 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/0.4634, allocations: 99.17 kB / 0.5545 GB, free: 22.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.4636, allocations: 66.03 kB / 0.5545 GB, free: 22.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.4637, allocations: 15.86 kB / 0.5545 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.4651, allocations: 1.943 MB / 0.5564 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4651, allocations: 5.5 kB / 0.5564 GB, free: 20.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.4667, allocations: 1.102 MB / 0.5575 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.4671, allocations: 223.6 kB / 0.5577 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.4672, allocations: 20.16 kB / 0.5578 GB, free: 19.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.4675, allocations: 26.5 kB / 0.5578 GB, free: 19.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.353e-05/0.4676, allocations: 44.75 kB / 0.5578 GB, free: 19.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.4677, allocations: 23.25 kB / 0.5578 GB, free: 19.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.4688, allocations: 0.777 MB / 0.5586 GB, free: 19.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4689, allocations: 4 kB / 0.5586 GB, free: 19.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001593/0.4705, allocations: 300.1 kB / 0.5589 GB, free: 19.53 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.001615/0.4721, allocations: 1.678 MB / 0.5605 GB, free: 18.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.4738, allocations: 1.109 MB / 0.5616 GB, free: 17.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4738, allocations: 1.688 kB / 0.5616 GB, free: 17.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004679/0.4743, allocations: 404.9 kB / 0.562 GB, free: 17.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4753, allocations: 183.6 kB / 0.5622 GB, free: 17.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.4879, allocations: 11.57 MB / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/0.4888, allocations: 1.448 MB / 0.5749 GB, free: 6.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008294/0.4897, allocations: 414.5 kB / 0.5753 GB, free: 5.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000484/0.4901, allocations: 0.5813 MB / 0.5759 GB, free: 5.289 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4902, allocations: 0 / 0.5759 GB, free: 5.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/0.5501, allocations: 23.26 MB / 0.5986 GB, free: 14.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/12.95, allocations: 11.59 kB / 0.5986 GB, free: 14 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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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