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.0009957/0.0009957, allocations: 80.05 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.00105/0.00105, 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.9023/0.9023, allocations: 158.6 MB / 186 MB, free: 2.777 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.1276/0.1276, allocations: 32.38 MB / 270.7 MB, free: 14.61 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.433e-06/1.433e-06, allocations: 0 / 299.1 MB, free: 2.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.416e-05, allocations: 2.312 kB / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.1388/0.1388, allocations: 10.62 MB / 309.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008046/0.1468, allocations: 4.1 MB / 313.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.1485, allocations: 71.28 kB / 313.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003625/0.1521, allocations: 3.04 MB / 316.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00412/0.1562, allocations: 2.038 MB / 318.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1574, allocations: 0.7797 MB / 319.7 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003693/0.1611, allocations: 4.546 MB / 324.3 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002835/0.1639, allocations: 3.471 MB / 327.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.1674, allocations: 2.752 MB / 330.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002673/0.17, allocations: 2.319 MB / 332.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005406/0.1706, allocations: 376 kB / 333.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.1724, allocations: 1.205 MB / 334.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.174, allocations: 2.205 MB / 336.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001636/0.1756, allocations: 1.386 MB / 338 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.1805, allocations: 5.146 MB / 343.1 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1805, allocations: 0 / 343.1 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1805, allocations: 0 / 343.1 MB, free: 2.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.011e-05/0.1806, allocations: 0 / 343.1 MB, free: 2.031 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.005899/0.1865, allocations: 4.672 MB / 347.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1865, allocations: 8.031 kB / 347.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/0.1909, allocations: 1.265 MB / 349.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.1935, allocations: 1.881 MB / 350.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.1937, allocations: 254.8 kB / 351.2 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005544/0.1942, allocations: 336.2 kB / 351.5 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005672/0.1999, allocations: 5.053 MB / 356.6 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.518e-05/0.2, allocations: 39.64 kB / 356.6 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003461/0.2003, allocations: 163.8 kB / 356.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002216/0.2026, allocations: 1.854 MB / 358.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/0.2069, allocations: 2.45 MB / 361.1 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02673/0.2336, allocations: 30.82 MB / 391.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.2354, allocations: 1.037 MB / 392.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003669/0.2358, allocations: 306.3 kB / 393.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003773/0.2396, allocations: 2.993 MB / 396.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.2396, allocations: 51.5 kB / 396.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=152): time 4.549e-06/0.2396, allocations: 4 kB / 396.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=165): time 0.007026/0.2467, allocations: 3.843 MB / 400.1 MB, free: 6.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.2467, allocations: 200.9 kB / 400.3 MB, free: 6.672 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.2493, allocations: 3.067 MB / 403.4 MB, free: 3.594 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/0.2493, allocations: 49.7 kB / 403.4 MB, free: 3.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.2505, allocations: 3.23 MB / 406.7 MB, free: 280 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/0.2509, allocations: 0.6708 MB / 407.3 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008681/0.2518, allocations: 1.164 MB / 408.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.2519, allocations: 304.9 kB / 408.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.253, allocations: 0.7272 MB / 409.5 MB, free: 13.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/0.2558, allocations: 4.458 MB / 414 MB, free: 7.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/0.2601, allocations: 5.671 MB / 419.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.531e-05/0.2601, allocations: 40 kB / 419.7 MB, free: 15.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.004797/0.2649, allocations: 4.057 MB / 423.8 MB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.296e-05/0.265, allocations: 66.34 kB / 423.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.046e-05/0.2651, allocations: 136 kB / 424 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.2654, allocations: 212 kB / 424.2 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.2676, allocations: 1.404 MB / 425.6 MB, free: 9.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008416/0.2684, allocations: 1.463 MB / 427 MB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.2705, allocations: 287.8 kB / 427.3 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003114/0.2708, allocations: 324 kB / 427.6 MB, free: 7.344 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.001225/0.2721, allocations: 0.6186 MB / 428.2 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004308/0.2725, allocations: 211.7 kB / 428.4 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009335/0.2734, allocations: 0.8061 MB / 429.3 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.2735, allocations: 20 kB / 429.3 MB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2735, allocations: 4 kB / 429.3 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.2735, allocations: 7.969 kB / 429.3 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/0.2777, allocations: 3.519 MB / 432.8 MB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.2777, allocations: 4 kB / 432.8 MB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.2783, allocations: 251.6 kB / 433.1 MB, free: 1.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/0.2786, allocations: 217.3 kB / 433.3 MB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/0.2787, allocations: 31.98 kB / 433.3 MB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005579/0.2793, allocations: 1.217 MB / 434.5 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2793, allocations: 0 / 434.5 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.2809, allocations: 1.593 MB / 436.1 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.2814, allocations: 389.7 kB / 436.5 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.2816, allocations: 31.98 kB / 436.5 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/0.2821, allocations: 43.98 kB / 436.6 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.2823, allocations: 108.7 kB / 436.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.2823, allocations: 39.97 kB / 436.7 MB, free: 14.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008601/0.2832, allocations: 1.095 MB / 437.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2832, allocations: 3.938 kB / 437.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002482/0.2857, allocations: 1.004 MB / 438.8 MB, free: 11.91 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.0003318/0.286, allocations: 168 kB / 439 MB, free: 11.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.2885, allocations: 2.419 MB / 441.4 MB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001472/0.2886, allocations: 92.16 kB / 441.5 MB, free: 9.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004952/0.2891, allocations: 0.498 MB / 442 MB, free: 8.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.2906, allocations: 0.5986 MB / 442.6 MB, free: 8.129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009684/0.3003, allocations: 7.513 MB / 450.1 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.3014, allocations: 1.307 MB / 451.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001265/0.3026, allocations: 494 kB / 451.9 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/0.3034, allocations: 0.509 MB / 452.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3034, allocations: 0 / 452.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of Templates: time 0.1625/0.4658, allocations: 25.41 MB / 477.8 MB, free: 133.8 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 -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: 4.069703420158476]