Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 110.2 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 186.2 kB / 24.51 MB, free: 4.031 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar")
translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.89 kB / 497.7 MB, free: 0.9922 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4139, allocations: 64.29 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.02004/0.4339, allocations: 15.1 MB / 0.5636 GB, free: 292 kB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0127/0.4466, allocations: 4.47 MB / 0.5679 GB, free: 11.8 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003678/0.4503, allocations: 87.69 kB / 0.568 GB, free: 11.72 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005228/0.4555, allocations: 2.265 MB / 0.5702 GB, free: 9.445 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006283/0.4618, allocations: 2.086 MB / 0.5723 GB, free: 7.355 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.4639, allocations: 0.6161 MB / 0.5729 GB, free: 6.738 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007567/0.4714, allocations: 4.288 MB / 0.5771 GB, free: 2.441 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.4757, allocations: 2.416 MB / 0.5794 GB, free: 15.97 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003254/0.4789, allocations: 1.631 MB / 0.581 GB, free: 14.34 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004179/0.4831, allocations: 2.426 MB / 0.5834 GB, free: 11.9 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001078/0.4842, allocations: 344 kB / 0.5837 GB, free: 11.57 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.4868, allocations: 1.084 MB / 0.5848 GB, free: 10.48 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002328/0.4892, allocations: 2.041 MB / 0.5868 GB, free: 8.434 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003088/0.4922, allocations: 2.399 MB / 0.5891 GB, free: 6.02 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01081/0.5031, allocations: 7.841 MB / 0.5968 GB, free: 14.15 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5031, allocations: 0 / 0.5968 GB, free: 14.15 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.833e-06/0.5031, allocations: 0 / 0.5968 GB, free: 14.15 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0002823/0.5033, allocations: 0 / 0.5968 GB, free: 14.15 MB / 446.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1828
 * Number of variables: 1828
