Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.0009771/0.0009771, 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.000974/0.000974, 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.8817/0.8817, allocations: 158.6 MB / 186 MB, free: 2.773 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.1531/0.1531, 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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.766e-05, allocations: 2.312 kB / 299.1 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1317/0.1317, allocations: 10.67 MB / 309.8 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008189/0.1399, allocations: 4.105 MB / 313.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.1418, allocations: 66.81 kB / 314 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004185/0.146, allocations: 2.997 MB / 317 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.1507, allocations: 2.01 MB / 319 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1522, allocations: 0.7577 MB / 319.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004904/0.1571, allocations: 4.557 MB / 324.3 MB, free: 5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003121/0.1602, allocations: 3.353 MB / 327.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003742/0.1639, allocations: 2.717 MB / 330.3 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.1672, allocations: 2.319 MB / 332.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009821/0.1682, allocations: 380 kB / 333 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002166/0.1704, allocations: 1.248 MB / 334.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001846/0.1722, allocations: 2.197 MB / 336.5 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.174, allocations: 1.394 MB / 337.9 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005848/0.1799, allocations: 5.13 MB / 343 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1799, allocations: 0 / 343 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1799, allocations: 4 kB / 343 MB, free: 2.137 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.18, allocations: 0 / 343 MB, free: 2.137 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: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.006349/0.1864, allocations: 4.681 MB / 347.7 MB, free: 13.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.1864, allocations: 8.031 kB / 347.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.1913, allocations: 1.257 MB / 349 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002813/0.1941, allocations: 1.894 MB / 350.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.1942, allocations: 254.8 kB / 351.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.1947, allocations: 332.2 kB / 351.4 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006359/0.2011, allocations: 5.039 MB / 356.5 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.462e-05/0.2012, allocations: 40.95 kB / 356.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003341/0.2015, allocations: 163.8 kB / 356.7 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002356/0.2038, allocations: 1.858 MB / 358.5 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005113/0.209, allocations: 2.452 MB / 361 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02643/0.2354, allocations: 30.83 MB / 391.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.2377, allocations: 1.031 MB / 392.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.2381, allocations: 310.2 kB / 393.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004442/0.2425, allocations: 2.996 MB / 396.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.2425, allocations: 51.55 kB / 396.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=152): time 3.086e-06/0.2425, allocations: 0 / 396.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=165): time 0.007555/0.2501, allocations: 3.84 MB / 400 MB, free: 7.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.2502, allocations: 200.9 kB / 400.2 MB, free: 6.773 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002688/0.2529, allocations: 3.063 MB / 403.3 MB, free: 3.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.888e-05/0.2529, allocations: 45.7 kB / 403.3 MB, free: 3.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.2543, allocations: 3.238 MB / 406.6 MB, free: 384 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.2547, allocations: 0.6667 MB / 407.2 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009635/0.2556, allocations: 1.164 MB / 408.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003956/0.256, allocations: 301.1 kB / 408.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/0.2571, allocations: 0.7311 MB / 409.4 MB, free: 13.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003162/0.2603, allocations: 4.458 MB / 413.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.265, allocations: 5.67 MB / 419.6 MB, free: 15.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.996e-05/0.2651, allocations: 40 kB / 419.6 MB, free: 15.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.005184/0.2703, allocations: 4.057 MB / 423.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.2703, allocations: 66.33 kB / 423.7 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.631e-05/0.2704, allocations: 136 kB / 423.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.2707, allocations: 220.2 kB / 424.1 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/0.2733, allocations: 1.454 MB / 425.5 MB, free: 9.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.2745, allocations: 1.475 MB / 427 MB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.2769, allocations: 287.7 kB / 427.3 MB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003254/0.2773, allocations: 327.9 kB / 427.6 MB, free: 7.375 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (768): * Single equations (assignments): 764 * Array equations: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001366/0.2786, allocations: 0.6145 MB / 428.2 MB, free: 6.746 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.279, allocations: 207.8 kB / 428.4 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.2803, allocations: 0.8101 MB / 429.2 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.2803, allocations: 20 kB / 429.2 MB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.2803, allocations: 3.938 kB / 429.2 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.2803, allocations: 7.969 kB / 429.3 MB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005252/0.2856, allocations: 3.511 MB / 432.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2856, allocations: 0 / 432.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008101/0.2864, allocations: 279.6 kB / 433 MB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/0.2867, allocations: 213.4 kB / 433.2 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.2868, allocations: 39.97 kB / 433.3 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.2878, allocations: 1.213 MB / 434.5 MB, free: 288 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2878, allocations: 8.062 kB / 434.5 MB, free: 280 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.2895, allocations: 1.593 MB / 436.1 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/0.2902, allocations: 393.6 kB / 436.5 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.2904, allocations: 31.98 kB / 436.5 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.291, allocations: 39.98 kB / 436.6 MB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.2912, allocations: 104.7 kB / 436.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.2913, allocations: 36.02 kB / 436.7 MB, free: 14.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001022/0.2923, allocations: 1.115 MB / 437.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2923, allocations: 0 / 437.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003226/0.2955, allocations: 1.004 MB / 438.8 MB, free: 11.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.phi,rev.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 (144): * Single equations (assignments): 140 * Array equations: 3 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003465/0.2959, allocations: 156.1 kB / 439 MB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00347/0.2994, allocations: 2.419 MB / 441.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001562/0.2995, allocations: 96.16 kB / 441.5 MB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005792/0.3001, allocations: 0.4969 MB / 442 MB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.3019, allocations: 0.5861 MB / 442.6 MB, free: 8.145 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.3124, allocations: 7.519 MB / 450.1 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.3136, allocations: 1.307 MB / 451.4 MB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001506/0.3151, allocations: 494 kB / 451.9 MB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008476/0.316, allocations: 0.5129 MB / 452.4 MB, free: 14.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/0.316, allocations: 0 / 452.4 MB, free: 14.19 MB / 426.7 MB Notification: Performance of Templates: time 0.1732/0.4892, allocations: 25.4 MB / 477.8 MB, free: 133.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.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.9315659813582897]