Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 185.5 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.92 kB / 370.9 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3229, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01397/0.3369, allocations: 9.799 MB / 432.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009552/0.3465, allocations: 3.629 MB / 436.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.3488, allocations: 75.62 kB / 436.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006178/0.355, allocations: 2.621 MB / 439.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006037/0.361, allocations: 1.867 MB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.3628, allocations: 0.5693 MB / 441.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005882/0.3687, allocations: 3.591 MB / 445.2 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004051/0.3727, allocations: 2.744 MB / 448 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.376, allocations: 1.487 MB / 449.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/0.38, allocations: 2.052 MB / 451.5 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008096/0.3808, allocations: 320 kB / 451.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.3831, allocations: 0.9518 MB / 452.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.3852, allocations: 1.881 MB / 454.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.3873, allocations: 1.573 MB / 456.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009099/0.3964, allocations: 6.856 MB / 463.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3964, allocations: 8 kB / 463.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3964, allocations: 0 / 463.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002139/0.3966, allocations: 0 / 463.1 MB, free: 6.285 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01785/0.4145, allocations: 5.156 MB / 468.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.4145, allocations: 8.031 kB / 468.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.4212, allocations: 1.882 MB / 470.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00494/0.4262, allocations: 2.228 MB / 472.3 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.4264, allocations: 221.8 kB / 472.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006422/0.427, allocations: 307.8 kB / 472.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.4472, allocations: 10.21 MB / 483.1 MB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.4473, allocations: 43.64 kB / 483.1 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004539/0.4478, allocations: 147.9 kB / 483.3 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003456/0.4512, allocations: 1.864 MB / 485.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.4715, allocations: 9.106 MB / 494.2 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0482/0.5197, allocations: 35.7 MB / 0.5175 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/0.5327, allocations: 3.034 MB / 0.5205 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/0.5351, allocations: 1.571 MB / 0.522 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004684/0.5356, allocations: 124.4 kB / 0.5221 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.5356, allocations: 51.16 kB / 0.5222 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.468e-06/0.5356, allocations: 0 / 0.5222 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2311/0.7667, allocations: 12.81 MB / 0.5347 GB, free: 107.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.7667, allocations: 144.6 kB / 0.5348 GB, free: 107.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/0.7719, allocations: 3.743 MB / 0.5385 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/0.7722, allocations: 44.75 kB / 0.5385 GB, free: 106.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.7734, allocations: 3.209 MB / 0.5417 GB, free: 105 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/0.7738, allocations: 0.565 MB / 0.5422 GB, free: 104.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.7749, allocations: 1.181 MB / 0.5434 GB, free: 104 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.7749, allocations: 305.1 kB / 0.5436 GB, free: 103.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.7771, allocations: 1.962 MB / 0.5456 GB, free: 103.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/0.7803, allocations: 5.681 MB / 0.5511 GB, free: 97.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005874/0.7862, allocations: 8.278 MB / 0.5592 GB, free: 90.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.576e-05/0.7862, allocations: 36 kB / 0.5592 GB, free: 90.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01006/0.7963, allocations: 8.086 MB / 0.5671 GB, free: 83.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.7963, allocations: 60 kB / 0.5672 GB, free: 83.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.319e-05/0.7964, allocations: 132 kB / 0.5673 GB, free: 83.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002109/0.7985, allocations: 0.9041 MB / 0.5682 GB, free: 82.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/0.8017, allocations: 1.322 MB / 0.5695 GB, free: 80.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00511/0.8069, allocations: 5.018 MB / 0.5744 GB, free: 75.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/0.8105, allocations: 304.1 kB / 0.5747 GB, free: 75.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/0.8108, allocations: 372 kB / 0.575 GB, free: 75.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (702): * Single equations (assignments): 698 * 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.002139/0.813, allocations: 2.003 MB / 0.577 GB, free: 73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.8134, allocations: 329.7 kB / 0.5773 GB, free: 72.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00426/0.8177, allocations: 2.712 MB / 0.5799 GB, free: 69.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/0.8177, allocations: 16 kB / 0.58 GB, free: 69.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.8177, allocations: 4 kB / 0.58 GB, free: 69.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.8177, allocations: 3.984 kB / 0.58 GB, free: 69.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00963/0.8273, allocations: 6.136 MB / 0.586 GB, free: 63.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8273, allocations: 4 kB / 0.586 GB, free: 63.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009189/0.8283, allocations: 215.7 kB / 0.5862 GB, free: 63.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/0.8301, allocations: 0.7164 MB / 0.5869 GB, free: 62.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.116e-05/0.8302, allocations: 35.98 kB / 0.5869 GB, free: 62.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004629/0.8348, allocations: 4.581 MB / 0.5914 GB, free: 58.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8348, allocations: 7.969 kB / 0.5914 GB, free: 58.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/0.8409, allocations: 5.05 MB / 0.5963 GB, free: 53.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/0.8416, allocations: 281.8 kB / 0.5966 GB, free: 52.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003172/0.8419, allocations: 20 kB / 0.5966 GB, free: 52.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.843, allocations: 79.67 kB / 0.5967 GB, free: 52.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.8433, allocations: 88.48 kB / 0.5968 GB, free: 52.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.8434, allocations: 49.16 kB / 0.5968 GB, free: 52.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002815/0.8462, allocations: 2.154 MB / 0.5989 GB, free: 50.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8462, allocations: 4 kB / 0.5989 GB, free: 50.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003855/0.8501, allocations: 0.9022 MB / 0.5998 GB, free: 49.51 MB / 446.1 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.0002903/0.8504, allocations: 150.7 kB / 0.5999 GB, free: 49.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005289/0.8556, allocations: 4.531 MB / 0.6044 GB, free: 44.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8556, allocations: 4 kB / 0.6044 GB, free: 44.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.857, allocations: 1.275 MB / 0.6056 GB, free: 43.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.8589, allocations: 376 kB / 0.606 GB, free: 43.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.8691, allocations: 8.558 MB / 0.6143 GB, free: 34.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00239/0.8715, allocations: 2.56 MB / 0.6168 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003088/0.8746, allocations: 1.788 MB / 0.6186 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.8751, allocations: 235.3 kB / 0.6188 GB, free: 29.97 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8751, allocations: 0 / 0.6188 GB, free: 29.97 MB / 446.1 MB Notification: Performance of Templates: time 0.05478/0.9298, allocations: 32.32 MB / 0.6504 GB, free: 14.12 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.492306498810649]