Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.001423/0.001423, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001046/0.001046, allocations: 163.5 kB / 24.99 MB, free: 8.801 MB / 18.57 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 0.9803/0.9803, allocations: 177 MB / 205.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.949e-05, allocations: 5.125 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.008456/0.008475, allocations: 10.89 MB / 283.9 MB, free: 6.809 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.01309, allocations: 3.971 MB / 287.9 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005386/0.01363, allocations: 75.69 kB / 287.9 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1059/0.1196, allocations: 3.402 MB / 291.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003818/0.1234, allocations: 2.002 MB / 293.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1246, allocations: 0.9024 MB / 294.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004117/0.1287, allocations: 4.81 MB / 299.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/0.1319, allocations: 3.393 MB / 302.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.1344, allocations: 2.434 MB / 304.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.1363, allocations: 2.286 MB / 307.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.1366, allocations: 351.9 kB / 307.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1378, allocations: 1.191 MB / 308.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009442/0.1387, allocations: 2.147 MB / 310.9 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009601/0.1397, allocations: 1.323 MB / 312.2 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.1425, allocations: 4.865 MB / 317 MB, free: 3.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1425, allocations: 0 / 317 MB, free: 3.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1425, allocations: 3.938 kB / 317 MB, free: 3.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.779e-05/0.1425, allocations: 0 / 317 MB, free: 3.738 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1541 * Number of variables: 1541 Notification: Performance of Generate backend data structure: time 0.00495/0.1475, allocations: 5.488 MB / 322.5 MB, free: 14.29 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1475, allocations: 15.98 kB / 322.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.1527, allocations: 2.611 MB / 325.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002745/0.1554, allocations: 2.478 MB / 327.6 MB, free: 9.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.1555, allocations: 244.7 kB / 327.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000361/0.1559, allocations: 319.3 kB / 328.2 MB, free: 8.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006988/0.1629, allocations: 6.362 MB / 334.5 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-05/0.1629, allocations: 42.33 kB / 334.6 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.1632, allocations: 155.7 kB / 334.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/0.1652, allocations: 2.037 MB / 336.8 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006298/0.1715, allocations: 3.538 MB / 340.3 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02552/0.197, allocations: 43.43 MB / 383.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005661/0.2026, allocations: 2.617 MB / 386.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009523/0.2036, allocations: 0.7863 MB / 387.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004763/0.2084, allocations: 4.528 MB / 391.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2084, allocations: 54.39 kB / 391.7 MB, free: 7.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=177): time 3.226e-06/0.2084, allocations: 4 kB / 391.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=198): time 0.02417/0.2326, allocations: 13.72 MB / 405.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.2326, allocations: 179.5 kB / 405.6 MB, free: 9.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.2358, allocations: 3.587 MB / 409.2 MB, free: 6.227 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.2359, allocations: 53.7 kB / 409.3 MB, free: 6.168 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.2376, allocations: 3.414 MB / 412.7 MB, free: 2.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.2381, allocations: 0.8194 MB / 413.5 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.2393, allocations: 1.372 MB / 414.9 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2394, allocations: 480.8 kB / 415.3 MB, free: 104 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.2407, allocations: 0.7578 MB / 416.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003794/0.2445, allocations: 6.253 MB / 422.4 MB, free: 6.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005612/0.2501, allocations: 7.722 MB / 430.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-05/0.2501, allocations: 36 kB / 430.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.007821/0.258, allocations: 6.029 MB / 436.1 MB, free: 6.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.258, allocations: 63.28 kB / 436.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-05/0.2581, allocations: 133.5 kB / 436.3 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.2597, allocations: 0.7998 MB / 437.1 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.2622, allocations: 1.431 MB / 438.6 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1119/0.3741, allocations: 3.914 MB / 442.5 MB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.3773, allocations: 377.9 kB / 442.8 MB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004839/0.3778, allocations: 380.7 kB / 443.2 MB, free: 124.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 46 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (763): * Single equations (assignments): 757 * Array equations: 5 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001298/0.3791, allocations: 0.6653 MB / 443.9 MB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.3795, allocations: 397 kB / 444.3 MB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.3828, allocations: 2.06 MB / 446.3 MB, free: 124.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.358e-05/0.3828, allocations: 25.66 kB / 446.4 MB, free: 124.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.3828, allocations: 6.312 kB / 446.4 MB, free: 124.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.3828, allocations: 12.59 kB / 446.4 MB, free: 124.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008007/0.3909, allocations: 6.035 MB / 452.4 MB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.3909, allocations: 8.562 kB / 452.4 MB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007884/0.3917, allocations: 324.3 kB / 452.7 MB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.393, allocations: 0.6217 MB / 453.4 MB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.3932, allocations: 36.69 kB / 453.4 MB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.3964, allocations: 3.627 MB / 457 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.3964, allocations: 5.656 kB / 457 MB, free: 121.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/0.4002, allocations: 3.337 MB / 460.4 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.4005, allocations: 331.8 kB / 460.7 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002487/0.4007, allocations: 38.59 kB / 460.7 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007908/0.4015, allocations: 153.2 kB / 460.9 MB, free: 120.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.4017, allocations: 133.3 kB / 461 MB, free: 120.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.4018, allocations: 58.12 kB / 461.1 MB, free: 120.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.4032, allocations: 1.535 MB / 462.6 MB, free: 120.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4032, allocations: 0 / 462.6 MB, free: 120.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002778/0.4059, allocations: 1.14 MB / 463.7 MB, free: 120 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (157): * Single equations (assignments): 153 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003287/0.4063, allocations: 195 kB / 463.9 MB, free: 119.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003557/0.4098, allocations: 3.329 MB / 467.3 MB, free: 118.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4098, allocations: 3.75 kB / 467.3 MB, free: 118.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4111, allocations: 1.135 MB / 468.4 MB, free: 118.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4123, allocations: 421.2 kB / 468.8 MB, free: 118.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.4195, allocations: 8.08 MB / 476.9 MB, free: 111.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009275/0.4204, allocations: 1.307 MB / 478.2 MB, free: 110.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001969/0.4223, allocations: 1.649 MB / 479.8 MB, free: 109.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.4228, allocations: 240.4 kB / 480.1 MB, free: 109 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4228, allocations: 0 / 480.1 MB, free: 109 MB / 394.7 MB Notification: Performance of Templates: time 0.04/0.4628, allocations: 35.03 MB / 0.503 GB, free: 74.51 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.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.9009736150037497]