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.001759/0.001759, allocations: 108 kB / 16.41 MB, free: 6.484 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.001841/0.001842, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.583/1.583, 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.2376/0.2376, allocations: 43.53 MB / 314.1 MB, free: 468 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.002136/0.002136, allocations: 63.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1293, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01061/0.1399, allocations: 8.691 MB / 0.4959 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.1471, allocations: 3.453 MB / 0.4993 GB, free: 112 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.1483, allocations: 43.88 kB / 0.4993 GB, free: 68 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002858/0.1512, allocations: 1.367 MB / 0.5006 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1539, allocations: 0.9456 MB / 0.5016 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.1551, allocations: 0.5147 MB / 0.5021 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.1576, allocations: 1.702 MB / 0.5037 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.1597, allocations: 1.667 MB / 0.5054 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.1607, allocations: 0.6776 MB / 0.506 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.162, allocations: 0.8918 MB / 0.5069 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002405/0.1622, allocations: 140 kB / 0.507 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1634, allocations: 0.5929 MB / 0.5076 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007253/0.1641, allocations: 0.7248 MB / 0.5083 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008529/0.165, allocations: 0.847 MB / 0.5091 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002848/0.1678, allocations: 2.518 MB / 0.5116 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1678, allocations: 0 / 0.5116 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1678, allocations: 0 / 0.5116 GB, free: 3.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.122e-05/0.1679, allocations: 0 / 0.5116 GB, free: 3.406 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.003851/0.1717, allocations: 2.077 MB / 0.5136 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1718, allocations: 11.89 kB / 0.5136 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003017/0.1721, allocations: 245.5 kB / 0.5139 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.1733, allocations: 295.5 kB / 0.5142 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.176, allocations: 1.544 MB / 0.5157 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.554e-05/0.176, allocations: 98.39 kB / 0.5158 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.1763, allocations: 127.9 kB / 0.5159 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005447/0.1817, allocations: 2.984 MB / 0.5188 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.919e-05/0.1818, allocations: 15.94 kB / 0.5188 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.1819, allocations: 55.97 kB / 0.5189 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006609/0.1826, allocations: 434 kB / 0.5193 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005108/0.1877, allocations: 2.167 MB / 0.5214 GB, free: 9.059 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2403/0.428, allocations: 10.73 MB / 0.5319 GB, free: 33.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/0.432, allocations: 1.226 MB / 0.5331 GB, free: 33.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005895/0.4326, allocations: 403.7 kB / 0.5334 GB, free: 33.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00344/0.436, allocations: 3.004 MB / 0.5364 GB, free: 32.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.4361, allocations: 40.7 kB / 0.5364 GB, free: 32.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.374e-06/0.4361, allocations: 1.344 kB / 0.5364 GB, free: 32.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.0115/0.4476, allocations: 3.827 MB / 0.5402 GB, free: 31.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.4477, allocations: 87.27 kB / 0.5402 GB, free: 31.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.4493, allocations: 1.216 MB / 0.5414 GB, free: 30.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.4494, allocations: 35.92 kB / 0.5415 GB, free: 30.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/0.4499, allocations: 0.9694 MB / 0.5424 GB, free: 30.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4501, allocations: 233.3 kB / 0.5426 GB, free: 30.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004431/0.4505, allocations: 309.6 kB / 0.5429 GB, free: 29.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.4506, allocations: 309.9 kB / 0.5432 GB, free: 29.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/0.4514, allocations: 407.7 kB / 0.5436 GB, free: 29.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.4524, allocations: 1.25 MB / 0.5448 GB, free: 28.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/0.4541, allocations: 1.788 MB / 0.5466 GB, free: 26.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/0.4542, allocations: 8.75 kB / 0.5466 GB, free: 26.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.002734/0.4569, allocations: 1.716 MB / 0.5483 GB, free: 26.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.457, allocations: 18 kB / 0.5483 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.457, allocations: 30.59 kB / 0.5483 GB, free: 26.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002392/0.4572, allocations: 91.44 kB / 0.5484 GB, free: 26.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4583, allocations: 354.2 kB / 0.5487 GB, free: 26.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/0.4596, allocations: 1.881 MB / 0.5506 GB, free: 24.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/0.4607, allocations: 65.23 kB / 0.5506 GB, free: 24.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.4608, allocations: 85.28 kB / 0.5507 GB, free: 24.28 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.0009371/0.4617, allocations: 0.6444 MB / 0.5513 GB, free: 23.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.4619, allocations: 121 kB / 0.5515 GB, free: 23.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.4631, allocations: 0.7162 MB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.4631, allocations: 4.969 kB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4631, allocations: 7.391 kB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.4631, allocations: 3.422 kB / 0.5522 GB, free: 23.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003388/0.4665, allocations: 2.241 MB / 0.5544 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.4665, allocations: 5.156 kB / 0.5544 GB, free: 22.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.4669, allocations: 97.67 kB / 0.5545 GB, free: 22.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/0.4671, allocations: 66.44 kB / 0.5545 GB, free: 22.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.4672, allocations: 16.61 kB / 0.5545 GB, free: 22.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.4687, allocations: 1.947 MB / 0.5564 GB, free: 20.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4687, allocations: 8.719 kB / 0.5564 GB, free: 20.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.4702, allocations: 1.104 MB / 0.5575 GB, free: 20.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.4706, allocations: 223.6 kB / 0.5577 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4707, allocations: 12.31 kB / 0.5578 GB, free: 19.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.471, allocations: 30.22 kB / 0.5578 GB, free: 19.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.4712, allocations: 46 kB / 0.5578 GB, free: 19.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.4712, allocations: 24.44 kB / 0.5578 GB, free: 19.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.4723, allocations: 0.776 MB / 0.5586 GB, free: 19.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4723, allocations: 7.938 kB / 0.5586 GB, free: 19.56 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001533/0.4739, allocations: 296 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.00165/0.4755, allocations: 1.674 MB / 0.5605 GB, free: 18.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.4772, allocations: 1.108 MB / 0.5616 GB, free: 17.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4772, allocations: 0 / 0.5616 GB, free: 17.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.4776, allocations: 404.8 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.0009226/0.4786, allocations: 182.4 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.01163/0.4902, allocations: 11.58 MB / 0.5735 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008375/0.4911, allocations: 1.452 MB / 0.5749 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008373/0.4919, allocations: 407.2 kB / 0.5753 GB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.4924, allocations: 0.5813 MB / 0.5759 GB, free: 5.281 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4924, allocations: 0 / 0.5759 GB, free: 5.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05784/0.5503, allocations: 23.25 MB / 0.5986 GB, free: 14.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.69, allocations: 3.281 kB / 0.5986 GB, free: 14.01 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