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.001818/0.001818, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001868/0.001868, allocations: 218.3 kB / 23 MB, free: 5.609 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.447/1.447, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001894/0.001894, allocations: 63.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2507, allocations: 53.33 MB / 429.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01358/0.2643, allocations: 11.26 MB / 441.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.2721, allocations: 4.094 MB / 445.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/0.273, allocations: 71.88 kB / 445.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005495/0.2785, allocations: 3.208 MB / 448.4 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.2827, allocations: 1.933 MB / 450.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.2845, allocations: 0.8265 MB / 451.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006057/0.2905, allocations: 4.405 MB / 455.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003513/0.294, allocations: 2.83 MB / 458.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.2963, allocations: 1.624 MB / 460.1 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.2992, allocations: 2.286 MB / 462.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006191/0.2998, allocations: 344 kB / 462.7 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.3019, allocations: 1.272 MB / 463.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.3038, allocations: 2.045 MB / 466 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0022/0.306, allocations: 2.272 MB / 468.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008605/0.3146, allocations: 7.401 MB / 475.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3146, allocations: 0 / 475.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3146, allocations: 0 / 475.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002092/0.3148, allocations: 0 / 475.7 MB, free: 9.473 MB / 382.1 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.01254/0.3273, allocations: 5.197 MB / 480.9 MB, free: 4.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3274, allocations: 8.031 kB / 480.9 MB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008576/0.336, allocations: 2.158 MB / 483 MB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006612/0.3426, allocations: 2.789 MB / 485.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.3428, allocations: 242.2 kB / 486.1 MB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001163/0.344, allocations: 311.9 kB / 486.4 MB, free: 14.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01831/0.3623, allocations: 10.45 MB / 496.8 MB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/0.3624, allocations: 39.69 kB / 496.8 MB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005169/0.3629, allocations: 155.9 kB / 497 MB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003395/0.3663, allocations: 2.033 MB / 499 MB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/0.3842, allocations: 8.913 MB / 0.496 GB, free: 8.328 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2762/0.6603, allocations: 40.87 MB / 0.5359 GB, free: 90.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.6709, allocations: 4.315 MB / 0.5402 GB, free: 89.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002463/0.6734, allocations: 2.289 MB / 0.5424 GB, free: 89.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009215/0.6826, allocations: 7.37 MB / 0.5496 GB, free: 87.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.6826, allocations: 55.44 kB / 0.5496 GB, free: 87.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=177): time 3.677e-06/0.6826, allocations: 0.7812 kB / 0.5496 GB, free: 87.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=198): time 0.04206/0.7247, allocations: 18.86 MB / 0.5681 GB, free: 75.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.586e-05/0.7248, allocations: 175.5 kB / 0.5682 GB, free: 75.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004765/0.7295, allocations: 4.575 MB / 0.5727 GB, free: 70.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002399/0.7298, allocations: 57.64 kB / 0.5728 GB, free: 70.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.731, allocations: 3.239 MB / 0.5759 GB, free: 67.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/0.7315, allocations: 0.8003 MB / 0.5767 GB, free: 66.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.7328, allocations: 1.282 MB / 0.578 GB, free: 65.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.7328, allocations: 307.1 kB / 0.5782 GB, free: 65.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/0.7353, allocations: 2.382 MB / 0.5806 GB, free: 62.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/0.7388, allocations: 6.081 MB / 0.5865 GB, free: 55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00716/0.746, allocations: 9.145 MB / 0.5954 GB, free: 44.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.836e-05/0.7461, allocations: 36 kB / 0.5955 GB, free: 44.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.01303/0.7591, allocations: 9.293 MB / 0.6046 GB, free: 34.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/0.7592, allocations: 60 kB / 0.6046 GB, free: 34.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.222e-05/0.7593, allocations: 132 kB / 0.6047 GB, free: 34.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00248/0.7617, allocations: 1.196 MB / 0.6059 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/0.7656, allocations: 1.431 MB / 0.6073 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007136/0.7728, allocations: 7.282 MB / 0.6144 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/0.7772, allocations: 355.5 kB / 0.6148 GB, free: 24.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005249/0.7777, allocations: 376 kB / 0.6151 GB, free: 23.84 MB / 446.1 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.002453/0.7801, allocations: 2.182 MB / 0.6172 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/0.7806, allocations: 409.3 kB / 0.6176 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005755/0.7864, allocations: 4.034 MB / 0.6216 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.7864, allocations: 24 kB / 0.6216 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.7864, allocations: 4 kB / 0.6216 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.7865, allocations: 11.95 kB / 0.6216 GB, free: 17.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.7995, allocations: 9.404 MB / 0.6308 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/0.7996, allocations: 4 kB / 0.6308 GB, free: 7.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.8009, allocations: 327.5 kB / 0.6311 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/0.8032, allocations: 1.017 MB / 0.6321 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.8034, allocations: 43.94 kB / 0.6321 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007578/0.811, allocations: 6.884 MB / 0.6389 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.811, allocations: 7.938 kB / 0.6389 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.8227, allocations: 7.055 MB / 0.6458 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/0.8247, allocations: 488.7 kB / 0.6462 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/0.8253, allocations: 40 kB / 0.6463 GB, free: 7.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.8269, allocations: 119.8 kB / 0.6464 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.8273, allocations: 128.9 kB / 0.6465 GB, free: 7.312 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/0.8274, allocations: 67.83 kB / 0.6466 GB, free: 7.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005304/0.8327, allocations: 2.916 MB / 0.6494 GB, free: 4.332 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8327, allocations: 0 / 0.6494 GB, free: 4.332 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005248/0.838, allocations: 1.062 MB / 0.6505 GB, free: 3.273 MB / 462.1 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.0004428/0.8384, allocations: 170.9 kB / 0.6506 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009026/0.8475, allocations: 5.486 MB / 0.656 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8475, allocations: 4.25 kB / 0.656 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003692/0.8512, allocations: 1.93 MB / 0.6579 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002914/0.8541, allocations: 492 kB / 0.6583 GB, free: 11.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/0.8727, allocations: 10.28 MB / 0.6684 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004062/0.8768, allocations: 3.37 MB / 0.6717 GB, free: 13.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004759/0.8815, allocations: 2.029 MB / 0.6736 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009461/0.8825, allocations: 267.4 kB / 0.6739 GB, free: 11.11 MB / 494.1 MB Notification: Performance of SimCode: time 1.674e-06/0.8825, allocations: 0 / 0.6739 GB, free: 11.11 MB / 494.1 MB Notification: Performance of Templates: time 0.08622/0.9687, allocations: 41.01 MB / 0.714 GB, free: 2.312 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.482137999497354]