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.001926/0.001926, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.002443/0.002443, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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 1.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001686/0.001686, allocations: 43.92 kB / 378.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3422, allocations: 53.37 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.02482/0.367, allocations: 11.06 MB / 442.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.3814, allocations: 3.876 MB / 446.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.384, allocations: 79.62 kB / 446.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009416/0.3934, allocations: 2.718 MB / 449.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008497/0.4019, allocations: 1.802 MB / 451.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002056/0.4039, allocations: 0.5888 MB / 451.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005883/0.4098, allocations: 3.578 MB / 455.3 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003832/0.4137, allocations: 2.732 MB / 458.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.4165, allocations: 1.472 MB / 459.5 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.4203, allocations: 2.142 MB / 461.7 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007937/0.4211, allocations: 312 kB / 462 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.4233, allocations: 1.077 MB / 463.1 MB, free: 7.324 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.4254, allocations: 1.839 MB / 464.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.4282, allocations: 2.082 MB / 467 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00951/0.4377, allocations: 6.677 MB / 473.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.4377, allocations: 3.984 kB / 473.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.917e-06/0.4377, allocations: 4 kB / 473.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002008/0.4379, allocations: 0 / 473.7 MB, free: 12.68 MB / 382.1 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.01924/0.4572, allocations: 5.085 MB / 478.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.4572, allocations: 8.031 kB / 478.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00736/0.4646, allocations: 1.878 MB / 480.6 MB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006026/0.4706, allocations: 2.173 MB / 482.8 MB, free: 3.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002256/0.4708, allocations: 233.6 kB / 483 MB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008169/0.4717, allocations: 295.8 kB / 483.3 MB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.4928, allocations: 10.02 MB / 493.3 MB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001295/0.4929, allocations: 39.64 kB / 493.4 MB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/0.4934, allocations: 143.9 kB / 493.5 MB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003538/0.497, allocations: 1.805 MB / 495.3 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.5175, allocations: 8.958 MB / 0.4925 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05548/0.573, allocations: 37.68 MB / 0.5293 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.5863, allocations: 3.031 MB / 0.5322 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/0.5889, allocations: 1.579 MB / 0.5338 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/0.5894, allocations: 128.5 kB / 0.5339 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/0.5894, allocations: 47.16 kB / 0.5339 GB, free: 1.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.777e-06/0.5894, allocations: 0 / 0.5339 GB, free: 1.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2607/0.8501, allocations: 12.74 MB / 0.5464 GB, free: 97.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.8502, allocations: 148.7 kB / 0.5465 GB, free: 97.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004108/0.8543, allocations: 4.06 MB / 0.5505 GB, free: 95.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.8544, allocations: 44.95 kB / 0.5505 GB, free: 95.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001259/0.8557, allocations: 3.131 MB / 0.5536 GB, free: 93.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003548/0.856, allocations: 0.5649 MB / 0.5541 GB, free: 93.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.8571, allocations: 1.173 MB / 0.5553 GB, free: 92.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.696e-05/0.8571, allocations: 312.6 kB / 0.5556 GB, free: 92.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.8593, allocations: 1.956 MB / 0.5575 GB, free: 91.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003289/0.8626, allocations: 5.659 MB / 0.563 GB, free: 84.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006266/0.8688, allocations: 8.252 MB / 0.5711 GB, free: 74.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.615e-05/0.8689, allocations: 43.5 kB / 0.5711 GB, free: 74.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01097/0.8799, allocations: 8.077 MB / 0.579 GB, free: 66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.8799, allocations: 67.98 kB / 0.5791 GB, free: 65.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.613e-05/0.88, allocations: 135.9 kB / 0.5792 GB, free: 65.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/0.8822, allocations: 0.9074 MB / 0.5801 GB, free: 64.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.8856, allocations: 1.318 MB / 0.5814 GB, free: 63.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005212/0.8908, allocations: 5.084 MB / 0.5863 GB, free: 58.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/0.8945, allocations: 310.9 kB / 0.5866 GB, free: 58.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003342/0.8948, allocations: 372 kB / 0.587 GB, free: 57.71 MB / 446.1 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.002246/0.897, allocations: 1.974 MB / 0.5889 GB, free: 55.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/0.8975, allocations: 357.3 kB / 0.5893 GB, free: 55.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/0.9018, allocations: 2.755 MB / 0.5919 GB, free: 52.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.9019, allocations: 16 kB / 0.592 GB, free: 52.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.9019, allocations: 8 kB / 0.592 GB, free: 52.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.9019, allocations: 3.984 kB / 0.592 GB, free: 52.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009836/0.9117, allocations: 7.023 MB / 0.5988 GB, free: 45.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.9117, allocations: 0.875 kB / 0.5988 GB, free: 45.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009352/0.9127, allocations: 215.6 kB / 0.599 GB, free: 45.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.9145, allocations: 0.7187 MB / 0.5997 GB, free: 44.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/0.9146, allocations: 39.8 kB / 0.5998 GB, free: 44.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/0.9193, allocations: 4.634 MB / 0.6043 GB, free: 39.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.9193, allocations: 8.062 kB / 0.6043 GB, free: 39.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006178/0.9255, allocations: 5.102 MB / 0.6093 GB, free: 34.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009413/0.9265, allocations: 333.6 kB / 0.6096 GB, free: 34.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003513/0.9268, allocations: 20 kB / 0.6096 GB, free: 34.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.9279, allocations: 71.91 kB / 0.6097 GB, free: 34.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.9282, allocations: 96.36 kB / 0.6098 GB, free: 34.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.9283, allocations: 47.97 kB / 0.6098 GB, free: 34.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003065/0.9313, allocations: 2.533 MB / 0.6123 GB, free: 31.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9313, allocations: 0 / 0.6123 GB, free: 31.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004326/0.9357, allocations: 0.8905 MB / 0.6132 GB, free: 30.65 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.0003284/0.936, allocations: 146.8 kB / 0.6133 GB, free: 30.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005779/0.9418, allocations: 4.523 MB / 0.6177 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.9418, allocations: 0 / 0.6177 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.9432, allocations: 1.275 MB / 0.619 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.9454, allocations: 431.3 kB / 0.6194 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.9564, allocations: 8.528 MB / 0.6277 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/0.9587, allocations: 3.056 MB / 0.6307 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003315/0.962, allocations: 1.849 MB / 0.6325 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005579/0.9626, allocations: 251.3 kB / 0.6328 GB, free: 10.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.9626, allocations: 0 / 0.6328 GB, free: 10.55 MB / 446.1 MB Notification: Performance of Templates: time 0.07357/1.036, allocations: 35.88 MB / 0.6678 GB, free: 6.941 MB / 478.1 MB " [Timeout remaining time 659] 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: 6.954247223911807]