Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001412/0.001412, allocations: 88.2 kB / 20.94 MB, free: 3.605 MB / 18.57 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.001904/0.001904, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 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 0.9937/0.9937, allocations: 158.6 MB / 186 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] 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.157/0.157, allocations: 32.37 MB / 270.7 MB, free: 14.79 MB / 266.7 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: 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 3.938 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.342e-05, allocations: 8.281 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01802/0.01805, allocations: 17.84 MB / 365.5 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.03097, allocations: 5.261 MB / 370.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/0.03483, allocations: 131.4 kB / 370.9 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006136/0.04097, allocations: 3.281 MB / 374.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008453/0.04942, allocations: 2.796 MB / 377 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.05254, allocations: 1.158 MB / 378.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01262/0.06516, allocations: 8.646 MB / 386.8 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007305/0.07246, allocations: 4.842 MB / 391.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/0.07893, allocations: 3.672 MB / 395.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003907/0.08283, allocations: 3.963 MB / 399.3 MB, free: 5.961 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000695/0.08353, allocations: 476 kB / 399.7 MB, free: 5.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.08523, allocations: 1.303 MB / 401 MB, free: 4.191 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.08712, allocations: 3.113 MB / 404.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.08895, allocations: 1.935 MB / 406.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005754/0.09471, allocations: 6.854 MB / 412.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.09471, allocations: 4 kB / 412.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.09472, allocations: 0 / 412.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001285/0.09484, allocations: 0 / 412.9 MB, free: 8.246 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.009021/0.1039, allocations: 8.077 MB / 421 MB, free: 84 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1039, allocations: 12.03 kB / 421 MB, free: 72 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009338/0.1132, allocations: 4.677 MB / 425.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00507/0.1183, allocations: 3.642 MB / 429.4 MB, free: 7.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002189/0.1185, allocations: 328.5 kB / 429.7 MB, free: 7.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006614/0.1192, allocations: 432.1 kB / 430.1 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1918/0.311, allocations: 8.706 MB / 438.8 MB, free: 50.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/0.3112, allocations: 57.05 kB / 438.9 MB, free: 50.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004799/0.3117, allocations: 200 kB / 439.1 MB, free: 50.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004057/0.3157, allocations: 3.454 MB / 442.5 MB, free: 50.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.3321, allocations: 5.553 MB / 448.1 MB, free: 50.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05184/0.3839, allocations: 54.76 MB / 0.491 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.3941, allocations: 4.275 MB / 0.4952 GB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003209/0.3974, allocations: 1.418 MB / 0.4966 GB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009128/0.3983, allocations: 0.6174 MB / 0.4972 GB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.3983, allocations: 69.55 kB / 0.4973 GB, free: 4.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=367): time 1.014e-05/0.3983, allocations: 0 / 0.4973 GB, free: 4.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=419): time 0.06709/0.4654, allocations: 25.15 MB / 0.5218 GB, free: 11.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4655, allocations: 120 kB / 0.5219 GB, free: 11.67 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005653/0.4712, allocations: 3.955 MB / 0.5258 GB, free: 7.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009322/0.4721, allocations: 88.52 kB / 0.5259 GB, free: 7.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002632/0.4747, allocations: 4.181 MB / 0.53 GB, free: 3.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002393/0.4771, allocations: 1.616 MB / 0.5316 GB, free: 2.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/0.4798, allocations: 1.654 MB / 0.5332 GB, free: 468 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4799, allocations: 484.7 kB / 0.5336 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002855/0.4828, allocations: 1.234 MB / 0.5348 GB, free: 14.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005814/0.4886, allocations: 6.886 MB / 0.5416 GB, free: 5.402 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.5001, allocations: 8.995 MB / 0.5503 GB, free: 10.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001696/0.5003, allocations: 36 kB / 0.5504 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.01865/0.5189, allocations: 8.756 MB / 0.5589 GB, free: 1.754 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/0.519, allocations: 64.03 kB / 0.559 GB, free: 1.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.5191, allocations: 135.9 kB / 0.5591 GB, free: 1.559 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004597/0.5237, allocations: 1.955 MB / 0.561 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004829/0.5286, allocations: 1.825 MB / 0.5628 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009197/0.5378, allocations: 7.796 MB / 0.5704 GB, free: 5.727 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005701/0.5435, allocations: 0.6352 MB / 0.571 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/0.5448, allocations: 443.9 kB / 0.5715 GB, free: 4.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 592 * Number of states: 0 () * Number of discrete variables: 48 (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 (951): * Single equations (assignments): 943 * 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.002779/0.5475, allocations: 0.7466 MB / 0.5722 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001329/0.5489, allocations: 0.5596 MB / 0.5727 GB, free: 3.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009293/0.5582, allocations: 5.758 MB / 0.5784 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001318/0.5583, allocations: 62.5 kB / 0.5784 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.23e-05/0.5583, allocations: 16.06 kB / 0.5784 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.135e-05/0.5584, allocations: 19.92 kB / 0.5785 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/0.586, allocations: 12.46 MB / 0.5906 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/0.586, allocations: 12 kB / 0.5906 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002053/0.5881, allocations: 0.6834 MB / 0.5913 GB, free: 80 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1992/0.7872, allocations: 1.753 MB / 0.593 GB, free: 157.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008368/0.7881, allocations: 86.16 kB / 0.5931 GB, free: 157.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007087/0.7952, allocations: 6.592 MB / 0.5995 GB, free: 153.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.7952, allocations: 19.59 kB / 0.5996 GB, free: 153.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/0.8059, allocations: 6.64 MB / 0.606 GB, free: 152.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/0.8081, allocations: 1.089 MB / 0.6071 GB, free: 152.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/0.8085, allocations: 79.34 kB / 0.6072 GB, free: 152.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/0.8103, allocations: 454.6 kB / 0.6076 GB, free: 152.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006064/0.8109, allocations: 271.8 kB / 0.6079 GB, free: 152.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/0.8112, allocations: 111.5 kB / 0.608 GB, free: 152.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002166/0.8133, allocations: 1.804 MB / 0.6097 GB, free: 152.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.8133, allocations: 0 / 0.6097 GB, free: 152.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005008/0.8183, allocations: 1.908 MB / 0.6116 GB, free: 152.5 MB / 458.7 MB 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.0005634/0.8189, allocations: 259.9 kB / 0.6119 GB, free: 152.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006843/0.8257, allocations: 5.164 MB / 0.6169 GB, free: 151.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.8257, allocations: 0 / 0.6169 GB, free: 151.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.8282, allocations: 2.169 MB / 0.619 GB, free: 150.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.8303, allocations: 0.6172 MB / 0.6196 GB, free: 150.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.8435, allocations: 12.76 MB / 0.6321 GB, free: 138.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.8448, allocations: 1.876 MB / 0.6339 GB, free: 137.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002953/0.8478, allocations: 2.158 MB / 0.636 GB, free: 134.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009302/0.8487, allocations: 352.4 kB / 0.6364 GB, free: 134.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.823e-06/0.8487, allocations: 0 / 0.6364 GB, free: 134.6 MB / 458.7 MB Notification: Performance of Templates: time 0.07103/0.9198, allocations: 69.2 MB / 0.7039 GB, free: 65.37 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.394490296021104]