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.001531/0.001531, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001908/0.001908, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9878/0.9878, allocations: 177 MB / 204.8 MB, free: 5.566 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.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.262e-06/1.262e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.436e-05, allocations: 6.312 kB / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.009231/0.009255, allocations: 10.73 MB / 283.6 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007044/0.0163, allocations: 3.754 MB / 287.4 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.01781, allocations: 75.62 kB / 287.5 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.139/0.1569, allocations: 2.882 MB / 290.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.1615, allocations: 1.868 MB / 292.2 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.1628, allocations: 0.6342 MB / 292.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005252/0.1681, allocations: 3.976 MB / 296.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004329/0.1724, allocations: 3.083 MB / 299.9 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.176, allocations: 2.209 MB / 302.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.1791, allocations: 2.177 MB / 304.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009057/0.18, allocations: 323.1 kB / 304.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.1815, allocations: 0.992 MB / 305.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.1826, allocations: 1.928 MB / 307.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.1843, allocations: 1.207 MB / 308.7 MB, free: 10.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.1883, allocations: 4.278 MB / 313 MB, free: 7.383 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1883, allocations: 0 / 313 MB, free: 7.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1883, allocations: 0 / 313 MB, free: 7.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001851/0.1885, allocations: 0 / 313 MB, free: 7.383 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.009586/0.1981, allocations: 5.607 MB / 318.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1981, allocations: 11.98 kB / 318.6 MB, free: 1.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/0.2021, allocations: 2.32 MB / 321 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/0.2049, allocations: 2.025 MB / 323 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.205, allocations: 225 kB / 323.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.2054, allocations: 303.7 kB / 323.5 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009094/0.2145, allocations: 6.021 MB / 329.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.2146, allocations: 45.33 kB / 329.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.2149, allocations: 143.8 kB / 329.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002217/0.2171, allocations: 1.805 MB / 331.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008039/0.2252, allocations: 3.302 MB / 334.8 MB, free: 1.375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03265/0.2578, allocations: 41.69 MB / 376.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005958/0.2638, allocations: 1.833 MB / 378.3 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007666/0.2645, allocations: 495.6 kB / 378.8 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.2648, allocations: 135.4 kB / 378.9 MB, free: 4.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.2649, allocations: 50.05 kB / 379 MB, free: 4.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 4.008e-06/0.2649, allocations: 3.938 kB / 379 MB, free: 4.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.02198/0.2869, allocations: 9.45 MB / 388.5 MB, free: 10.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.2869, allocations: 145.2 kB / 388.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004165/0.2911, allocations: 3.43 MB / 392 MB, free: 7.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.2912, allocations: 41.7 kB / 392.1 MB, free: 7.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.2929, allocations: 3.294 MB / 395.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.2934, allocations: 0.5851 MB / 395.9 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/0.2945, allocations: 1.275 MB / 397.2 MB, free: 1.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004387/0.295, allocations: 476.8 kB / 397.7 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.296, allocations: 0.5809 MB / 398.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003879/0.2999, allocations: 6.074 MB / 404.3 MB, free: 8.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006052/0.306, allocations: 7.348 MB / 411.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.589e-05/0.3061, allocations: 36 kB / 411.7 MB, free: 14.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.008154/0.3142, allocations: 5.41 MB / 417.1 MB, free: 8.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/0.3143, allocations: 63.98 kB / 417.2 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.3144, allocations: 132 kB / 417.3 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001399/0.3158, allocations: 0.6189 MB / 417.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.3182, allocations: 1.322 MB / 419.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.3217, allocations: 3.232 MB / 422.5 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.3241, allocations: 339.7 kB / 422.8 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.3245, allocations: 368 kB / 423.2 MB, free: 2.754 MB / 378.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.001245/0.3257, allocations: 0.6496 MB / 423.8 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/0.3262, allocations: 348.3 kB / 424.2 MB, free: 1.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.3284, allocations: 1.395 MB / 425.6 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/0.3285, allocations: 16 kB / 425.6 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.3285, allocations: 4 kB / 425.6 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3285, allocations: 15.84 kB / 425.6 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007562/0.336, allocations: 4.729 MB / 430.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.336, allocations: 4 kB / 430.3 MB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/0.3366, allocations: 211.7 kB / 430.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3377, allocations: 445.2 kB / 431 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.3378, allocations: 43.91 kB / 431 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00283/0.3407, allocations: 2.932 MB / 434 MB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3407, allocations: 4 kB / 434 MB, free: 7.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/0.3442, allocations: 2.403 MB / 436.4 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005919/0.3448, allocations: 297.7 kB / 436.7 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.345, allocations: 24 kB / 436.7 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006555/0.3457, allocations: 99.86 kB / 436.8 MB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/0.3459, allocations: 100.4 kB / 436.9 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.3459, allocations: 55.64 kB / 436.9 MB, free: 4.785 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001968/0.3479, allocations: 1.462 MB / 438.4 MB, free: 3.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3479, allocations: 0 / 438.4 MB, free: 3.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003958/0.3519, allocations: 0.9453 MB / 439.3 MB, free: 2.387 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.0004988/0.3524, allocations: 177.6 kB / 439.5 MB, free: 2.207 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.1236/0.476, allocations: 2.787 MB / 442.3 MB, free: 129.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.476, allocations: 0 / 442.3 MB, free: 129.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.4772, allocations: 0.6712 MB / 443 MB, free: 129.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.4795, allocations: 391.1 kB / 443.3 MB, free: 129.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.4916, allocations: 6.767 MB / 450.1 MB, free: 127 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001432/0.493, allocations: 1.145 MB / 451.3 MB, free: 126.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003358/0.4964, allocations: 1.562 MB / 452.8 MB, free: 126.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005945/0.497, allocations: 254.4 kB / 453.1 MB, free: 126.7 MB / 394.7 MB Notification: Performance of SimCode: time 2.014e-06/0.497, allocations: 10.91 kB / 453.1 MB, free: 126.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04099/0.538, allocations: 29.27 MB / 482.4 MB, free: 106.5 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.055665343999863]