Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001424/0.001424, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001479/0.001479, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.459/1.459, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 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.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.784e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01346/0.01349, allocations: 9.674 MB / 281.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008457/0.02195, allocations: 3.648 MB / 285.5 MB, free: 4.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.0234, allocations: 75.62 kB / 285.6 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005635/0.02904, allocations: 2.792 MB / 288.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1228/0.1518, allocations: 1.852 MB / 290.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.1533, allocations: 0.6407 MB / 290.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0046/0.1579, allocations: 3.965 MB / 294.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003258/0.1612, allocations: 3.077 MB / 297.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/0.1639, allocations: 2.198 MB / 300.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.1663, allocations: 2.091 MB / 302.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004621/0.1667, allocations: 320.7 kB / 302.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.1682, allocations: 1.01 MB / 303.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.1693, allocations: 1.922 MB / 305.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.1704, allocations: 1.194 MB / 306.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.1749, allocations: 6.71 MB / 313.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1749, allocations: 0 / 313.4 MB, free: 6.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1749, allocations: 4 kB / 313.4 MB, free: 6.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.175, allocations: 0 / 313.4 MB, free: 6.617 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01472/0.1897, allocations: 5.247 MB / 318.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1898, allocations: 13.86 kB / 318.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007313/0.1971, allocations: 2.397 MB / 321 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006018/0.2031, allocations: 2.201 MB / 323.2 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.2033, allocations: 229.7 kB / 323.5 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008247/0.2041, allocations: 299.6 kB / 323.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.2243, allocations: 10.1 MB / 333.8 MB, free: 1.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.2244, allocations: 40.91 kB / 333.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000454/0.2249, allocations: 153.9 kB / 334 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/0.2284, allocations: 1.804 MB / 335.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.2482, allocations: 9.038 MB / 344.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05199/0.3002, allocations: 35.28 MB / 380.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.3134, allocations: 3.217 MB / 383.4 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.316, allocations: 1.578 MB / 385 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.3165, allocations: 120.5 kB / 385.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.5e-05/0.3166, allocations: 57.84 kB / 385.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=127): time 3.567e-06/0.3166, allocations: 112 / 385.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.04576/0.3624, allocations: 13.37 MB / 398.5 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.3625, allocations: 144.4 kB / 398.6 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006499/0.369, allocations: 3.806 MB / 402.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002879/0.3693, allocations: 50.72 kB / 402.5 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003019/0.3723, allocations: 3.116 MB / 405.6 MB, free: 9.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008893/0.3732, allocations: 0.5572 MB / 406.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001822/0.375, allocations: 1.17 MB / 407.3 MB, free: 8.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3752, allocations: 305.1 kB / 407.6 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003384/0.3786, allocations: 1.963 MB / 409.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00689/0.3854, allocations: 5.656 MB / 415.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.3973, allocations: 8.247 MB / 423.5 MB, free: 4.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001197/0.3975, allocations: 40 kB / 423.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01641/0.4139, allocations: 8.36 MB / 431.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.414, allocations: 68.03 kB / 432 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/0.4141, allocations: 139.9 kB / 432.1 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002767/0.4169, allocations: 0.9195 MB / 433 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004645/0.4215, allocations: 1.33 MB / 434.4 MB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007799/0.4293, allocations: 5.037 MB / 439.4 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/0.4336, allocations: 339.7 kB / 439.7 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008952/0.4345, allocations: 375.2 kB / 440.1 MB, free: 3.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (699): * Single equations (assignments): 695 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003704/0.4382, allocations: 1.99 MB / 442.1 MB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/0.439, allocations: 341.9 kB / 442.4 MB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1373/0.5764, allocations: 2.706 MB / 445.1 MB, free: 131.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-05/0.5764, allocations: 16.22 kB / 445.1 MB, free: 131.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.5765, allocations: 8.062 kB / 445.1 MB, free: 131.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.5765, allocations: 7.047 kB / 445.2 MB, free: 131.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.5886, allocations: 6.119 MB / 451.3 MB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.5886, allocations: 2.906 kB / 451.3 MB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5896, allocations: 222.5 kB / 451.5 MB, free: 129.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.5918, allocations: 0.7321 MB / 452.2 MB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.5919, allocations: 42.31 kB / 452.3 MB, free: 129.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005238/0.5971, allocations: 4.618 MB / 456.9 MB, free: 127.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5971, allocations: 4.438 kB / 456.9 MB, free: 127.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/0.6037, allocations: 5.089 MB / 462 MB, free: 125.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.6044, allocations: 302.7 kB / 462.3 MB, free: 125.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/0.6047, allocations: 23.5 kB / 462.3 MB, free: 125.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.6059, allocations: 101.7 kB / 462.4 MB, free: 125.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.6062, allocations: 100.4 kB / 462.5 MB, free: 125.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.6063, allocations: 48.48 kB / 462.5 MB, free: 125.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003176/0.6095, allocations: 2.215 MB / 464.8 MB, free: 124.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.6095, allocations: 0 / 464.8 MB, free: 124.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004183/0.6137, allocations: 0.95 MB / 465.7 MB, free: 124.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/0.6141, allocations: 166.4 kB / 465.9 MB, free: 124.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00534/0.6194, allocations: 4.533 MB / 470.4 MB, free: 122.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6194, allocations: 0 / 470.4 MB, free: 122.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.6208, allocations: 1.275 MB / 471.7 MB, free: 122.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/0.6228, allocations: 402.8 kB / 472.1 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.6345, allocations: 8.525 MB / 480.6 MB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002317/0.6368, allocations: 2.516 MB / 483.1 MB, free: 110.9 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003313/0.6401, allocations: 1.782 MB / 484.9 MB, free: 109.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/0.6407, allocations: 252.4 kB / 485.1 MB, free: 108.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/0.6407, allocations: 0 / 485.1 MB, free: 108.9 MB / 394.7 MB Notification: Performance of Templates: time 0.04831/0.689, allocations: 29.23 MB / 0.5023 GB, free: 80.2 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.204912857967429]