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.00174/0.00174, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001904/0.001904, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.415/1.415, allocations: 225.6 MB / 250.8 MB, free: 13.39 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.001575/0.001575, allocations: 51.92 kB / 368.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2967, allocations: 52.13 MB / 420.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01394/0.3106, allocations: 11.22 MB / 432.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008873/0.3195, allocations: 3.858 MB / 435.9 MB, free: 36 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.3211, allocations: 63.86 kB / 436 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005366/0.3265, allocations: 2.729 MB / 438.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.3315, allocations: 1.848 MB / 440.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.3331, allocations: 0.5771 MB / 441.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005613/0.3387, allocations: 3.585 MB / 444.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003538/0.3422, allocations: 2.533 MB / 447.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.3446, allocations: 1.464 MB / 448.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.3477, allocations: 2.165 MB / 450.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006775/0.3484, allocations: 320 kB / 451.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.3504, allocations: 1.092 MB / 452.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.3523, allocations: 1.889 MB / 454.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002258/0.3546, allocations: 2.128 MB / 456.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008064/0.3627, allocations: 6.82 MB / 463.1 MB, free: 4.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3627, allocations: 7.938 kB / 463.1 MB, free: 4.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3627, allocations: 0 / 463.1 MB, free: 4.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000174/0.3628, allocations: 0 / 463.1 MB, free: 4.668 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.01706/0.3799, allocations: 5.235 MB / 468.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3799, allocations: 8.031 kB / 468.4 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006399/0.3863, allocations: 1.87 MB / 470.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.3909, allocations: 2.288 MB / 472.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.3911, allocations: 229.7 kB / 472.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006849/0.3917, allocations: 307.8 kB / 473.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/0.4112, allocations: 10.21 MB / 483.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/0.4113, allocations: 47.58 kB / 483.3 MB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004506/0.4117, allocations: 147.9 kB / 483.5 MB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003298/0.415, allocations: 1.864 MB / 485.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.4345, allocations: 9.112 MB / 494.4 MB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04824/0.4827, allocations: 38.24 MB / 0.5202 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.4953, allocations: 3.482 MB / 0.5236 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/0.4976, allocations: 1.579 MB / 0.5251 GB, free: 7.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/0.4982, allocations: 359.5 kB / 0.5255 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.4982, allocations: 47.12 kB / 0.5255 GB, free: 7.516 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 2.685e-06/0.4982, allocations: 0 / 0.5255 GB, free: 7.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2475/0.7457, allocations: 12.94 MB / 0.5382 GB, free: 106 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.7458, allocations: 141.5 kB / 0.5383 GB, free: 105.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004571/0.7503, allocations: 4.073 MB / 0.5423 GB, free: 104.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.7505, allocations: 45.8 kB / 0.5423 GB, free: 104.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.7519, allocations: 3.186 MB / 0.5454 GB, free: 102.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.7523, allocations: 0.5631 MB / 0.546 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.7534, allocations: 1.181 MB / 0.5471 GB, free: 101.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.7534, allocations: 301.1 kB / 0.5474 GB, free: 100.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.7555, allocations: 1.971 MB / 0.5493 GB, free: 100.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003392/0.7589, allocations: 5.676 MB / 0.5549 GB, free: 94.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/0.7651, allocations: 8.281 MB / 0.563 GB, free: 86.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.593e-05/0.7652, allocations: 39.94 kB / 0.563 GB, free: 86.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01291/0.7781, allocations: 8.121 MB / 0.5709 GB, free: 78.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.174e-05/0.7782, allocations: 60 kB / 0.571 GB, free: 78.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001929/0.7784, allocations: 132 kB / 0.5711 GB, free: 78.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.7808, allocations: 0.9101 MB / 0.572 GB, free: 77.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.7839, allocations: 1.322 MB / 0.5733 GB, free: 75.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005308/0.7892, allocations: 5.189 MB / 0.5784 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/0.7931, allocations: 323.6 kB / 0.5787 GB, free: 70.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004646/0.7936, allocations: 368 kB / 0.579 GB, free: 69.98 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.0027/0.7963, allocations: 2.003 MB / 0.581 GB, free: 67.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007509/0.797, allocations: 353.6 kB / 0.5813 GB, free: 67.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/0.8015, allocations: 2.751 MB / 0.584 GB, free: 64.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.8015, allocations: 19.94 kB / 0.584 GB, free: 64.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.8015, allocations: 8 kB / 0.584 GB, free: 64.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.8015, allocations: 10.59 kB / 0.584 GB, free: 64.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/0.8139, allocations: 7.115 MB / 0.591 GB, free: 57.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.8139, allocations: 3.938 kB / 0.591 GB, free: 57.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009859/0.8149, allocations: 215.8 kB / 0.5912 GB, free: 57.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.8168, allocations: 0.7185 MB / 0.5919 GB, free: 56.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.817, allocations: 31.97 kB / 0.5919 GB, free: 56.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004841/0.8218, allocations: 4.758 MB / 0.5966 GB, free: 51.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.8218, allocations: 4.062 kB / 0.5966 GB, free: 51.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006496/0.8283, allocations: 5.09 MB / 0.6016 GB, free: 46.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.8294, allocations: 418.5 kB / 0.602 GB, free: 46.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008332/0.8302, allocations: 28 kB / 0.602 GB, free: 46.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.8318, allocations: 67.91 kB / 0.6021 GB, free: 46.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.8321, allocations: 84.53 kB / 0.6021 GB, free: 46.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/0.8322, allocations: 51.8 kB / 0.6022 GB, free: 46.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004382/0.8366, allocations: 2.541 MB / 0.6047 GB, free: 43.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8366, allocations: 0 / 0.6047 GB, free: 43.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005787/0.8424, allocations: 0.9101 MB / 0.6056 GB, free: 42.55 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.0005049/0.8429, allocations: 158.7 kB / 0.6057 GB, free: 42.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006569/0.8495, allocations: 4.524 MB / 0.6101 GB, free: 37.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.8495, allocations: 4.25 kB / 0.6101 GB, free: 37.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.8511, allocations: 1.278 MB / 0.6114 GB, free: 36.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/0.8547, allocations: 432.3 kB / 0.6118 GB, free: 36.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.8701, allocations: 8.629 MB / 0.6202 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/0.8743, allocations: 3.105 MB / 0.6232 GB, free: 24.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004256/0.8785, allocations: 1.83 MB / 0.625 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000925/0.8795, allocations: 259.3 kB / 0.6253 GB, free: 22.26 MB / 446.1 MB Notification: Performance of SimCode: time 1.593e-06/0.8795, allocations: 0 / 0.6253 GB, free: 22.26 MB / 446.1 MB Notification: Performance of Templates: time 0.06612/0.9456, allocations: 33.83 MB / 0.6583 GB, free: 4.641 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.308802008628845]