Notification: Performance of Generate backend data structure: time 0.01448/0.5178, allocations: 5.152 MB / 0.6018 GB, free: 8.934 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 7.996e-05/0.5179, allocations: 8.922 kB / 0.6018 GB, free: 8.926 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/0.5303, allocations: 3.219 MB / 0.6049 GB, free: 5.699 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007156/0.5375, allocations: 2.345 MB / 0.6072 GB, free: 3.316 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003289/0.5378, allocations: 246.6 kB / 0.6075 GB, free: 3.074 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.5395, allocations: 339.7 kB / 0.6078 GB, free: 2.742 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02673/0.5662, allocations: 12.24 MB / 0.6197 GB, free: 5.969 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000226/0.5664, allocations: 35.7 kB / 0.6198 GB, free: 5.934 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001468/0.5679, allocations: 147.8 kB / 0.6199 GB, free: 5.789 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005669/0.5736, allocations: 2.855 MB / 0.6227 GB, free: 2.926 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02689/0.6005, allocations: 11.13 MB / 0.6336 GB, free: 7.785 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07139/0.6718, allocations: 40.43 MB / 0.6731 GB, free: 14.29 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01091/0.6827, allocations: 3.6 MB / 0.6766 GB, free: 10.68 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004043/0.6868, allocations: 2.255 MB / 0.6788 GB, free: 8.426 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.688, allocations: 445.4 kB / 0.6792 GB, free: 7.992 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/0.688, allocations: 52.56 kB / 0.6793 GB, free: 7.93 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=249): time 6.262e-06/0.688, allocations: 4 kB / 0.6793 GB, free: 7.926 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=267): time 0.0531/0.7411, allocations: 18.46 MB / 0.6973 GB, free: 5.398 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.7412, allocations: 73.41 kB / 0.6974 GB, free: 5.312 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008611/0.7498, allocations: 3.185 MB / 0.7005 GB, free: 2.117 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 0.0006723/0.7505, allocations: 65.69 kB / 0.7005 GB, free: 2.047 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 0.004296/0.7548, allocations: 3.241 MB / 0.7037 GB, free: 14.77 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.002295/0.7571, allocations: 1.015 MB / 0.7047 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.003751/0.7609, allocations: 1.192 MB / 0.7058 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001408/0.761, allocations: 305.1 kB / 0.7061 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004811/0.7658, allocations: 2.463 MB / 0.7085 GB, free: 9.777 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.008406/0.7742, allocations: 5.731 MB / 0.7141 GB, free: 2.438 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/0.788, allocations: 8.988 MB / 0.7229 GB, free: 7.852 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/0.7882, allocations: 32 kB / 0.7229 GB, free: 7.82 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=791) (initialization): time 0.3869/1.175, allocations: 9.011 MB / 0.7317 GB, free: 155.6 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001492/1.175, allocations: 53.44 kB / 0.7318 GB, free: 155.6 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002547/1.175, allocations: 114.1 kB / 0.7319 GB, free: 155.6 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/1.179, allocations: 1.05 MB / 0.7329 GB, free: 155.6 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007507/1.187, allocations: 1.354 MB / 0.7343 GB, free: 155.6 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007978/1.195, allocations: 5.439 MB / 0.7396 GB, free: 153.8 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004284/1.199, allocations: 317.2 kB / 0.7399 GB, free: 153.7 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007718/1.2, allocations: 342.5 kB / 0.7402 GB, free: 153.7 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 517
 * Number of states: 0 ()
 * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (729):
 * Single equations (assignments): 722
 * 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
   {(4,11,87.5%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.004158/1.204, allocations: 2.412 MB / 0.7426 GB, free: 152.8 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005788/1.205, allocations: 331.8 kB / 0.7429 GB, free: 152.8 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008208/1.213, allocations: 5.362 MB / 0.7481 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/1.213, allocations: 51.11 kB / 0.7482 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.213, allocations: 10.94 kB / 0.7482 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/1.213, allocations: 8.422 kB / 0.7482 GB, free: 151 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02138/1.234, allocations: 12.98 MB / 0.7608 GB, free: 144.1 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/1.234, allocations: 12 kB / 0.7609 GB, free: 144.1 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001673/1.236, allocations: 423.3 kB / 0.7613 GB, free: 143.7 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/1.239, allocations: 0.8924 MB / 0.7621 GB, free: 142.8 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/1.239, allocations: 55.98 kB / 0.7622 GB, free: 142.7 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005218/1.244, allocations: 4.738 MB / 0.7668 GB, free: 137.9 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/1.244, allocations: 15.94 kB / 0.7668 GB, free: 137.9 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/1.254, allocations: 8.02 MB / 0.7747 GB, free: 129.9 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000949/1.255, allocations: 302.5 kB / 0.7749 GB, free: 129.7 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/1.256, allocations: 51.98 kB / 0.775 GB, free: 129.7 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.257, allocations: 147.2 kB / 0.7751 GB, free: 129.5 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/1.257, allocations: 181.4 kB / 0.7753 GB, free: 129.4 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.258, allocations: 80.11 kB / 0.7754 GB, free: 129.3 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.002356/1.26, allocations: 1.961 MB / 0.7773 GB, free: 127.3 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7e-08/1.26, allocations: 0 / 0.7773 GB, free: 127.3 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.00469/1.265, allocations: 1.092 MB / 0.7784 GB, free: 126.2 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 49
 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w)
 * 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 (208):
 * Single equations (assignments): 201
 * 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
   {(3,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005166/1.265, allocations: 192.3 kB / 0.7786 GB, free: 126.1 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.008341/1.273, allocations: 5.8 MB / 0.7842 GB, free: 120.3 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 2.352e-05/1.273, allocations: 4 kB / 0.7842 GB, free: 120.3 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.003113/1.277, allocations: 2.097 MB / 0.7863 GB, free: 118.2 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/1.28, allocations: 447.8 kB / 0.7867 GB, free: 117.7 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.297, allocations: 11.55 MB / 0.798 GB, free: 106 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003348/1.3, allocations: 3.704 MB / 0.8016 GB, free: 102.3 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003979/1.304, allocations: 2.153 MB / 0.8037 GB, free: 100.1 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/1.305, allocations: 239.4 kB / 0.8039 GB, free: 99.92 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.973e-06/1.305, allocations: 0 / 0.8039 GB, free: 99.92 MB / 0.5606 GB
Notification: Performance of Templates: time 0.0631/1.368, allocations: 39.23 MB / 0.8422 GB, free: 60.95 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Planar.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: 7.6272972375154495]