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.0009611/0.0009611, 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.0009905/0.0009905, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.9563/0.9563, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2798/0.2798, allocations: 32.8 MB / 294.6 MB, free: 1.18 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.893e-06/1.893e-06, allocations: 3.938 kB / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.874e-05, allocations: 5.156 kB / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01113/0.01116, allocations: 9.069 MB / 332.4 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00572/0.01688, allocations: 3.863 MB / 336.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008789/0.01776, allocations: 63.75 kB / 336.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002811/0.02057, allocations: 2.912 MB / 339.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.02313, allocations: 1.715 MB / 340.9 MB, free: 7.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.02423, allocations: 0.7716 MB / 341.7 MB, free: 7.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003477/0.0277, allocations: 4.284 MB / 346 MB, free: 2.863 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/0.03048, allocations: 3.097 MB / 349.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.03326, allocations: 2.585 MB / 351.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.03537, allocations: 1.983 MB / 353.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004046/0.03577, allocations: 316 kB / 353.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.03719, allocations: 1.178 MB / 355.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.03855, allocations: 1.87 MB / 357 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008805/0.03943, allocations: 1.172 MB / 358.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.04305, allocations: 4.411 MB / 362.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.04305, allocations: 3.984 kB / 362.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.04305, allocations: 0 / 362.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.565e-05/0.04311, allocations: 0 / 362.6 MB, free: 2.129 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.003937/0.04705, allocations: 4.081 MB / 366.7 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.04708, allocations: 8.031 kB / 366.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002958/0.05004, allocations: 1.124 MB / 367.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.0518, allocations: 1.713 MB / 369.5 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003791/0.05218, allocations: 218 kB / 369.7 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.05249, allocations: 288.2 kB / 370 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/0.05631, allocations: 4.383 MB / 374.4 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.926e-05/0.05638, allocations: 51.55 kB / 374.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.0566, allocations: 131.9 kB / 374.6 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00115/0.05775, allocations: 1.455 MB / 376 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002885/0.06064, allocations: 2.054 MB / 378.1 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.0777, allocations: 27.29 MB / 405.4 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.07929, allocations: 0.8593 MB / 406.2 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.07955, allocations: 204.9 kB / 406.4 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00266/0.08221, allocations: 2.43 MB / 408.8 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.08224, allocations: 47 kB / 408.9 MB, free: 1.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 2.274e-06/0.08224, allocations: 0 / 408.9 MB, free: 1.898 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.005709/0.08795, allocations: 3.023 MB / 411.9 MB, free: 14.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.08801, allocations: 196.4 kB / 412.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002197/0.09021, allocations: 2.886 MB / 415 MB, free: 11.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/0.09026, allocations: 45.64 kB / 415 MB, free: 11.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.09134, allocations: 2.844 MB / 417.9 MB, free: 8.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.09159, allocations: 492.4 kB / 418.4 MB, free: 8.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007659/0.09236, allocations: 1.032 MB / 419.4 MB, free: 7.227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003316/0.09269, allocations: 309.1 kB / 419.7 MB, free: 6.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008547/0.09354, allocations: 0.6075 MB / 420.3 MB, free: 6.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.09579, allocations: 4.043 MB / 424.3 MB, free: 488 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.09931, allocations: 5.113 MB / 429.5 MB, free: 9.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/0.09935, allocations: 36 kB / 429.5 MB, free: 9.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.00349/0.1028, allocations: 3.598 MB / 433.1 MB, free: 5.953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/0.1029, allocations: 56 kB / 433.1 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.2e-05/0.103, allocations: 131.9 kB / 433.3 MB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.1032, allocations: 200.3 kB / 433.5 MB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.1051, allocations: 1.279 MB / 434.7 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007925/0.1059, allocations: 1.455 MB / 436.2 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.1074, allocations: 251.7 kB / 436.4 MB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.1077, allocations: 296 kB / 436.7 MB, free: 2.203 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.0008685/0.1086, allocations: 0.5601 MB / 437.3 MB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.1088, allocations: 183.8 kB / 437.5 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006842/0.1095, allocations: 0.5241 MB / 438 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.1095, allocations: 12 kB / 438 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1095, allocations: 4 kB / 438 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1095, allocations: 3.984 kB / 438 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.1125, allocations: 2.791 MB / 440.8 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.1125, allocations: 4 kB / 440.8 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.113, allocations: 195.6 kB / 441 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.1133, allocations: 204.9 kB / 441.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.1133, allocations: 23.98 kB / 441.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006972/0.114, allocations: 1.21 MB / 442.4 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.114, allocations: 4 kB / 442.4 MB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1151, allocations: 1.25 MB / 443.7 MB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.1153, allocations: 257.9 kB / 443.9 MB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.1155, allocations: 20 kB / 444 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/0.1161, allocations: 35.92 kB / 444 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.1162, allocations: 72.36 kB / 444.1 MB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.395e-05/0.1163, allocations: 27.98 kB / 444.1 MB, free: 10.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008164/0.1171, allocations: 1.031 MB / 445.1 MB, free: 9.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1171, allocations: 0 / 445.1 MB, free: 9.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002162/0.1193, allocations: 0.8319 MB / 446 MB, free: 8.738 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.0002687/0.1195, allocations: 144.1 kB / 446.1 MB, free: 8.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.1214, allocations: 2.065 MB / 448.2 MB, free: 6.531 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000141/0.1216, allocations: 92.16 kB / 448.3 MB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.1219, allocations: 360.8 kB / 448.6 MB, free: 6.059 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.1232, allocations: 0.5601 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.1341/0.2573, allocations: 6.295 MB / 455.5 MB, free: 114.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008173/0.2581, allocations: 1.1 MB / 456.6 MB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001038/0.2591, allocations: 426.2 kB / 457 MB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/0.2597, allocations: 466.5 kB / 457.4 MB, free: 114.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2597, allocations: 0 / 457.4 MB, free: 114.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03027/0.29, allocations: 21.61 MB / 479 MB, free: 104.5 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 -s gbode -gbm=radauIIA3 -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.7546548969112337]