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.000997/0.000997, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001047/0.001047, allocations: 164.8 kB / 24.82 MB, free: 9.312 MB / 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.012/1.012, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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.793e-06/1.793e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.508e-05, allocations: 5.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0097/0.009725, allocations: 12.27 MB / 285.6 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007383/0.01711, allocations: 4.193 MB / 289.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.01861, allocations: 95.56 kB / 289.9 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1215/0.1401, allocations: 3.914 MB / 293.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004557/0.1446, allocations: 2.118 MB / 295.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.146, allocations: 0.7614 MB / 296.7 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006048/0.152, allocations: 4.628 MB / 301.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004614/0.1566, allocations: 3.992 MB / 305.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004244/0.1609, allocations: 2.918 MB / 308.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.1639, allocations: 2.485 MB / 310.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009811/0.1649, allocations: 402.4 kB / 311.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.1666, allocations: 1.07 MB / 312.2 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.1677, allocations: 2.346 MB / 314.5 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001978/0.1697, allocations: 1.508 MB / 316 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004184/0.1738, allocations: 5.057 MB / 321.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1738, allocations: 0 / 321.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1738, allocations: 0 / 321.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001442/0.174, allocations: 0 / 321.1 MB, free: 15.43 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.007608/0.1816, allocations: 6.378 MB / 327.5 MB, free: 9.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1816, allocations: 11.98 kB / 327.5 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.1848, allocations: 1.591 MB / 329.1 MB, free: 7.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.1875, allocations: 2.181 MB / 331.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.1876, allocations: 296.1 kB / 331.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004744/0.1881, allocations: 390 kB / 331.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007954/0.196, allocations: 6.168 MB / 338.1 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.1962, allocations: 48.05 kB / 338.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003093/0.1965, allocations: 176.3 kB / 338.3 MB, free: 14.37 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001456/0.1979, allocations: 1.798 MB / 340.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005915/0.2038, allocations: 2.694 MB / 342.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/0.2398, allocations: 47.26 MB / 390.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.2435, allocations: 1.579 MB / 391.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/0.2441, allocations: 489.5 kB / 392.1 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005667/0.2497, allocations: 4.286 MB / 396.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.2498, allocations: 54.33 kB / 396.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=146): time 3.436e-06/0.2498, allocations: 4 kB / 396.5 MB, free: 3.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=156): time 0.01407/0.2638, allocations: 6.067 MB / 402.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003093/0.2642, allocations: 149.5 kB / 402.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003509/0.2677, allocations: 3.865 MB / 406.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.2678, allocations: 49.7 kB / 406.6 MB, free: 9.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002082/0.2699, allocations: 3.943 MB / 410.5 MB, free: 5.203 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/0.2704, allocations: 0.6825 MB / 411.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.2716, allocations: 1.438 MB / 412.6 MB, free: 3.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.2717, allocations: 484.7 kB / 413.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000988/0.2727, allocations: 0.5748 MB / 413.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004057/0.2767, allocations: 6.848 MB / 420.5 MB, free: 8.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/0.2824, allocations: 8.161 MB / 428.7 MB, free: 13.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-05/0.2825, allocations: 44 kB / 428.7 MB, free: 13.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=847) (initialization): time 0.006577/0.2891, allocations: 5.244 MB / 434 MB, free: 7.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.2892, allocations: 72.19 kB / 434.1 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/0.2893, allocations: 152 kB / 434.2 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.2897, allocations: 259.6 kB / 434.5 MB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.2921, allocations: 1.489 MB / 436 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.2938, allocations: 2.151 MB / 438.1 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002712/0.2965, allocations: 295.7 kB / 438.4 MB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/0.2969, allocations: 364 kB / 438.7 MB, free: 3.055 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * 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 (821): * Single equations (assignments): 817 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001453/0.2984, allocations: 0.7053 MB / 439.5 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005575/0.299, allocations: 401.6 kB / 439.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/0.3006, allocations: 0.9799 MB / 440.8 MB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.3006, allocations: 27.98 kB / 440.9 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3006, allocations: 0 / 440.9 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.3006, allocations: 11.91 kB / 440.9 MB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1371/0.4377, allocations: 5.005 MB / 445.9 MB, free: 121.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.4377, allocations: 6.281 kB / 445.9 MB, free: 121.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/0.4384, allocations: 252.4 kB / 446.1 MB, free: 121.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.4387, allocations: 73.66 kB / 446.2 MB, free: 121.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/0.4388, allocations: 33.03 kB / 446.2 MB, free: 121.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000926/0.4397, allocations: 1.881 MB / 448.1 MB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.4397, allocations: 10.81 kB / 448.1 MB, free: 119.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.4421, allocations: 2.173 MB / 450.3 MB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/0.4429, allocations: 463.4 kB / 450.7 MB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.4431, allocations: 36.55 kB / 450.8 MB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.4437, allocations: 32.19 kB / 450.8 MB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.4439, allocations: 108.2 kB / 450.9 MB, free: 118.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.444, allocations: 43.09 kB / 451 MB, free: 118.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001958/0.4459, allocations: 1.531 MB / 452.5 MB, free: 118.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4459, allocations: 1.062 kB / 452.5 MB, free: 118.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003528/0.4494, allocations: 1.041 MB / 453.5 MB, free: 118.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (141): * Single equations (assignments): 137 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003477/0.4498, allocations: 186.6 kB / 453.7 MB, free: 118.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00371/0.4535, allocations: 2.886 MB / 456.6 MB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.4535, allocations: 0 / 456.6 MB, free: 118.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006816/0.4542, allocations: 0.6505 MB / 457.3 MB, free: 117.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.456, allocations: 435.4 kB / 457.7 MB, free: 117.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.4671, allocations: 8.348 MB / 466 MB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.4682, allocations: 1.367 MB / 467.4 MB, free: 114 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001421/0.4696, allocations: 0.5288 MB / 467.9 MB, free: 113.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/0.4704, allocations: 0.6095 MB / 468.5 MB, free: 113.8 MB / 394.7 MB Notification: Performance of SimCode: time 2.224e-06/0.4704, allocations: 3.828 kB / 468.5 MB, free: 113.8 MB / 394.7 MB Notification: Performance of Templates: time 0.04378/0.5142, allocations: 30.23 MB / 498.8 MB, free: 87.71 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9053144827485085]