Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001817/0.001817, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00218/0.00218, allocations: 218 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.9 MB / 359.4 MB, free: 4.883 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 79.88 kB / 0.4947 GB, free: 8.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3739, allocations: 65.97 MB / 0.5591 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01232/0.3862, allocations: 9.59 MB / 0.5684 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.3947, allocations: 3.863 MB / 0.5722 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.3966, allocations: 55.88 kB / 0.5723 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005231/0.4018, allocations: 2.8 MB / 0.575 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00454/0.4064, allocations: 1.657 MB / 0.5766 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.4082, allocations: 0.7135 MB / 0.5773 GB, free: 2.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006292/0.4145, allocations: 3.891 MB / 0.5811 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004816/0.4193, allocations: 2.557 MB / 0.5836 GB, free: 11.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.4226, allocations: 1.414 MB / 0.585 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004124/0.4267, allocations: 2.041 MB / 0.587 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001547/0.4283, allocations: 316 kB / 0.5873 GB, free: 8.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.4323, allocations: 1.225 MB / 0.5885 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00375/0.4361, allocations: 1.788 MB / 0.5902 GB, free: 5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004295/0.4403, allocations: 2.008 MB / 0.5922 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01004/0.4504, allocations: 6.693 MB / 0.5987 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4504, allocations: 4 kB / 0.5987 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4504, allocations: 0 / 0.5987 GB, free: 12.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001892/0.4506, allocations: 0 / 0.5987 GB, free: 12.26 MB / 446.1 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.01014/0.4607, allocations: 4.453 MB / 0.6031 GB, free: 7.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4608, allocations: 12.03 kB / 0.6031 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/0.476, allocations: 2.467 MB / 0.6055 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006086/0.4821, allocations: 2.469 MB / 0.6079 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4823, allocations: 218 kB / 0.6081 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006782/0.483, allocations: 300 kB / 0.6084 GB, free: 2.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.4977, allocations: 8.72 MB / 0.6169 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000114/0.4978, allocations: 51.62 kB / 0.617 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/0.4982, allocations: 139.9 kB / 0.6171 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00264/0.5008, allocations: 1.653 MB / 0.6187 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.5142, allocations: 7.211 MB / 0.6258 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04623/0.5604, allocations: 33.47 MB / 0.6584 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004965/0.5654, allocations: 2.359 MB / 0.6608 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.5672, allocations: 1.19 MB / 0.6619 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/0.5676, allocations: 323.7 kB / 0.6622 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.5677, allocations: 43.12 kB / 0.6623 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.927e-06/0.5677, allocations: 4 kB / 0.6623 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02934/0.597, allocations: 11.65 MB / 0.6736 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.5972, allocations: 196.6 kB / 0.6738 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005829/0.603, allocations: 3.59 MB / 0.6773 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004027/0.6034, allocations: 45.7 kB / 0.6774 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003436/0.6068, allocations: 2.928 MB / 0.6802 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.608, allocations: 0.5816 MB / 0.6808 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001935/0.6099, allocations: 1.111 MB / 0.6819 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6101, allocations: 313.1 kB / 0.6822 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.6131, allocations: 1.806 MB / 0.684 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00625/0.6194, allocations: 5.186 MB / 0.689 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009622/0.629, allocations: 7.524 MB / 0.6964 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.24e-05/0.6291, allocations: 32 kB / 0.6964 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01285/0.6419, allocations: 7.238 MB / 0.7035 GB, free: 11.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.537e-05/0.642, allocations: 56 kB / 0.7035 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/0.6422, allocations: 116.1 kB / 0.7036 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.6439, allocations: 0.6824 MB / 0.7043 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/0.6476, allocations: 1.228 MB / 0.7055 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/0.6536, allocations: 4.348 MB / 0.7097 GB, free: 4.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/0.6576, allocations: 296.1 kB / 0.71 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008312/0.6584, allocations: 340 kB / 0.7104 GB, free: 4.195 MB / 0.545 GB 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.003902/0.6623, allocations: 1.951 MB / 0.7123 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008681/0.6632, allocations: 317.9 kB / 0.7126 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004951/0.6681, allocations: 2.252 MB / 0.7148 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/0.6681, allocations: 16 kB / 0.7148 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.6682, allocations: 4 kB / 0.7148 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.6682, allocations: 3.984 kB / 0.7148 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/0.6825, allocations: 6.125 MB / 0.7208 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.6826, allocations: 4 kB / 0.7208 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6837, allocations: 219.6 kB / 0.721 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.6852, allocations: 0.5002 MB / 0.7215 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/0.6854, allocations: 27.98 kB / 0.7215 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005205/0.6906, allocations: 3.919 MB / 0.7253 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6906, allocations: 0 / 0.7253 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007463/0.698, allocations: 4.408 MB / 0.7296 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3043/1.002, allocations: 359.9 kB / 0.73 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009225/1.003, allocations: 21.8 kB / 0.73 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.005, allocations: 76.73 kB / 0.7301 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003391/1.005, allocations: 108.1 kB / 0.7302 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.005, allocations: 38.86 kB / 0.7302 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004139/1.009, allocations: 2.23 MB / 0.7324 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.009, allocations: 2.516 kB / 0.7324 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003926/1.013, allocations: 0.8498 MB / 0.7332 GB, free: 152.8 MB / 0.5606 GB 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.000325/1.013, allocations: 150.6 kB / 0.7334 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005433/1.019, allocations: 4.146 MB / 0.7374 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.019, allocations: 3.875 kB / 0.7374 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/1.02, allocations: 1.17 MB / 0.7386 GB, free: 151 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/1.022, allocations: 379.4 kB / 0.7389 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.032, allocations: 8.158 MB / 0.7469 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/1.035, allocations: 3.034 MB / 0.7498 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002926/1.038, allocations: 1.708 MB / 0.7515 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/1.038, allocations: 211.6 kB / 0.7517 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.453e-06/1.038, allocations: 4 kB / 0.7517 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04481/1.083, allocations: 28.67 MB / 0.7797 GB, free: 115.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.058673882856965]