Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002079/0.002079, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.754e-05, allocations: 6.312 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01629/0.01632, allocations: 11.37 MB / 283.6 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.02649, allocations: 4.108 MB / 287.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.02826, allocations: 91.56 kB / 287.8 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1253/0.1536, allocations: 3.853 MB / 291.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006026/0.1596, allocations: 2.103 MB / 293.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.1615, allocations: 0.7544 MB / 294.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006552/0.1681, allocations: 4.641 MB / 299.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005154/0.1732, allocations: 3.981 MB / 303.1 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00687/0.1801, allocations: 2.759 MB / 305.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.1842, allocations: 2.504 MB / 308.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.1853, allocations: 414.1 kB / 308.8 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.1876, allocations: 1.095 MB / 309.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001555/0.1891, allocations: 2.344 MB / 312.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.1909, allocations: 1.502 MB / 313.7 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009659/0.2006, allocations: 8.133 MB / 321.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.2006, allocations: 4 kB / 321.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2006, allocations: 0 / 321.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003475/0.2009, allocations: 0 / 321.8 MB, free: 14.17 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.02559/0.2265, allocations: 6.394 MB / 328.2 MB, free: 7.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.2266, allocations: 11.98 kB / 328.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00939/0.236, allocations: 2.577 MB / 330.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006581/0.2426, allocations: 2.636 MB / 333.5 MB, free: 2.781 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/0.2429, allocations: 295.8 kB / 333.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.2443, allocations: 394.7 kB / 334.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0285/0.2728, allocations: 12.26 MB / 346.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.273, allocations: 47.39 kB / 346.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007379/0.2737, allocations: 184.5 kB / 346.6 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004747/0.2785, allocations: 2.19 MB / 348.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/0.3053, allocations: 11.19 MB / 360 MB, free: 8.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07459/0.3799, allocations: 43.25 MB / 403.2 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01924/0.3991, allocations: 4.947 MB / 408.2 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005162/0.4043, allocations: 3.071 MB / 411.3 MB, free: 4.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/0.4049, allocations: 153 kB / 411.4 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.405, allocations: 55.81 kB / 411.5 MB, free: 3.812 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 6.181e-06/0.405, allocations: 4 kB / 411.5 MB, free: 3.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.2131/0.6181, allocations: 27.92 MB / 439.4 MB, free: 117.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.6182, allocations: 155.2 kB / 439.5 MB, free: 117.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006133/0.6243, allocations: 4.109 MB / 443.6 MB, free: 115.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008316/0.6251, allocations: 61.42 kB / 443.7 MB, free: 115.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002331/0.6275, allocations: 3.546 MB / 447.3 MB, free: 113.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009265/0.6284, allocations: 0.9063 MB / 448.2 MB, free: 112.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.6301, allocations: 1.472 MB / 449.6 MB, free: 112 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.6301, allocations: 303.8 kB / 449.9 MB, free: 111.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/0.6337, allocations: 3.298 MB / 453.2 MB, free: 110.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004907/0.6386, allocations: 7.214 MB / 460.4 MB, free: 104.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.6488, allocations: 11.31 MB / 471.8 MB, free: 95.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001107/0.6489, allocations: 44 kB / 471.8 MB, free: 95.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.0182/0.6671, allocations: 11.77 MB / 483.6 MB, free: 83.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.6673, allocations: 64 kB / 483.6 MB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003184/0.6676, allocations: 140 kB / 483.8 MB, free: 83.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/0.6706, allocations: 1.142 MB / 484.9 MB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00639/0.677, allocations: 1.751 MB / 486.7 MB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/0.6841, allocations: 6.188 MB / 492.8 MB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006662/0.6907, allocations: 439.6 kB / 493.3 MB, free: 74.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/0.6922, allocations: 470.5 kB / 493.7 MB, free: 73.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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.005131/0.6973, allocations: 2.332 MB / 496.1 MB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/0.6989, allocations: 443.4 kB / 496.5 MB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009427/0.7084, allocations: 6.092 MB / 0.4908 GB, free: 64.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-05/0.7084, allocations: 28.81 kB / 0.4908 GB, free: 64.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.7084, allocations: 4 kB / 0.4908 GB, free: 64.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/0.7085, allocations: 15.95 kB / 0.4909 GB, free: 64.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02049/0.729, allocations: 11.14 MB / 0.5017 GB, free: 53.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.729, allocations: 8.25 kB / 0.5017 GB, free: 53.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002926/0.7319, allocations: 0.5733 MB / 0.5023 GB, free: 53.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002609/0.7345, allocations: 0.9626 MB / 0.5032 GB, free: 52.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004654/0.735, allocations: 103.8 kB / 0.5033 GB, free: 52.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006171/0.7412, allocations: 5.919 MB / 0.5091 GB, free: 46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7412, allocations: 4.875 kB / 0.5091 GB, free: 45.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.754, allocations: 10.42 MB / 0.5193 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/0.7561, allocations: 0.8018 MB / 0.5201 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009901/0.7571, allocations: 47.98 kB / 0.5201 GB, free: 34.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002638/0.7597, allocations: 195.8 kB / 0.5203 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005383/0.7602, allocations: 209.5 kB / 0.5205 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/0.7605, allocations: 123.6 kB / 0.5206 GB, free: 34.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003647/0.7642, allocations: 2.376 MB / 0.523 GB, free: 31.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7642, allocations: 4 kB / 0.523 GB, free: 31.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006765/0.7709, allocations: 1.242 MB / 0.5242 GB, free: 30.55 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.0007129/0.7717, allocations: 207.2 kB / 0.5244 GB, free: 30.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009233/0.7809, allocations: 7.512 MB / 0.5317 GB, free: 22.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7809, allocations: 3.938 kB / 0.5317 GB, free: 22.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003318/0.7842, allocations: 2.814 MB / 0.5345 GB, free: 20.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003089/0.7873, allocations: 0.4989 MB / 0.5349 GB, free: 19.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/0.8058, allocations: 12.21 MB / 0.5469 GB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003518/0.8093, allocations: 3.11 MB / 0.5499 GB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004568/0.8138, allocations: 2.211 MB / 0.5521 GB, free: 1.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.8153, allocations: 452.1 kB / 0.5525 GB, free: 1.461 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.8153, allocations: 0 / 0.5525 GB, free: 1.461 MB / 378.7 MB Notification: Performance of Templates: time 0.1887/1.004, allocations: 49.19 MB / 0.6005 GB, free: 99.65 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.999862222932279]