Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008437/0.0008437, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003327/0.003327, allocations: 160.3 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8698/0.8698, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.919e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.006935/0.006954, allocations: 9.687 MB / 335.5 MB, free: 5.695 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005021/0.01197, allocations: 3.657 MB / 339.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006927/0.01267, allocations: 75.62 kB / 339.2 MB, free: 1.953 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.01512, allocations: 2.741 MB / 342 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.01739, allocations: 1.862 MB / 343.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007218/0.01811, allocations: 0.6315 MB / 344.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.02067, allocations: 3.972 MB / 348.5 MB, free: 8.715 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.02264, allocations: 2.989 MB / 351.4 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.02435, allocations: 2.198 MB / 353.6 MB, free: 3.461 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.02586, allocations: 2.108 MB / 355.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.02612, allocations: 324 kB / 356.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009704/0.02709, allocations: 0.9829 MB / 357.1 MB, free: 48 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009351/0.02803, allocations: 1.917 MB / 359 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.02893, allocations: 1.199 MB / 360.2 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003949/0.03288, allocations: 6.701 MB / 366.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.03288, allocations: 0 / 366.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03288, allocations: 0 / 366.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.898e-05/0.03292, allocations: 0 / 366.9 MB, free: 6.199 MB / 330.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.00791/0.04083, allocations: 5.257 MB / 372.1 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.04087, allocations: 8.031 kB / 372.1 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/0.04413, allocations: 1.909 MB / 374 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.04652, allocations: 2.185 MB / 376.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-05/0.04661, allocations: 225.8 kB / 376.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/0.04696, allocations: 303.8 kB / 376.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009172/0.05613, allocations: 10.1 MB / 386.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.725e-05/0.0562, allocations: 47.64 kB / 386.9 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.05648, allocations: 147.9 kB / 387 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001792/0.05827, allocations: 1.805 MB / 388.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.06871, allocations: 9.044 MB / 397.9 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.09607, allocations: 35.53 MB / 433.4 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/0.1026, allocations: 3.233 MB / 436.6 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.1039, allocations: 1.583 MB / 438.2 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.1042, allocations: 128.4 kB / 438.4 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1042, allocations: 43.22 kB / 438.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 4.008e-06/0.1042, allocations: 0 / 438.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=133): time 0.188/0.2922, allocations: 13.36 MB / 451.8 MB, free: 113.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.2923, allocations: 144.6 kB / 451.9 MB, free: 113.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003653/0.2959, allocations: 3.818 MB / 455.7 MB, free: 112.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.2962, allocations: 41.38 kB / 455.8 MB, free: 112.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008968/0.2971, allocations: 3.123 MB / 458.9 MB, free: 111 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.2974, allocations: 0.5543 MB / 459.4 MB, free: 110.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007377/0.2981, allocations: 1.172 MB / 460.6 MB, free: 110 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.618e-05/0.2982, allocations: 301.7 kB / 460.9 MB, free: 109.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.2997, allocations: 1.97 MB / 462.9 MB, free: 109.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.3019, allocations: 5.657 MB / 468.5 MB, free: 103.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.3064, allocations: 8.267 MB / 476.8 MB, free: 95.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.472e-05/0.3064, allocations: 43.94 kB / 476.8 MB, free: 95.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.006812/0.3132, allocations: 8.058 MB / 484.9 MB, free: 87.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.3133, allocations: 60.97 kB / 485 MB, free: 87.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.856e-05/0.3133, allocations: 132 kB / 485.1 MB, free: 87.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/0.3146, allocations: 0.9098 MB / 486 MB, free: 86.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.3163, allocations: 1.326 MB / 487.3 MB, free: 85.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.3199, allocations: 5.011 MB / 492.3 MB, free: 80.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.3221, allocations: 343.7 kB / 492.7 MB, free: 79.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002359/0.3224, allocations: 373.2 kB / 493 MB, free: 79.54 MB / 410.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.002154/0.3245, allocations: 1.986 MB / 495 MB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.3248, allocations: 317.9 kB / 495.3 MB, free: 77.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.3275, allocations: 2.727 MB / 498 MB, free: 74.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.3275, allocations: 16 kB / 498.1 MB, free: 74.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3275, allocations: 7.938 kB / 498.1 MB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.3276, allocations: 3.984 kB / 498.1 MB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/0.3333, allocations: 6.196 MB / 0.4925 GB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.3333, allocations: 0 / 0.4925 GB, free: 68.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004724/0.3338, allocations: 227.6 kB / 0.4927 GB, free: 68.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009861/0.3348, allocations: 0.7115 MB / 0.4934 GB, free: 67.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.3348, allocations: 39.91 kB / 0.4934 GB, free: 67.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.3378, allocations: 4.611 MB / 0.4979 GB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3378, allocations: 8.344 kB / 0.4979 GB, free: 62.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.3415, allocations: 5.068 MB / 0.5029 GB, free: 57.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.3418, allocations: 301.8 kB / 0.5032 GB, free: 57.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.342, allocations: 20 kB / 0.5032 GB, free: 57.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/0.3426, allocations: 107.8 kB / 0.5033 GB, free: 57.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3427, allocations: 106 kB / 0.5034 GB, free: 56.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.3428, allocations: 43.98 kB / 0.5034 GB, free: 56.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001574/0.3444, allocations: 2.216 MB / 0.5056 GB, free: 54.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3444, allocations: 0 / 0.5056 GB, free: 54.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002539/0.3469, allocations: 0.9501 MB / 0.5065 GB, free: 53.75 MB / 410.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.0002929/0.3472, allocations: 170.7 kB / 0.5067 GB, free: 53.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.3506, allocations: 4.536 MB / 0.5111 GB, free: 49.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3506, allocations: 0 / 0.5111 GB, free: 49.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.3515, allocations: 1.287 MB / 0.5124 GB, free: 47.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.3526, allocations: 362.3 kB / 0.5127 GB, free: 47.42 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006789/0.3593, allocations: 8.827 MB / 0.5213 GB, free: 38.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.3609, allocations: 2.525 MB / 0.5238 GB, free: 36.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.3613, allocations: 300.4 kB / 0.5241 GB, free: 35.71 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3613, allocations: 0 / 0.5241 GB, free: 35.71 MB / 410.7 MB Notification: Performance of Templates: time 0.05655/0.4178, allocations: 71.71 MB / 0.5941 GB, free: 12.05 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 8.488279681652784]