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.0009468/0.0009468, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001007/0.001007, allocations: 177.6 kB / 24.92 MB, free: 8.762 MB / 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.9129/0.9129, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2678/0.2678, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.643e-06/1.643e-06, allocations: 0 / 323.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/2.965e-05, allocations: 2.969 kB / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.009603/0.009632, allocations: 9.04 MB / 332.3 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005662/0.01529, allocations: 3.86 MB / 336.1 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007943/0.01609, allocations: 71.62 kB / 336.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.01893, allocations: 2.955 MB / 339.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002537/0.02147, allocations: 1.746 MB / 340.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.02252, allocations: 0.7833 MB / 341.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003153/0.02567, allocations: 4.29 MB / 346 MB, free: 2.895 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.02809, allocations: 3.206 MB / 349.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00257/0.03066, allocations: 2.616 MB / 351.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.03259, allocations: 1.98 MB / 353.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.03295, allocations: 320 kB / 354.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.03416, allocations: 1.139 MB / 355.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.0352, allocations: 1.874 MB / 357.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.03639, allocations: 1.168 MB / 358.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.03948, allocations: 4.407 MB / 362.7 MB, free: 2.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.03949, allocations: 4 kB / 362.7 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.03949, allocations: 0 / 362.7 MB, free: 2.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.022e-05/0.03955, allocations: 0 / 362.7 MB, free: 2.062 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: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.00584/0.04539, allocations: 4.077 MB / 366.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.04543, allocations: 8.031 kB / 366.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/0.04834, allocations: 1.121 MB / 367.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.05047, allocations: 1.725 MB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.594e-05/0.05056, allocations: 218 kB / 369.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.0509, allocations: 296.2 kB / 370.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.05522, allocations: 4.368 MB / 374.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.311e-05/0.05531, allocations: 43.61 kB / 374.5 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.05554, allocations: 147.9 kB / 374.7 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001182/0.05672, allocations: 1.451 MB / 376.1 MB, free: 3.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003475/0.0602, allocations: 2.056 MB / 378.2 MB, free: 1.797 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02118/0.08138, allocations: 27.29 MB / 405.5 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.08318, allocations: 0.8483 MB / 406.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.08347, allocations: 214.9 kB / 406.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003475/0.08694, allocations: 2.434 MB / 408.9 MB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.08697, allocations: 43 kB / 409 MB, free: 1.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 4.188e-06/0.08698, allocations: 0 / 409 MB, free: 1.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.006116/0.09309, allocations: 3.022 MB / 412 MB, free: 14.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.09316, allocations: 196.3 kB / 412.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.09544, allocations: 2.889 MB / 415.1 MB, free: 11.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.09549, allocations: 45.7 kB / 415.1 MB, free: 11.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.09654, allocations: 2.845 MB / 418 MB, free: 8.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.09679, allocations: 492.4 kB / 418.5 MB, free: 8.203 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007506/0.09754, allocations: 1.032 MB / 419.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.09761, allocations: 305.1 kB / 419.8 MB, free: 6.859 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008326/0.09844, allocations: 0.6075 MB / 420.4 MB, free: 6.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.1009, allocations: 4.059 MB / 424.5 MB, free: 408 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.1047, allocations: 5.103 MB / 429.6 MB, free: 9.535 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.394e-05/0.1047, allocations: 36 kB / 429.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.004204/0.1089, allocations: 3.604 MB / 433.2 MB, free: 5.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.109, allocations: 56 kB / 433.3 MB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-05/0.1091, allocations: 127.9 kB / 433.4 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.1094, allocations: 204 kB / 433.6 MB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.1112, allocations: 1.22 MB / 434.8 MB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008623/0.112, allocations: 1.451 MB / 436.3 MB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.1141, allocations: 259.8 kB / 436.5 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002421/0.1143, allocations: 292 kB / 436.8 MB, free: 2.191 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * 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 (670): * Single equations (assignments): 666 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001009/0.1153, allocations: 0.564 MB / 437.4 MB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.1156, allocations: 179.7 kB / 437.5 MB, free: 1.438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006233/0.1162, allocations: 0.5164 MB / 438 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.1162, allocations: 12 kB / 438.1 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1162, allocations: 8 kB / 438.1 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.1162, allocations: 3.984 kB / 438.1 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.1198, allocations: 2.799 MB / 440.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.1198, allocations: 4 kB / 440.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.1203, allocations: 167.9 kB / 441 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.1205, allocations: 204.7 kB / 441.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.1206, allocations: 23.98 kB / 441.3 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006035/0.1212, allocations: 1.21 MB / 442.5 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1212, allocations: 4 kB / 442.5 MB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1222, allocations: 1.244 MB / 443.7 MB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.1226, allocations: 261.9 kB / 444 MB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.1227, allocations: 20 kB / 444 MB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.1232, allocations: 40.05 kB / 444 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1233, allocations: 76.34 kB / 444.1 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.1233, allocations: 23.98 kB / 444.1 MB, free: 10.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008234/0.1242, allocations: 1.027 MB / 445.2 MB, free: 9.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1242, allocations: 0 / 445.2 MB, free: 9.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00253/0.1267, allocations: 0.8319 MB / 446 MB, free: 8.746 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 86 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.127, allocations: 144.1 kB / 446.1 MB, free: 8.598 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.1298, allocations: 2.075 MB / 448.2 MB, free: 6.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001549/0.13, allocations: 92.16 kB / 448.3 MB, free: 6.426 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.1303, allocations: 352 kB / 448.6 MB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.132, allocations: 0.5652 MB / 449.2 MB, free: 5.512 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.153/0.285, allocations: 6.294 MB / 455.5 MB, free: 114.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.2863, allocations: 1.098 MB / 456.6 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001548/0.2879, allocations: 427.9 kB / 457 MB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007999/0.2887, allocations: 467.3 kB / 457.5 MB, free: 114.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2887, allocations: 0 / 457.5 MB, free: 114.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05006/0.3388, allocations: 21.59 MB / 479.1 MB, free: 104.7 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: 3.761040789075196]