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.001458/0.001458, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001611/0.001611, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.492/1.492, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.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 1.353e-06/1.353e-06, allocations: 0 / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.613e-05, allocations: 3.375 kB / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.0129/0.01293, allocations: 9.859 MB / 334.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01028/0.0232, allocations: 3.864 MB / 338.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/0.0253, allocations: 80.94 kB / 338.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007387/0.03268, allocations: 3.248 MB / 342.1 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.03853, allocations: 1.995 MB / 344.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.04076, allocations: 0.9003 MB / 345 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007279/0.04804, allocations: 4.809 MB / 349.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005113/0.05315, allocations: 3.297 MB / 353.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00461/0.05776, allocations: 2.428 MB / 355.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.0616, allocations: 2.221 MB / 357.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009526/0.06256, allocations: 351.9 kB / 358.1 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.06519, allocations: 1.19 MB / 359.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002482/0.06767, allocations: 2.135 MB / 361.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00246/0.07013, allocations: 1.305 MB / 362.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009561/0.07969, allocations: 7.449 MB / 370.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.0797, allocations: 0 / 370.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.0797, allocations: 0 / 370.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002138/0.07991, allocations: 0 / 370.1 MB, free: 7.758 MB / 334.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.01278/0.09269, allocations: 5.114 MB / 375.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.09274, allocations: 15.98 kB / 375.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01034/0.1031, allocations: 2.217 MB / 377.5 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007243/0.1103, allocations: 2.708 MB / 380.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.1106, allocations: 250.3 kB / 380.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/0.1118, allocations: 319.8 kB / 380.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02117/0.133, allocations: 10.47 MB / 391.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.1331, allocations: 43.64 kB / 391.3 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008804/0.134, allocations: 155.9 kB / 391.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003975/0.138, allocations: 2.025 MB / 393.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.1573, allocations: 8.889 MB / 402.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05653/0.2138, allocations: 38.49 MB / 440.8 MB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.2268, allocations: 4.006 MB / 444.8 MB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003478/0.2302, allocations: 2.284 MB / 447.1 MB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01335/0.2436, allocations: 6.323 MB / 453.4 MB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.695e-05/0.2437, allocations: 55.55 kB / 453.5 MB, free: 2.387 MB / 414.1 MB Notification: Performance of pre-optimization done (n=177): time 6.312e-06/0.2437, allocations: 0 / 453.5 MB, free: 2.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=198): time 0.2107/0.4544, allocations: 19.18 MB / 472.7 MB, free: 126.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.739e-05/0.4545, allocations: 182.5 kB / 472.8 MB, free: 126.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00623/0.4607, allocations: 3.989 MB / 476.8 MB, free: 125.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000396/0.4611, allocations: 51.48 kB / 476.9 MB, free: 125.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.4627, allocations: 3.249 MB / 480.1 MB, free: 123.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008576/0.4636, allocations: 0.776 MB / 480.9 MB, free: 123.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002041/0.4656, allocations: 1.271 MB / 482.2 MB, free: 122.6 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.4656, allocations: 302.2 kB / 482.5 MB, free: 122.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/0.469, allocations: 2.376 MB / 484.9 MB, free: 121.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004723/0.4737, allocations: 6.096 MB / 490.9 MB, free: 115.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00781/0.4815, allocations: 9.127 MB / 0.4884 GB, free: 108.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001707/0.4817, allocations: 35.12 kB / 0.4884 GB, free: 108.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=821) (initialization): time 0.0141/0.4958, allocations: 9.212 MB / 0.4974 GB, free: 103.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/0.4959, allocations: 60 kB / 0.4974 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.496, allocations: 128.9 kB / 0.4976 GB, free: 103.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/0.4987, allocations: 1.191 MB / 0.4987 GB, free: 102.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/0.503, allocations: 1.435 MB / 0.5001 GB, free: 100.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007619/0.5106, allocations: 7.141 MB / 0.5071 GB, free: 93.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005022/0.5156, allocations: 383.4 kB / 0.5075 GB, free: 93.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009875/0.5166, allocations: 383.9 kB / 0.5078 GB, free: 92.71 MB / 430.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.004624/0.5212, allocations: 2.174 MB / 0.51 GB, free: 90.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001431/0.5227, allocations: 341.6 kB / 0.5103 GB, free: 90.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006931/0.5296, allocations: 3.961 MB / 0.5142 GB, free: 86.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/0.5296, allocations: 24 kB / 0.5142 GB, free: 86.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.5297, allocations: 10.94 kB / 0.5142 GB, free: 86.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.5297, allocations: 7.969 kB / 0.5142 GB, free: 86.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01566/0.5453, allocations: 8.318 MB / 0.5223 GB, free: 77.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/0.5454, allocations: 4.656 kB / 0.5223 GB, free: 77.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.547, allocations: 323.5 kB / 0.5226 GB, free: 77.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.5497, allocations: 1.022 MB / 0.5236 GB, free: 76.45 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002469/0.55, allocations: 44 kB / 0.5237 GB, free: 76.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007699/0.5577, allocations: 6.731 MB / 0.5302 GB, free: 69.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5577, allocations: 8 kB / 0.5302 GB, free: 69.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009096/0.5668, allocations: 6.944 MB / 0.537 GB, free: 62.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.5678, allocations: 341.5 kB / 0.5374 GB, free: 62.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008685/0.5687, allocations: 32 kB / 0.5374 GB, free: 62.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/0.5709, allocations: 159.2 kB / 0.5375 GB, free: 62.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003616/0.5713, allocations: 132.9 kB / 0.5377 GB, free: 61.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.5714, allocations: 69.3 kB / 0.5377 GB, free: 61.82 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003641/0.5751, allocations: 2.317 MB / 0.54 GB, free: 59.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5751, allocations: 0 / 0.54 GB, free: 59.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005406/0.5805, allocations: 1.14 MB / 0.5411 GB, free: 58.38 MB / 430.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.0006059/0.5811, allocations: 186.3 kB / 0.5413 GB, free: 58.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.5887, allocations: 5.47 MB / 0.5466 GB, free: 52.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.5887, allocations: 4.062 kB / 0.5466 GB, free: 52.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002964/0.5917, allocations: 1.919 MB / 0.5485 GB, free: 50.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.5953, allocations: 411.6 kB / 0.5489 GB, free: 50.41 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.6124, allocations: 10.04 MB / 0.5587 GB, free: 40.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004195/0.6166, allocations: 2.834 MB / 0.5615 GB, free: 37.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004203/0.6208, allocations: 1.951 MB / 0.5634 GB, free: 35.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.6219, allocations: 236.5 kB / 0.5636 GB, free: 35.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6219, allocations: 0 / 0.5636 GB, free: 35.2 MB / 430.1 MB Notification: Performance of Templates: time 0.06005/0.6819, allocations: 34.84 MB / 0.5976 GB, free: 0.8281 MB / 430.1 MB " [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.376173112541437]