Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.001033/0.001033, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.00116/0.00116, allocations: 169 kB / 24.14 MB, free: 360 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.864/0.864, allocations: 158.6 MB / 186 MB, free: 2.746 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.1315/0.1315, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.935e-05, allocations: 2.312 kB / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1534/0.1534, allocations: 11.94 MB / 311.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007763/0.1612, allocations: 4.021 MB / 315.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.1629, allocations: 69.38 kB / 315.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.165, allocations: 1.385 MB / 316.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.1681, allocations: 1.887 MB / 318.4 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000895/0.169, allocations: 0.5218 MB / 318.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.1722, allocations: 4.008 MB / 323 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.1739, allocations: 2.157 MB / 325.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1755, allocations: 1.902 MB / 327 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.1769, allocations: 1.851 MB / 328.9 MB, free: 348 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.1771, allocations: 240 kB / 329.1 MB, free: 108 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.1783, allocations: 0.94 MB / 330 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009741/0.1793, allocations: 1.749 MB / 331.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009099/0.1802, allocations: 1.039 MB / 332.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.1836, allocations: 4.186 MB / 337 MB, free: 8.164 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1836, allocations: 0 / 337 MB, free: 8.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1836, allocations: 0 / 337 MB, free: 8.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.869e-05/0.1837, allocations: 3.938 kB / 337 MB, free: 8.16 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.003827/0.1875, allocations: 3.97 MB / 341 MB, free: 4.137 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.1876, allocations: 12.03 kB / 341 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/0.1912, allocations: 1.401 MB / 342.4 MB, free: 2.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.1929, allocations: 1.44 MB / 343.8 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.763e-05/0.193, allocations: 198.3 kB / 344 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.1933, allocations: 252.2 kB / 344.3 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00476/0.1981, allocations: 4.559 MB / 348.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.751e-05/0.1981, allocations: 27.77 kB / 348.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003116/0.1984, allocations: 127.8 kB / 349 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002784/0.2012, allocations: 2.234 MB / 351.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005725/0.207, allocations: 2.621 MB / 353.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02663/0.2336, allocations: 26.06 MB / 379.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.2373, allocations: 1.366 MB / 381.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/0.2379, allocations: 326.1 kB / 381.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006716/0.2446, allocations: 3.758 MB / 385.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.2446, allocations: 44.75 kB / 385.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=166): time 3.176e-06/0.2446, allocations: 0 / 385.4 MB, free: 6.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=167): time 0.007825/0.2524, allocations: 3.562 MB / 389 MB, free: 2.602 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.2525, allocations: 68.34 kB / 389 MB, free: 2.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.2547, allocations: 2.441 MB / 391.5 MB, free: 56 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-05/0.2547, allocations: 41.7 kB / 391.5 MB, free: 8 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.2562, allocations: 2.904 MB / 394.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.2566, allocations: 0.6472 MB / 395.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008642/0.2575, allocations: 0.9697 MB / 396 MB, free: 11.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2576, allocations: 357.8 kB / 396.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/0.2587, allocations: 0.6501 MB / 397 MB, free: 10.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.2612, allocations: 3.608 MB / 400.6 MB, free: 5.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/0.2648, allocations: 4.694 MB / 405.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.863e-05/0.2649, allocations: 32 kB / 405.4 MB, free: 15.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=687) (initialization): time 0.003504/0.2684, allocations: 3.432 MB / 408.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.2684, allocations: 55.94 kB / 408.8 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.85e-05/0.2685, allocations: 108 kB / 408.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/0.2688, allocations: 183.6 kB / 409.1 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.2706, allocations: 1.162 MB / 410.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008758/0.2715, allocations: 1.455 MB / 411.7 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.2729, allocations: 192 kB / 411.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.2732, allocations: 280 kB / 412.2 MB, free: 8.051 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * 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],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 (637): * Single equations (assignments): 630 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001023/0.2742, allocations: 0.5318 MB / 412.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.2744, allocations: 167.8 kB / 412.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.2754, allocations: 0.828 MB / 413.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.2754, allocations: 20 kB / 413.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2754, allocations: 0 / 413.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2754, allocations: 7.969 kB / 413.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004334/0.2797, allocations: 3.598 MB / 417.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.2797, allocations: 8.031 kB / 417.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.2803, allocations: 195.7 kB / 417.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/0.2804, allocations: 47.58 kB / 417.6 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.2805, allocations: 31.98 kB / 417.6 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008737/0.2814, allocations: 1.373 MB / 419 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.2814, allocations: 8 kB / 419 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.2828, allocations: 1.249 MB / 420.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/0.2832, allocations: 362.1 kB / 420.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.2833, allocations: 28 kB / 420.6 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.2837, allocations: 28.05 kB / 420.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.2839, allocations: 88.73 kB / 420.8 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.284, allocations: 47.92 kB / 420.8 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007307/0.2847, allocations: 0.8517 MB / 421.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2847, allocations: 0 / 421.7 MB, free: 14.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002285/0.287, allocations: 0.8983 MB / 422.6 MB, free: 13.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.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 (120): * Single equations (assignments): 113 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003762/0.2874, allocations: 175.9 kB / 422.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/0.2896, allocations: 2.105 MB / 424.8 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001007/0.2897, allocations: 59.94 kB / 424.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.2902, allocations: 498.5 kB / 425.4 MB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.2913, allocations: 0.5408 MB / 425.9 MB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/0.2988, allocations: 7.082 MB / 433 MB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009538/0.2998, allocations: 1.182 MB / 434.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008739/0.3006, allocations: 400.7 kB / 434.6 MB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.3013, allocations: 439.2 kB / 435 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.3013, allocations: 0 / 435 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of Templates: time 0.03578/0.337, allocations: 21.46 MB / 456.5 MB, free: 11.36 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.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: 3.7423820411786437]