Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001867/0.001867, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00228/0.00228, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.537/1.537, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2187/0.2187, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.182e-05, allocations: 5.234 kB / 442.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2282/0.2283, allocations: 8.426 MB / 451.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007422/0.2357, allocations: 3.632 MB / 454.7 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.2374, allocations: 61.12 kB / 454.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005793/0.2431, allocations: 2.824 MB / 457.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00665/0.2498, allocations: 1.72 MB / 459.3 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.2521, allocations: 0.768 MB / 460.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.259, allocations: 4.279 MB / 464.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/0.2629, allocations: 3.022 MB / 467.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.2662, allocations: 2.14 MB / 469.6 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.2692, allocations: 2.022 MB / 471.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008252/0.27, allocations: 319.7 kB / 471.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.2723, allocations: 1.145 MB / 473 MB, free: 4.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.274, allocations: 1.856 MB / 474.9 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001772/0.2758, allocations: 1.165 MB / 476.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009436/0.2852, allocations: 6.777 MB / 482.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.2852, allocations: 0 / 482.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2852, allocations: 4 kB / 482.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002378/0.2854, allocations: 0 / 482.8 MB, free: 13.89 MB / 382.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.01176/0.2972, allocations: 4.375 MB / 487.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2972, allocations: 16.02 kB / 487.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01789/0.3151, allocations: 2.518 MB / 489.7 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006186/0.3213, allocations: 2.396 MB / 492.1 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.3215, allocations: 226 kB / 492.4 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008075/0.3223, allocations: 292.2 kB / 492.6 MB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.3376, allocations: 8.778 MB / 0.4897 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001077/0.3377, allocations: 43.64 kB / 0.4897 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003835/0.3381, allocations: 135.9 kB / 0.4898 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00302/0.3412, allocations: 1.653 MB / 0.4915 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01433/0.3555, allocations: 7.202 MB / 0.4985 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04353/0.399, allocations: 31.41 MB / 0.5292 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/0.4043, allocations: 1.956 MB / 0.5311 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.4063, allocations: 1.19 MB / 0.5322 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/0.4065, allocations: 100.2 kB / 0.5323 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.4066, allocations: 43.06 kB / 0.5324 GB, free: 13.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 4.007e-06/0.4066, allocations: 0 / 0.5324 GB, free: 13.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=140): time 0.03193/0.4385, allocations: 11.73 MB / 0.5438 GB, free: 1.969 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.4387, allocations: 192.6 kB / 0.544 GB, free: 1.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.4439, allocations: 3.52 MB / 0.5475 GB, free: 14.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.4442, allocations: 41.7 kB / 0.5475 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002547/0.4468, allocations: 2.922 MB / 0.5504 GB, free: 11.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008674/0.4476, allocations: 0.5777 MB / 0.5509 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/0.4493, allocations: 1.092 MB / 0.552 GB, free: 9.516 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4495, allocations: 301.1 kB / 0.5523 GB, free: 9.219 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/0.4526, allocations: 1.802 MB / 0.554 GB, free: 7.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006754/0.4594, allocations: 5.237 MB / 0.5591 GB, free: 472 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.4713, allocations: 7.521 MB / 0.5665 GB, free: 7.266 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/0.4714, allocations: 32 kB / 0.5665 GB, free: 7.234 MB / 478.1 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01712/0.4885, allocations: 7.209 MB / 0.5736 GB, free: 20 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.4886, allocations: 56.23 kB / 0.5736 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00015/0.4888, allocations: 124 kB / 0.5737 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.4909, allocations: 0.6766 MB / 0.5744 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004412/0.4953, allocations: 1.232 MB / 0.5756 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/0.5022, allocations: 4.199 MB / 0.5797 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004509/0.5068, allocations: 335.8 kB / 0.58 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008788/0.5076, allocations: 332 kB / 0.5803 GB, free: 8.984 MB / 494.1 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.004111/0.5117, allocations: 1.952 MB / 0.5822 GB, free: 7.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008884/0.5126, allocations: 290 kB / 0.5825 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005148/0.5178, allocations: 2.211 MB / 0.5847 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/0.5178, allocations: 19.92 kB / 0.5847 GB, free: 4.488 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.5178, allocations: 8 kB / 0.5847 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.061e-05/0.5179, allocations: 12.34 kB / 0.5847 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.5298, allocations: 5.285 MB / 0.5899 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.5298, allocations: 11.94 kB / 0.5899 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.5309, allocations: 211.7 kB / 0.5901 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001618/0.5326, allocations: 0.5146 MB / 0.5906 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.5327, allocations: 27.98 kB / 0.5906 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005526/0.5382, allocations: 3.786 MB / 0.5943 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5382, allocations: 8.016 kB / 0.5943 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008107/0.5463, allocations: 4.375 MB / 0.5986 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008333/0.5472, allocations: 285.9 kB / 0.5989 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.5475, allocations: 20 kB / 0.5989 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.5489, allocations: 107.8 kB / 0.599 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.5492, allocations: 108.5 kB / 0.5991 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.5493, allocations: 35.98 kB / 0.5991 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003511/0.5528, allocations: 2.041 MB / 0.6011 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5528, allocations: 4.172 kB / 0.6011 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00478/0.5576, allocations: 0.9217 MB / 0.602 GB, free: 2.559 MB / 0.4981 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.0004908/0.5581, allocations: 155 kB / 0.6022 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01011/0.5682, allocations: 4.146 MB / 0.6062 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5682, allocations: 0 / 0.6062 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.5704, allocations: 1.174 MB / 0.6074 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.5728, allocations: 354.6 kB / 0.6077 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.5884, allocations: 8.052 MB / 0.6156 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003648/0.5921, allocations: 2.487 MB / 0.618 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003902/0.596, allocations: 1.673 MB / 0.6196 GB, free: 452 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/0.5967, allocations: 212.4 kB / 0.6198 GB, free: 240 kB / 0.5137 GB Notification: Performance of SimCode: time 8.61e-07/0.5967, allocations: 0 / 0.6198 GB, free: 240 kB / 0.5137 GB Notification: Performance of Templates: time 0.2404/0.8371, allocations: 25.03 MB / 0.6443 GB, free: 166.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.696025237441063]