Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0009269/0.0009269, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009252/0.0009252, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9738/0.9738, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2638/0.2638, allocations: 32.81 MB / 294.3 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.25e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01054/0.01057, allocations: 9.246 MB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007296/0.01787, allocations: 3.757 MB / 389 MB, free: 7.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.01958, allocations: 63.75 kB / 389.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.02399, allocations: 2.967 MB / 392.1 MB, free: 4.543 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004388/0.02838, allocations: 1.723 MB / 393.8 MB, free: 2.812 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.02994, allocations: 0.7794 MB / 394.6 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005594/0.03554, allocations: 4.284 MB / 398.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00397/0.03951, allocations: 3.127 MB / 402 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.04367, allocations: 2.14 MB / 404.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.04689, allocations: 2.085 MB / 406.2 MB, free: 6.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009075/0.0478, allocations: 316 kB / 406.5 MB, free: 6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.0499, allocations: 1.143 MB / 407.7 MB, free: 4.855 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001878/0.05178, allocations: 1.874 MB / 409.5 MB, free: 2.977 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002121/0.0539, allocations: 1.168 MB / 410.7 MB, free: 1.805 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006786/0.06069, allocations: 4.41 MB / 415.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.06069, allocations: 0 / 415.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.0607, allocations: 0 / 415.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002007/0.0609, allocations: 0 / 415.1 MB, free: 13.38 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.008294/0.06919, allocations: 4.741 MB / 419.8 MB, free: 8.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.06924, allocations: 8.031 kB / 419.9 MB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008554/0.0778, allocations: 2.889 MB / 422.7 MB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004427/0.08222, allocations: 2.24 MB / 425 MB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.08241, allocations: 222 kB / 425.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007059/0.08312, allocations: 292.2 kB / 425.5 MB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009015/0.09213, allocations: 5.269 MB / 430.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.09224, allocations: 35.7 kB / 430.8 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004083/0.09265, allocations: 143.9 kB / 430.9 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002093/0.09474, allocations: 1.657 MB / 432.6 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006115/0.1009, allocations: 2.57 MB / 435.2 MB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2079/0.3088, allocations: 38 MB / 473.2 MB, free: 51.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.3117, allocations: 1.015 MB / 474.2 MB, free: 51.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.3124, allocations: 407.1 kB / 474.6 MB, free: 51.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002324/0.3127, allocations: 90.16 kB / 474.7 MB, free: 51.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.3127, allocations: 53.94 kB / 474.7 MB, free: 51.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.378e-06/0.3127, allocations: 0 / 474.7 MB, free: 51.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01721/0.3299, allocations: 7.678 MB / 482.4 MB, free: 48.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.33, allocations: 197.1 kB / 482.6 MB, free: 48.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.3332, allocations: 3.167 MB / 485.7 MB, free: 48.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.93e-05/0.3333, allocations: 42.33 kB / 485.8 MB, free: 48.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.3346, allocations: 3.102 MB / 488.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/0.3351, allocations: 0.5979 MB / 489.5 MB, free: 45.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001099/0.3362, allocations: 1.194 MB / 490.7 MB, free: 45.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.483e-05/0.3362, allocations: 479.6 kB / 491.1 MB, free: 44.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009973/0.3372, allocations: 0.5437 MB / 491.7 MB, free: 44.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002606/0.3398, allocations: 5.61 MB / 497.3 MB, free: 37.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00397/0.3438, allocations: 6.719 MB / 0.4922 GB, free: 30.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-05/0.3438, allocations: 35.59 kB / 0.4922 GB, free: 30.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.00664/0.3505, allocations: 4.851 MB / 0.497 GB, free: 29.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.263e-05/0.3506, allocations: 57.09 kB / 0.497 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.3507, allocations: 122.5 kB / 0.4971 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3517, allocations: 479.2 kB / 0.4976 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/0.3541, allocations: 1.23 MB / 0.4988 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.3568, allocations: 3.02 MB / 0.5018 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003025/0.3598, allocations: 319.8 kB / 0.5021 GB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004704/0.3603, allocations: 335.5 kB / 0.5024 GB, free: 26.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (663): * Single equations (assignments): 659 * 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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001271/0.3616, allocations: 0.6049 MB / 0.503 GB, free: 26.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005149/0.3621, allocations: 329.8 kB / 0.5033 GB, free: 25.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.3639, allocations: 1.1 MB / 0.5044 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.3639, allocations: 15.88 kB / 0.5044 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.3639, allocations: 7.031 kB / 0.5044 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.364, allocations: 7.969 kB / 0.5044 GB, free: 25.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/0.3705, allocations: 4.311 MB / 0.5086 GB, free: 23.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3705, allocations: 3.938 kB / 0.5086 GB, free: 23.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.371, allocations: 203.4 kB / 0.5088 GB, free: 23.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007482/0.3718, allocations: 300.8 kB / 0.5091 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/0.3719, allocations: 29.62 kB / 0.5091 GB, free: 23.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.3737, allocations: 2.714 MB / 0.5118 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.3737, allocations: 3.156 kB / 0.5118 GB, free: 21.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.3764, allocations: 2.068 MB / 0.5138 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.3769, allocations: 272.6 kB / 0.514 GB, free: 20.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.3771, allocations: 22.06 kB / 0.5141 GB, free: 20.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.3778, allocations: 95.12 kB / 0.5142 GB, free: 20.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.378, allocations: 112.4 kB / 0.5143 GB, free: 20.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.305e-05/0.378, allocations: 38.59 kB / 0.5143 GB, free: 20.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001703/0.3797, allocations: 1.347 MB / 0.5156 GB, free: 19.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3797, allocations: 4.031 kB / 0.5156 GB, free: 19.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00357/0.3833, allocations: 0.9152 MB / 0.5165 GB, free: 19.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (107): * Single equations (assignments): 103 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000398/0.3837, allocations: 164.1 kB / 0.5167 GB, free: 19.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004273/0.388, allocations: 2.608 MB / 0.5192 GB, free: 18.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.388, allocations: 0 / 0.5192 GB, free: 18.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.3887, allocations: 0.6389 MB / 0.5198 GB, free: 18.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3903, allocations: 367.3 kB / 0.5202 GB, free: 18.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008833/0.3991, allocations: 6.534 MB / 0.5266 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.4002, allocations: 1.13 MB / 0.5277 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002333/0.4025, allocations: 1.447 MB / 0.5291 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.403, allocations: 207 kB / 0.5293 GB, free: 12.2 MB / 410.7 MB Notification: Performance of SimCode: time 2.164e-06/0.403, allocations: 0 / 0.5293 GB, free: 12.2 MB / 410.7 MB Notification: Performance of Templates: time 0.03649/0.4395, allocations: 25.18 MB / 0.5539 GB, free: 6.555 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.2786347372457385]