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.001802/0.001802, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002142/0.002142, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 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 1.483/1.483, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2237/0.2237, allocations: 32.37 MB / 270 MB, free: 14.78 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.423e-06/1.423e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.676e-05, allocations: 2.312 kB / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.00886/0.008887, allocations: 9.889 MB / 356.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009846/0.01873, allocations: 3.863 MB / 360.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.02051, allocations: 71.69 kB / 360.8 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00657/0.02708, allocations: 2.947 MB / 363.7 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006286/0.03336, allocations: 2.014 MB / 365.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002169/0.03553, allocations: 0.7794 MB / 366.5 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008595/0.04413, allocations: 4.558 MB / 371.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00632/0.05045, allocations: 3.366 MB / 374.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00597/0.05642, allocations: 2.44 MB / 376.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005087/0.0615, allocations: 2.377 MB / 379.2 MB, free: 9.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.06263, allocations: 384 kB / 379.6 MB, free: 8.949 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.06536, allocations: 1.213 MB / 380.8 MB, free: 7.734 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002696/0.06806, allocations: 2.186 MB / 383 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.07063, allocations: 1.382 MB / 384.4 MB, free: 4.156 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.08277, allocations: 8.033 MB / 392.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.08278, allocations: 8 kB / 392.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.08278, allocations: 0 / 392.4 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002351/0.08302, allocations: 0 / 392.4 MB, free: 12.09 MB / 330.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.01342/0.09643, allocations: 5.041 MB / 397.5 MB, free: 6.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.09647, allocations: 8.031 kB / 397.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0184/0.1149, allocations: 3.154 MB / 400.6 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/0.1224, allocations: 2.674 MB / 403.3 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.1227, allocations: 254.8 kB / 403.6 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001399/0.1241, allocations: 328.2 kB / 403.9 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02289/0.147, allocations: 10.53 MB / 414.4 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.1472, allocations: 43.62 kB / 414.5 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005455/0.1477, allocations: 167.8 kB / 414.6 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.1518, allocations: 2.092 MB / 416.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/0.1707, allocations: 8.716 MB / 425.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2119/0.3827, allocations: 36.17 MB / 461.6 MB, free: 77.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005933/0.3886, allocations: 2.451 MB / 464.1 MB, free: 77.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.3909, allocations: 1.607 MB / 465.7 MB, free: 77.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.3914, allocations: 120.6 kB / 465.8 MB, free: 77.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.3915, allocations: 53.45 kB / 465.8 MB, free: 77.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=177): time 5.841e-06/0.3915, allocations: 0 / 465.8 MB, free: 77.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=195): time 0.03368/0.4251, allocations: 15.48 MB / 481.3 MB, free: 70.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.4252, allocations: 200.8 kB / 481.5 MB, free: 70.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/0.4292, allocations: 3.748 MB / 485.3 MB, free: 67.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/0.4296, allocations: 57.7 kB / 485.3 MB, free: 66.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.431, allocations: 3.312 MB / 488.6 MB, free: 63.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006551/0.4316, allocations: 0.7655 MB / 489.4 MB, free: 63.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.4329, allocations: 1.232 MB / 490.6 MB, free: 61.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.433, allocations: 305.1 kB / 490.9 MB, free: 61.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002896/0.4359, allocations: 2.296 MB / 493.2 MB, free: 59.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/0.4401, allocations: 6.015 MB / 499.2 MB, free: 51.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008826/0.4489, allocations: 8.882 MB / 0.4962 GB, free: 41.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001253/0.449, allocations: 40 kB / 0.4962 GB, free: 40.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.01471/0.4637, allocations: 8.851 MB / 0.5049 GB, free: 32.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.4639, allocations: 63.94 kB / 0.5049 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/0.4641, allocations: 128 kB / 0.5051 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.4659, allocations: 0.7255 MB / 0.5058 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004631/0.4705, allocations: 1.45 MB / 0.5072 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.4749, allocations: 4.23 MB / 0.5113 GB, free: 25.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/0.48, allocations: 395.6 kB / 0.5117 GB, free: 25.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/0.481, allocations: 376 kB / 0.5121 GB, free: 24.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 (762): * Single equations (assignments): 758 * 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.004048/0.4851, allocations: 2.242 MB / 0.5142 GB, free: 22.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/0.4862, allocations: 369.9 kB / 0.5146 GB, free: 22.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006066/0.4923, allocations: 3.303 MB / 0.5178 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/0.4923, allocations: 20 kB / 0.5178 GB, free: 18.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/0.4924, allocations: 8 kB / 0.5179 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/0.4924, allocations: 11.97 kB / 0.5179 GB, free: 18.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.5076, allocations: 7.112 MB / 0.5248 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.567e-05/0.5076, allocations: 0 / 0.5248 GB, free: 11.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/0.5094, allocations: 351.5 kB / 0.5251 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.5109, allocations: 0.5353 MB / 0.5257 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/0.5111, allocations: 35.97 kB / 0.5257 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/0.5149, allocations: 3.83 MB / 0.5294 GB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5149, allocations: 3.938 kB / 0.5294 GB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008546/0.5235, allocations: 6.18 MB / 0.5355 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/0.5254, allocations: 0.5913 MB / 0.5361 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008568/0.5262, allocations: 28 kB / 0.5361 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002161/0.5284, allocations: 167.8 kB / 0.5362 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004949/0.5289, allocations: 138 kB / 0.5364 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/0.5291, allocations: 51.98 kB / 0.5364 GB, free: 15.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004792/0.5339, allocations: 2.182 MB / 0.5386 GB, free: 13.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5339, allocations: 0 / 0.5386 GB, free: 13.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006149/0.54, allocations: 1.105 MB / 0.5396 GB, free: 12.28 MB / 394.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 (165): * Single equations (assignments): 161 * 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.0008055/0.5408, allocations: 182.2 kB / 0.5398 GB, free: 12.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01109/0.5519, allocations: 5.25 MB / 0.5449 GB, free: 6.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5519, allocations: 3.938 kB / 0.5449 GB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003447/0.5554, allocations: 1.666 MB / 0.5466 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/0.5587, allocations: 390.3 kB / 0.5469 GB, free: 4.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02248/0.5812, allocations: 9.92 MB / 0.5566 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005302/0.5865, allocations: 2.935 MB / 0.5595 GB, free: 7.848 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005365/0.5919, allocations: 1.945 MB / 0.5614 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009078/0.5928, allocations: 236.4 kB / 0.5616 GB, free: 5.668 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5928, allocations: 4 kB / 0.5616 GB, free: 5.664 MB / 410.7 MB Notification: Performance of Templates: time 0.07002/0.6628, allocations: 29.11 MB / 0.5901 GB, free: 8.707 MB / 442.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.730144959059544]