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.002025/0.002025, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002367/0.002367, allocations: 215.4 kB / 22.99 MB, free: 4.602 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.498/1.498, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.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.2389/0.2389, allocations: 44.27 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] 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.002456/0.002456, allocations: 79.88 kB / 467.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1175, allocations: 61.04 MB / 0.5162 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01306/0.1305, allocations: 11.05 MB / 0.527 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008458/0.139, allocations: 3.716 MB / 0.5306 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.141, allocations: 71.75 kB / 0.5306 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003231/0.1442, allocations: 1.308 MB / 0.5319 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.1491, allocations: 1.845 MB / 0.5337 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1504, allocations: 427.2 kB / 0.5341 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005279/0.1557, allocations: 3.661 MB / 0.5377 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2205/0.3762, allocations: 1.869 MB / 0.5395 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.3788, allocations: 1.259 MB / 0.5408 GB, free: 10.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.3822, allocations: 1.882 MB / 0.5426 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001092/0.3833, allocations: 242.7 kB / 0.5428 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.3856, allocations: 0.7286 MB / 0.5435 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.3875, allocations: 1.672 MB / 0.5452 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002822/0.3903, allocations: 1.392 MB / 0.5465 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.4014, allocations: 6.322 MB / 0.5527 GB, free: 8.316 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4015, allocations: 1.875 kB / 0.5527 GB, free: 8.316 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4015, allocations: 1.438 kB / 0.5527 GB, free: 8.316 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002414/0.4017, allocations: 0 / 0.5527 GB, free: 8.316 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.0105/0.4122, allocations: 4.205 MB / 0.5568 GB, free: 6.492 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4122, allocations: 14.19 kB / 0.5568 GB, free: 6.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001183/0.4134, allocations: 0.7169 MB / 0.5575 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.4234, allocations: 3.115 MB / 0.5606 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005274/0.4287, allocations: 2.366 MB / 0.5629 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.4289, allocations: 194 kB / 0.5631 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007415/0.4296, allocations: 257.5 kB / 0.5633 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.4454, allocations: 10.39 MB / 0.5735 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.199e-05/0.4455, allocations: 26.5 kB / 0.5735 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/0.4459, allocations: 121.5 kB / 0.5736 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003902/0.4499, allocations: 2.558 MB / 0.5761 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.4673, allocations: 9.431 MB / 0.5853 GB, free: 9.312 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05135/0.5186, allocations: 30.67 MB / 0.6153 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005726/0.5243, allocations: 2.37 MB / 0.6176 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.5259, allocations: 1.005 MB / 0.6186 GB, free: 6.996 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008161/0.5267, allocations: 431.9 kB / 0.619 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.5268, allocations: 48.75 kB / 0.619 GB, free: 6.527 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 4.679e-06/0.5268, allocations: 0 / 0.619 GB, free: 6.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02155/0.5483, allocations: 9.709 MB / 0.6285 GB, free: 12.79 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.5484, allocations: 94.42 kB / 0.6286 GB, free: 12.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004503/0.5529, allocations: 2.84 MB / 0.6314 GB, free: 9.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.5532, allocations: 52.05 kB / 0.6314 GB, free: 9.766 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002149/0.5553, allocations: 2.861 MB / 0.6342 GB, free: 6.914 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009937/0.5563, allocations: 0.7522 MB / 0.6349 GB, free: 6.172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001439/0.5578, allocations: 0.9794 MB / 0.6359 GB, free: 5.184 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5579, allocations: 309.1 kB / 0.6362 GB, free: 4.879 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.5604, allocations: 1.559 MB / 0.6377 GB, free: 3.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/0.5652, allocations: 4.467 MB / 0.6421 GB, free: 13.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008435/0.5736, allocations: 6.676 MB / 0.6486 GB, free: 5.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/0.5737, allocations: 32 kB / 0.6486 GB, free: 5.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=657) (initialization): time 0.01097/0.5847, allocations: 5.946 MB / 0.6544 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.384e-05/0.5848, allocations: 55.94 kB / 0.6545 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/0.5849, allocations: 100 kB / 0.6546 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.5853, allocations: 176.8 kB / 0.6547 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/0.5886, allocations: 1.096 MB / 0.6558 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.5903, allocations: 1.692 MB / 0.6575 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/0.5935, allocations: 215.7 kB / 0.6577 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007562/0.5942, allocations: 302.5 kB / 0.658 GB, free: 12.04 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.004496/0.5987, allocations: 2.033 MB / 0.6599 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005711/0.5993, allocations: 266.2 kB / 0.6602 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004233/0.6035, allocations: 2.54 MB / 0.6627 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.739e-05/0.6036, allocations: 23.67 kB / 0.6627 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6036, allocations: 4 kB / 0.6627 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.6036, allocations: 7.969 kB / 0.6627 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.618, allocations: 7.92 MB / 0.6705 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.618, allocations: 8 kB / 0.6705 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009668/0.6189, allocations: 259.7 kB / 0.6707 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.6191, allocations: 52.83 kB / 0.6708 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.6192, allocations: 40 kB / 0.6708 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.6206, allocations: 1.526 MB / 0.6723 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/0.6206, allocations: 19.94 kB / 0.6723 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.6259, allocations: 4.07 MB / 0.6763 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/0.6274, allocations: 450 kB / 0.6767 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003978/0.6278, allocations: 36 kB / 0.6767 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008246/0.6286, allocations: 64 kB / 0.6768 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.6288, allocations: 128.5 kB / 0.6769 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.629, allocations: 66.8 kB / 0.677 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002557/0.6315, allocations: 1.64 MB / 0.6786 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6315, allocations: 0 / 0.6786 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004286/0.6358, allocations: 0.8151 MB / 0.6794 GB, free: 5.652 MB / 0.5137 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.00583/0.6416, allocations: 4.73 MB / 0.684 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006015/0.6477, allocations: 3.773 MB / 0.6877 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/0.6477, allocations: 128 / 0.6877 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.6494, allocations: 1.17 MB / 0.6888 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.6513, allocations: 348.4 kB / 0.6892 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05124/0.7026, allocations: 34.24 MB / 0.7226 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004012/0.7066, allocations: 2.663 MB / 0.7252 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003668/0.7103, allocations: 1.736 MB / 0.7269 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002703/0.713, allocations: 1.76 MB / 0.7286 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.312e-06/0.713, allocations: 0 / 0.7286 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09946/0.8124, allocations: 46.06 MB / 0.7736 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/15.87, allocations: 3.906 kB / 0.7736 GB, free: 0.6328 MB / 0.6075 GB " [Timeout remaining time 644] (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: 19.254935406148434]