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.001845/0.001845, allocations: 81 kB / 21.25 MB, free: 0.5469 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.001603/0.001603, allocations: 163 kB / 24.5 MB, free: 3.715 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.425/1.425, allocations: 177.1 MB / 204.7 MB, free: 8.961 MB / 190.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.2144/0.2144, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] 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.002424/0.002424, allocations: 79.86 kB / 443.2 MB, free: 6.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2831, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.007507/0.2906, allocations: 8.432 MB / 0.5055 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005772/0.2964, allocations: 3.626 MB / 0.5091 GB, free: 22.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.2974, allocations: 61.06 kB / 0.5091 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003931/0.3014, allocations: 2.695 MB / 0.5117 GB, free: 20.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.305, allocations: 1.65 MB / 0.5134 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3064, allocations: 0.7256 MB / 0.5141 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004936/0.3113, allocations: 3.891 MB / 0.5179 GB, free: 18.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.3142, allocations: 2.747 MB / 0.5205 GB, free: 17.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.316, allocations: 1.431 MB / 0.5219 GB, free: 16.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002539/0.3186, allocations: 1.934 MB / 0.5238 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000612/0.3192, allocations: 313.5 kB / 0.5241 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002011/0.3212, allocations: 1.09 MB / 0.5252 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.3228, allocations: 1.779 MB / 0.5269 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.3242, allocations: 1.492 MB / 0.5284 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.3308, allocations: 6.715 MB / 0.5349 GB, free: 10.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3308, allocations: 9.047 kB / 0.535 GB, free: 10.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3308, allocations: 0 / 0.535 GB, free: 10.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001176/0.3309, allocations: 0 / 0.535 GB, free: 10.45 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.007319/0.3383, allocations: 4.374 MB / 0.5392 GB, free: 7.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.3383, allocations: 8.812 kB / 0.5392 GB, free: 7.391 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/0.3551, allocations: 2.513 MB / 0.5417 GB, free: 6.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006777/0.3618, allocations: 2.413 MB / 0.544 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.362, allocations: 229.5 kB / 0.5443 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001109/0.3631, allocations: 294.1 kB / 0.5445 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.3771, allocations: 8.775 MB / 0.5531 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.3772, allocations: 47.58 kB / 0.5532 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.3776, allocations: 143.9 kB / 0.5533 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.3805, allocations: 1.657 MB / 0.5549 GB, free: 9.656 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01341/0.3939, allocations: 7.195 MB / 0.5619 GB, free: 2.457 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0405/0.4344, allocations: 31.34 MB / 0.5925 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/0.4395, allocations: 1.954 MB / 0.5945 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/0.4416, allocations: 1.188 MB / 0.5956 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003271/0.4419, allocations: 96.23 kB / 0.5957 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.4419, allocations: 43.06 kB / 0.5957 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.827e-06/0.4419, allocations: 0 / 0.5957 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.03053/0.4725, allocations: 11.65 MB / 0.6071 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.4726, allocations: 192.6 kB / 0.6073 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004818/0.4774, allocations: 3.426 MB / 0.6107 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001801/0.4776, allocations: 45.7 kB / 0.6107 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002473/0.4801, allocations: 2.957 MB / 0.6136 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007012/0.4808, allocations: 0.5777 MB / 0.6142 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001626/0.4824, allocations: 1.111 MB / 0.6152 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4825, allocations: 305.1 kB / 0.6155 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002989/0.4855, allocations: 1.802 MB / 0.6173 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006057/0.4916, allocations: 5.237 MB / 0.6224 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/0.5018, allocations: 7.525 MB / 0.6298 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.576e-05/0.5019, allocations: 32.19 kB / 0.6298 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01422/0.5161, allocations: 7.216 MB / 0.6368 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.981e-05/0.5162, allocations: 56 kB / 0.6369 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001252/0.5163, allocations: 120 kB / 0.637 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/0.5181, allocations: 0.6831 MB / 0.6377 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004194/0.5223, allocations: 1.228 MB / 0.6389 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/0.5282, allocations: 4.179 MB / 0.6429 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/0.5319, allocations: 295.8 kB / 0.6432 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005808/0.5325, allocations: 340.3 kB / 0.6436 GB, free: 10.15 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.003233/0.5357, allocations: 1.959 MB / 0.6455 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000551/0.5363, allocations: 286.1 kB / 0.6457 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004683/0.541, allocations: 2.222 MB / 0.6479 GB, free: 5.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.541, allocations: 16 kB / 0.6479 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.541, allocations: 0 / 0.6479 GB, free: 5.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.541, allocations: 11.98 kB / 0.6479 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.552, allocations: 5.228 MB / 0.653 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.552, allocations: 4 kB / 0.653 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.5531, allocations: 219.7 kB / 0.6533 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.5547, allocations: 0.5041 MB / 0.6537 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.5548, allocations: 27.98 kB / 0.6538 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0052/0.56, allocations: 3.766 MB / 0.6574 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.56, allocations: 0 / 0.6574 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007705/0.5677, allocations: 4.371 MB / 0.6617 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009566/0.5686, allocations: 262 kB / 0.662 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.5689, allocations: 20 kB / 0.662 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.5701, allocations: 76.19 kB / 0.6621 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.5703, allocations: 108.4 kB / 0.6622 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.5705, allocations: 39.98 kB / 0.6622 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003313/0.5738, allocations: 1.97 MB / 0.6641 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5738, allocations: 112 / 0.6641 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004338/0.5781, allocations: 0.8592 MB / 0.665 GB, free: 4.008 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.0003892/0.5785, allocations: 139 kB / 0.6651 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007545/0.586, allocations: 4.152 MB / 0.6692 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.586, allocations: 0 / 0.6692 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/0.5881, allocations: 1.17 MB / 0.6703 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.5903, allocations: 338.7 kB / 0.6706 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.606, allocations: 8.109 MB / 0.6785 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003485/0.6095, allocations: 2.482 MB / 0.681 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003938/0.6135, allocations: 1.673 MB / 0.6826 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005536/0.614, allocations: 204.5 kB / 0.6828 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of SimCode: time 9.61e-07/0.614, allocations: 0 / 0.6828 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of Templates: time 0.2703/0.8843, allocations: 23.82 MB / 0.706 GB, free: 164.8 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins1/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: 6.533814806025475]