Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.001051/0.001051, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001087/0.001087, allocations: 165.9 kB / 24.99 MB, free: 8.793 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.9885/0.9885, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.372e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01007/0.0101, allocations: 12.61 MB / 285.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006868/0.01696, allocations: 4.224 MB / 289.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.01843, allocations: 91.56 kB / 290 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1092/0.1276, allocations: 3.978 MB / 294 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004535/0.1322, allocations: 2.109 MB / 296.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.1334, allocations: 0.7527 MB / 296.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004563/0.138, allocations: 4.634 MB / 301.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004478/0.1424, allocations: 3.988 MB / 305.4 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.1463, allocations: 2.777 MB / 308.2 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.1497, allocations: 2.609 MB / 310.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.1508, allocations: 418.2 kB / 311.2 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.1527, allocations: 1.081 MB / 312.3 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.1542, allocations: 2.363 MB / 314.7 MB, free: 5.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001918/0.1561, allocations: 1.523 MB / 316.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005163/0.1612, allocations: 5.107 MB / 321.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1613, allocations: 7.938 kB / 321.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1613, allocations: 0 / 321.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001571/0.1614, allocations: 0 / 321.3 MB, free: 15.68 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01495/0.1764, allocations: 6.789 MB / 328.1 MB, free: 8.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1764, allocations: 8.031 kB / 328.1 MB, free: 8.926 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006322/0.1827, allocations: 2.502 MB / 330.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.1866, allocations: 2.433 MB / 333.1 MB, free: 4.172 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.1868, allocations: 292.4 kB / 333.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009046/0.1877, allocations: 392.7 kB / 333.7 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.2014, allocations: 7.282 MB / 341 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.2015, allocations: 52.42 kB / 341.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003796/0.2019, allocations: 185.4 kB / 341.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002845/0.2047, allocations: 2.195 MB / 343.4 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009906/0.2147, allocations: 4.248 MB / 347.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03824/0.2529, allocations: 48.43 MB / 396.1 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00882/0.2617, allocations: 2.715 MB / 398.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001734/0.2635, allocations: 0.9171 MB / 399.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.2638, allocations: 153 kB / 399.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.2638, allocations: 58.64 kB / 400 MB, free: 15.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 4.949e-06/0.2638, allocations: 0 / 400 MB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.0451/0.3089, allocations: 16.98 MB / 416.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.309, allocations: 154.5 kB / 417.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004802/0.3138, allocations: 3.69 MB / 420.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002174/0.314, allocations: 65.7 kB / 420.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00224/0.3163, allocations: 3.731 MB / 424.6 MB, free: 6.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008766/0.3171, allocations: 0.9534 MB / 425.5 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001906/0.319, allocations: 1.566 MB / 427.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3192, allocations: 476.8 kB / 427.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.3215, allocations: 0.9187 MB / 428.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1132/0.4347, allocations: 6.749 MB / 435.2 MB, free: 109.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/0.4417, allocations: 8.504 MB / 443.7 MB, free: 101.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/0.4418, allocations: 39.25 kB / 443.8 MB, free: 101.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01036/0.4522, allocations: 6.741 MB / 450.5 MB, free: 100.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.635e-05/0.4522, allocations: 65.97 kB / 450.6 MB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001161/0.4523, allocations: 138.2 kB / 450.7 MB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.4538, allocations: 0.6796 MB / 451.4 MB, free: 100.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.4568, allocations: 1.757 MB / 453.1 MB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003/0.4598, allocations: 3.342 MB / 456.5 MB, free: 98.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.4627, allocations: 444.6 kB / 456.9 MB, free: 98.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/0.4631, allocations: 467.5 kB / 457.4 MB, free: 98.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (834): * Single equations (assignments): 830 * 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.0015/0.4646, allocations: 0.7045 MB / 458.1 MB, free: 98.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/0.4652, allocations: 438.6 kB / 458.5 MB, free: 98.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003946/0.4692, allocations: 2.782 MB / 461.3 MB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/0.4692, allocations: 24.83 kB / 461.3 MB, free: 98.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4692, allocations: 7.844 kB / 461.3 MB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.4692, allocations: 13.97 kB / 461.3 MB, free: 98.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009285/0.4785, allocations: 7.324 MB / 468.6 MB, free: 93.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4785, allocations: 7.938 kB / 468.7 MB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.4799, allocations: 0.5604 MB / 469.2 MB, free: 93.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/0.481, allocations: 0.5019 MB / 469.7 MB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.4812, allocations: 96.45 kB / 469.8 MB, free: 93.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.4838, allocations: 3.065 MB / 472.9 MB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4838, allocations: 4 kB / 472.9 MB, free: 90.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.4888, allocations: 4.031 MB / 476.9 MB, free: 86.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.4898, allocations: 0.7522 MB / 477.7 MB, free: 85.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/0.4902, allocations: 44 kB / 477.7 MB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.4913, allocations: 191.8 kB / 477.9 MB, free: 85.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003378/0.4916, allocations: 205.5 kB / 478.1 MB, free: 85.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/0.4918, allocations: 123.9 kB / 478.2 MB, free: 85.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001619/0.4934, allocations: 1.579 MB / 479.8 MB, free: 83.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4934, allocations: 2.297 kB / 479.8 MB, free: 83.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003553/0.497, allocations: 1.244 MB / 481 MB, free: 82.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.0004157/0.4974, allocations: 210.2 kB / 481.2 MB, free: 82.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004856/0.5022, allocations: 3.903 MB / 485.2 MB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5022, allocations: 0 / 485.2 MB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.5037, allocations: 1.3 MB / 486.5 MB, free: 76.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.5052, allocations: 0.5011 MB / 487 MB, free: 76.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.5157, allocations: 9.197 MB / 496.1 MB, free: 67.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.5167, allocations: 1.423 MB / 497.6 MB, free: 65.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002689/0.5194, allocations: 1.871 MB / 499.4 MB, free: 63.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009137/0.5203, allocations: 459.4 kB / 499.9 MB, free: 63.37 MB / 378.7 MB Notification: Performance of SimCode: time 1.954e-06/0.5203, allocations: 0 / 499.9 MB, free: 63.37 MB / 378.7 MB Notification: Performance of Templates: time 0.05177/0.5721, allocations: 49.53 MB / 0.5365 GB, free: 14.34 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.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.155063058016822]