Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 113.2 kB / 17.12 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3775/0.3775, allocations: 44.23 MB / 326.6 MB, free: 6.797 MB / 254.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 63.91 kB / 462.2 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3338, allocations: 61 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01156/0.3453, allocations: 12.72 MB / 0.5234 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009417/0.3547, allocations: 3.918 MB / 0.5272 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/0.3579, allocations: 71.75 kB / 0.5273 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003863/0.3618, allocations: 1.35 MB / 0.5286 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005921/0.3677, allocations: 1.823 MB / 0.5304 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.3693, allocations: 427.2 kB / 0.5308 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006586/0.3759, allocations: 3.663 MB / 0.5344 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003292/0.3792, allocations: 1.806 MB / 0.5361 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.3822, allocations: 1.261 MB / 0.5373 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.3858, allocations: 1.954 MB / 0.5393 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009673/0.3868, allocations: 244 kB / 0.5395 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.3892, allocations: 0.8503 MB / 0.5403 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002482/0.3917, allocations: 1.663 MB / 0.5419 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003432/0.3951, allocations: 1.945 MB / 0.5438 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.4057, allocations: 6.303 MB / 0.55 GB, free: 6.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.4057, allocations: 0 / 0.55 GB, free: 6.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4057, allocations: 0 / 0.55 GB, free: 6.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002509/0.406, allocations: 0 / 0.55 GB, free: 6.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01083/0.4168, allocations: 4.284 MB / 0.5542 GB, free: 2.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.4169, allocations: 15.89 kB / 0.5542 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001596/0.4184, allocations: 0.7168 MB / 0.5549 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.43, allocations: 3.114 MB / 0.5579 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/0.4359, allocations: 2.397 MB / 0.5603 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.4361, allocations: 200.9 kB / 0.5605 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.4372, allocations: 255.7 kB / 0.5607 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/0.4585, allocations: 10.39 MB / 0.5709 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/0.4586, allocations: 27.81 kB / 0.5709 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009425/0.4596, allocations: 119.8 kB / 0.571 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004942/0.4645, allocations: 2.557 MB / 0.5735 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02148/0.486, allocations: 9.455 MB / 0.5827 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05491/0.5409, allocations: 32.33 MB / 0.6143 GB, free: 3.477 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006757/0.5477, allocations: 3.272 MB / 0.6175 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.5494, allocations: 0.9985 MB / 0.6185 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/0.5508, allocations: 1.303 MB / 0.6198 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.5509, allocations: 47.88 kB / 0.6198 GB, free: 13.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=187): time 5.23e-06/0.5509, allocations: 0 / 0.6198 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.02419/0.5751, allocations: 9.935 MB / 0.6295 GB, free: 3.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.5751, allocations: 94.42 kB / 0.6296 GB, free: 3.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/0.5796, allocations: 2.674 MB / 0.6322 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003122/0.5799, allocations: 49.7 kB / 0.6322 GB, free: 0.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002591/0.5825, allocations: 2.861 MB / 0.635 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001087/0.5835, allocations: 0.7441 MB / 0.6358 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00174/0.5853, allocations: 0.9891 MB / 0.6367 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.5855, allocations: 304.9 kB / 0.637 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/0.5886, allocations: 1.559 MB / 0.6385 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006063/0.5947, allocations: 4.465 MB / 0.6429 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3575/0.9522, allocations: 6.678 MB / 0.6494 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/0.9523, allocations: 29.28 kB / 0.6495 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01377/0.9661, allocations: 5.945 MB / 0.6553 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.9662, allocations: 48.28 kB / 0.6553 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003334/0.9665, allocations: 102.7 kB / 0.6554 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006965/0.9672, allocations: 180.8 kB / 0.6556 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/0.9715, allocations: 1.091 MB / 0.6566 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.9735, allocations: 1.807 MB / 0.6584 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/0.9775, allocations: 210.6 kB / 0.6586 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009616/0.9784, allocations: 296.2 kB / 0.6589 GB, free: 109.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (605): * Single equations (assignments): 598 * Array equations: 6 * 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.004276/0.9827, allocations: 2.035 MB / 0.6609 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/0.9833, allocations: 261.3 kB / 0.6611 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/0.9874, allocations: 2.548 MB / 0.6636 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/0.9874, allocations: 23.52 kB / 0.6636 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9874, allocations: 0 / 0.6636 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.9874, allocations: 11.56 kB / 0.6637 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/1.001, allocations: 8.147 MB / 0.6716 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.001, allocations: 11.62 kB / 0.6716 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.002, allocations: 254.1 kB / 0.6719 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/1.003, allocations: 54.05 kB / 0.6719 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/1.003, allocations: 42.17 kB / 0.672 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/1.004, allocations: 1.627 MB / 0.6735 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.309e-05/1.004, allocations: 16.5 kB / 0.6736 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005035/1.009, allocations: 4.074 MB / 0.6775 GB, free: 99.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.01, allocations: 0.5163 MB / 0.678 GB, free: 99.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004783/1.011, allocations: 36.03 kB / 0.6781 GB, free: 99.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.012, allocations: 59.39 kB / 0.6781 GB, free: 99.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/1.012, allocations: 133.7 kB / 0.6783 GB, free: 99.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.012, allocations: 70.52 kB / 0.6783 GB, free: 99.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002511/1.015, allocations: 1.641 MB / 0.6799 GB, free: 97.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.015, allocations: 0 / 0.6799 GB, free: 97.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005122/1.02, allocations: 0.8101 MB / 0.6807 GB, free: 97.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.005769/1.026, allocations: 4.741 MB / 0.6853 GB, free: 92.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006637/1.032, allocations: 3.76 MB / 0.689 GB, free: 88.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.227e-05/1.032, allocations: 0 / 0.689 GB, free: 88.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001925/1.034, allocations: 1.178 MB / 0.6902 GB, free: 87.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.037, allocations: 344 kB / 0.6905 GB, free: 87.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04933/1.086, allocations: 34.14 MB / 0.7238 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/1.089, allocations: 3.198 MB / 0.727 GB, free: 45.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003311/1.093, allocations: 1.745 MB / 0.7287 GB, free: 43.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00214/1.095, allocations: 1.753 MB / 0.7304 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of SimCode: time 1.263e-06/1.095, allocations: 3.938 kB / 0.7304 GB, free: 41.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/1.184, allocations: 46.63 MB / 0.7759 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/19.39, allocations: 6.625 kB / 0.7759 GB, free: 11.14 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 22.645480866005528]