Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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.001799/0.001799, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002145/0.002145, allocations: 211.1 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2411/0.2411, allocations: 46.96 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.91 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3857, allocations: 66.04 MB / 0.5611 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.0214/0.407, allocations: 15.7 MB / 0.5764 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01448/0.4215, allocations: 5.1 MB / 0.5814 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005585/0.4271, allocations: 123.4 kB / 0.5815 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006891/0.434, allocations: 2.99 MB / 0.5844 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007976/0.442, allocations: 2.63 MB / 0.587 GB, free: 9.488 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002826/0.4448, allocations: 1.03 MB / 0.588 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.4567, allocations: 7.665 MB / 0.5955 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007053/0.4638, allocations: 3.611 MB / 0.599 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005497/0.4693, allocations: 2.293 MB / 0.6013 GB, free: 10.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006758/0.476, allocations: 3.52 MB / 0.6047 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002035/0.478, allocations: 452 kB / 0.6051 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003942/0.482, allocations: 1.202 MB / 0.6063 GB, free: 5.637 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004783/0.4868, allocations: 2.875 MB / 0.6091 GB, free: 2.754 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006007/0.4928, allocations: 2.372 MB / 0.6114 GB, free: 376 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/0.5082, allocations: 10.04 MB / 0.6212 GB, free: 6.289 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5082, allocations: 4 kB / 0.6212 GB, free: 6.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5082, allocations: 0 / 0.6212 GB, free: 6.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005246/0.5087, allocations: 3.938 kB / 0.6212 GB, free: 6.281 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02761/0.5363, allocations: 7.298 MB / 0.6284 GB, free: 14.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.025e-05/0.5364, allocations: 16.03 kB / 0.6284 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/0.5539, allocations: 3.869 MB / 0.6322 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.5656, allocations: 3.963 MB / 0.636 GB, free: 7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003539/0.566, allocations: 320.4 kB / 0.6363 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/0.5682, allocations: 439.8 kB / 0.6368 GB, free: 6.254 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/0.6002, allocations: 15.67 MB / 0.6521 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/0.6005, allocations: 55.59 kB / 0.6521 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006997/0.6012, allocations: 203.8 kB / 0.6523 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00681/0.608, allocations: 3.376 MB / 0.6556 GB, free: 2.203 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03771/0.6457, allocations: 14.76 MB / 0.67 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/0.7475, allocations: 51.23 MB / 0.7201 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/0.767, allocations: 6.936 MB / 0.7268 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007661/0.7747, allocations: 4.484 MB / 0.7312 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.7763, allocations: 0.6419 MB / 0.7318 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.177e-05/0.7764, allocations: 69.02 kB / 0.7319 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 8.095e-06/0.7764, allocations: 0 / 0.7319 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.3716/1.148, allocations: 40.05 MB / 0.771 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.148, allocations: 120 kB / 0.7711 GB, free: 132.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/1.152, allocations: 4.162 MB / 0.7752 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000767/1.153, allocations: 81.7 kB / 0.7753 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.155, allocations: 3.959 MB / 0.7791 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001316/1.156, allocations: 1.559 MB / 0.7807 GB, free: 123 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/1.158, allocations: 1.58 MB / 0.7822 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.356e-05/1.158, allocations: 305.1 kB / 0.7825 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004463/1.162, allocations: 4.076 MB / 0.7865 GB, free: 117.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005691/1.168, allocations: 7.87 MB / 0.7942 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/1.18, allocations: 12.88 MB / 0.8067 GB, free: 92.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-05/1.18, allocations: 36 kB / 0.8068 GB, free: 92.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02412/1.204, allocations: 14.69 MB / 0.8211 GB, free: 77.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/1.204, allocations: 60 kB / 0.8212 GB, free: 77.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/1.204, allocations: 132.1 kB / 0.8213 GB, free: 77.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007475/1.211, allocations: 2.923 MB / 0.8242 GB, free: 74.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00617/1.218, allocations: 1.801 MB / 0.8259 GB, free: 73.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/1.235, allocations: 15.55 MB / 0.8411 GB, free: 57.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006208/1.242, allocations: 0.4948 MB / 0.8416 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/1.243, allocations: 428.1 kB / 0.842 GB, free: 56.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004264/1.247, allocations: 2.883 MB / 0.8448 GB, free: 53.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008518/1.248, allocations: 451.1 kB / 0.8452 GB, free: 53.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/1.265, allocations: 10.89 MB / 0.8559 GB, free: 42.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.495e-05/1.265, allocations: 60 kB / 0.8559 GB, free: 42.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.631e-05/1.265, allocations: 11.94 kB / 0.8559 GB, free: 42 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.42e-05/1.265, allocations: 19.92 kB / 0.856 GB, free: 41.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03422/1.299, allocations: 19.46 MB / 0.875 GB, free: 22.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.299, allocations: 12 kB / 0.875 GB, free: 22.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003464/1.303, allocations: 0.6825 MB / 0.8756 GB, free: 21.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007094/1.31, allocations: 2.725 MB / 0.8783 GB, free: 18.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000712/1.31, allocations: 75.75 kB / 0.8784 GB, free: 18.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/1.326, allocations: 14.17 MB / 0.8922 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/1.326, allocations: 15.94 kB / 0.8922 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0275/1.353, allocations: 15.51 MB / 0.9074 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001505/1.355, allocations: 412.9 kB / 0.9078 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/1.356, allocations: 75.98 kB / 0.9078 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003325/1.36, allocations: 314.8 kB / 0.9081 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.361, allocations: 277.8 kB / 0.9084 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003872/1.361, allocations: 112 kB / 0.9085 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004457/1.366, allocations: 2.429 MB / 0.9109 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/1.366, allocations: 0 / 0.9109 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007417/1.373, allocations: 1.655 MB / 0.9125 GB, free: 15.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007863/1.374, allocations: 226.4 kB / 0.9127 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01726/1.391, allocations: 9.662 MB / 0.9222 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/1.391, allocations: 4 kB / 0.9222 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00742/1.398, allocations: 4.069 MB / 0.9261 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003884/1.402, allocations: 0.6109 MB / 0.9267 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/1.436, allocations: 16.02 MB / 0.9424 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006606/1.442, allocations: 4.037 MB / 0.9463 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.006804/1.449, allocations: 2.678 MB / 0.9489 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/1.451, allocations: 331.3 kB / 0.9492 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of SimCode: time 1.302e-06/1.451, allocations: 0 / 0.9492 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of Templates: time 0.4208/1.872, allocations: 73.64 MB / 1.021 GB, free: 185.7 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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: 9.1338133928366]