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.001108/0.001108, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.00262, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007272/0.0007272, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008962/0.001623, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.934/0.934, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09764/1.032, allocations: 53.65 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.2597/0.2597, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02625/0.286, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 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 3.527e-06/3.527e-06, allocations: 3.984 kB / 292.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.871e-05, allocations: 7.438 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01169/0.01172, allocations: 9.14 MB / 302 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009655/0.02138, allocations: 3.907 MB / 305.9 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.02367, allocations: 63.69 kB / 306 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005406/0.02908, allocations: 2.799 MB / 308.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.03359, allocations: 1.699 MB / 310.5 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.03556, allocations: 0.7249 MB / 311.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006114/0.04168, allocations: 4.015 MB / 315.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004804/0.04648, allocations: 2.918 MB / 318.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005735/0.05221, allocations: 2.553 MB / 320.7 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.05614, allocations: 1.96 MB / 322.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001247/0.05738, allocations: 320 kB / 322.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003752/0.06114, allocations: 1.166 MB / 324.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002449/0.06358, allocations: 1.687 MB / 325.8 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.06489, allocations: 0.9542 MB / 326.8 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.06853, allocations: 4.048 MB / 330.8 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.06854, allocations: 0 / 330.8 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.06854, allocations: 0 / 330.8 MB, free: 36 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.293e-05/0.06857, allocations: 0 / 330.8 MB, free: 36 kB / 314.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.004325/0.0729, allocations: 4.933 MB / 335.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.07293, allocations: 12.03 kB / 335.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.07588, allocations: 1.124 MB / 336.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.07764, allocations: 1.713 MB / 338.6 MB, free: 8.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.765e-05/0.07774, allocations: 222 kB / 338.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.07805, allocations: 300.2 kB / 339.1 MB, free: 7.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/0.08193, allocations: 4.368 MB / 343.5 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-05/0.082, allocations: 43.62 kB / 343.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002245/0.08223, allocations: 143.9 kB / 343.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001075/0.0833, allocations: 1.369 MB / 345 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/0.08612, allocations: 2.059 MB / 347.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.1034, allocations: 27.31 MB / 374.4 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.105, allocations: 0.8405 MB / 375.2 MB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.1053, allocations: 215.5 kB / 375.4 MB, free: 1.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002683/0.108, allocations: 2.418 MB / 377.9 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.108, allocations: 43.06 kB / 377.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=101): time 2.274e-06/0.108, allocations: 0 / 377.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.005556/0.1135, allocations: 3.039 MB / 380.9 MB, free: 11.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.1136, allocations: 145 kB / 381.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.1155, allocations: 2.882 MB / 384 MB, free: 8.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.816e-05/0.1155, allocations: 41.7 kB / 384 MB, free: 8.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.1166, allocations: 2.845 MB / 386.8 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.1169, allocations: 496.3 kB / 387.3 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007474/0.1176, allocations: 1.036 MB / 388.4 MB, free: 4.395 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.1177, allocations: 309.1 kB / 388.7 MB, free: 4.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008161/0.1185, allocations: 0.6114 MB / 389.3 MB, free: 3.473 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.1208, allocations: 4.039 MB / 393.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.1246, allocations: 5.513 MB / 398.8 MB, free: 6.367 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-05/0.1246, allocations: 36 kB / 398.9 MB, free: 6.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.003704/0.1284, allocations: 3.602 MB / 402.5 MB, free: 2.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.1284, allocations: 66.17 kB / 402.5 MB, free: 2.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-05/0.1285, allocations: 135.9 kB / 402.7 MB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.1287, allocations: 195.7 kB / 402.9 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.1307, allocations: 1.365 MB / 404.2 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007863/0.1315, allocations: 1.444 MB / 405.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.1331, allocations: 259.8 kB / 405.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.1333, allocations: 292 kB / 406.2 MB, free: 14.88 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.0007388/0.134, allocations: 0.5601 MB / 406.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.1342, allocations: 183.7 kB / 406.9 MB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005869/0.1348, allocations: 0.5203 MB / 407.5 MB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.1348, allocations: 12 kB / 407.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1348, allocations: 4 kB / 407.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.1348, allocations: 7.984 kB / 407.5 MB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.1377, allocations: 2.787 MB / 410.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.1377, allocations: 12.14 kB / 410.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.1382, allocations: 203.7 kB / 410.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.1384, allocations: 258 kB / 410.7 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002606/0.1386, allocations: 204.7 kB / 410.9 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.1387, allocations: 19.98 kB / 411 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005558/0.1392, allocations: 1.217 MB / 412.2 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.1392, allocations: 0 / 412.2 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001/0.1402, allocations: 1.251 MB / 413.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.1404, allocations: 16.16 kB / 413.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.1408, allocations: 47.91 kB / 413.5 MB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1409, allocations: 68.31 kB / 413.6 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.141, allocations: 31.97 kB / 413.6 MB, free: 7.246 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007457/0.1417, allocations: 1.023 MB / 414.6 MB, free: 6.223 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1417, allocations: 3.938 kB / 414.6 MB, free: 6.219 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001933/0.1437, allocations: 0.8358 MB / 415.4 MB, free: 5.383 MB / 410.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.0002595/0.1439, allocations: 148.1 kB / 415.6 MB, free: 5.227 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.1457, allocations: 2.166 MB / 417.8 MB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001486/0.1459, allocations: 100.8 kB / 417.9 MB, free: 2.973 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.1463, allocations: 414.9 kB / 418.3 MB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/0.1482, allocations: 2.418 MB / 420.7 MB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008533/0.1567, allocations: 6.443 MB / 427.1 MB, free: 9.309 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.1576, allocations: 1.107 MB / 428.2 MB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.1586, allocations: 418.8 kB / 428.6 MB, free: 7.766 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007177/0.1594, allocations: 461.2 kB / 429.1 MB, free: 7.312 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1594, allocations: 0 / 429.1 MB, free: 7.312 MB / 426.7 MB Notification: Performance of Templates: time 0.1695/0.3288, allocations: 20.41 MB / 449.5 MB, free: 108.8 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.353295002132654]