Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001517/0.001517, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001461/0.001461, allocations: 167.8 kB / 25.6 MB, free: 8.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9407/0.9407, allocations: 158.6 MB / 187.5 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.827e-05, allocations: 2.312 kB / 251.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0104/0.01041, allocations: 13 MB / 264.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008124/0.01854, allocations: 4.264 MB / 268.7 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.02013, allocations: 99.56 kB / 268.8 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00399/0.02412, allocations: 3.964 MB / 272.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003852/0.02797, allocations: 2.258 MB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.0291, allocations: 0.7485 MB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003995/0.0331, allocations: 4.799 MB / 280.6 MB, free: 9.977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003119/0.03622, allocations: 4.112 MB / 284.7 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.03958, allocations: 3.052 MB / 287.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.04198, allocations: 2.634 MB / 290.4 MB, free: 96 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005243/0.0425, allocations: 424 kB / 290.8 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.04394, allocations: 1.096 MB / 291.9 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00149/0.04543, allocations: 2.497 MB / 294.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001688/0.04712, allocations: 1.608 MB / 296 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005232/0.05235, allocations: 5.39 MB / 301.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.05235, allocations: 0 / 301.4 MB, free: 5.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.05235, allocations: 4 kB / 301.4 MB, free: 5.051 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.69e-05/0.05242, allocations: 0 / 301.4 MB, free: 5.051 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.007976/0.0604, allocations: 6.636 MB / 308.1 MB, free: 14.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.06045, allocations: 15.98 kB / 308.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/0.06392, allocations: 1.652 MB / 309.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.0663, allocations: 2.267 MB / 312 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.06648, allocations: 307.9 kB / 312.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004213/0.0669, allocations: 411.7 kB / 312.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00647/0.07337, allocations: 6.449 MB / 319.1 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.133e-05/0.07346, allocations: 47.56 kB / 319.2 MB, free: 2.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/0.07376, allocations: 191.8 kB / 319.4 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001566/0.07533, allocations: 1.957 MB / 321.3 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.08003, allocations: 2.864 MB / 324.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1753/0.2553, allocations: 49.04 MB / 373.2 MB, free: 40.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/0.2587, allocations: 1.646 MB / 374.9 MB, free: 40.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.2592, allocations: 0.5203 MB / 375.4 MB, free: 40.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004554/0.2638, allocations: 4.627 MB / 380 MB, free: 39.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2638, allocations: 52.17 kB / 380.1 MB, free: 39.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 3.236e-06/0.2638, allocations: 0 / 380.1 MB, free: 39.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=176): time 0.01176/0.2756, allocations: 6.187 MB / 386.3 MB, free: 38.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2756, allocations: 147.5 kB / 386.4 MB, free: 38.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002653/0.2783, allocations: 3.969 MB / 390.4 MB, free: 37.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.2783, allocations: 51.36 kB / 390.4 MB, free: 37.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.2797, allocations: 4.104 MB / 394.5 MB, free: 35.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003754/0.2801, allocations: 0.7552 MB / 395.3 MB, free: 35.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.2811, allocations: 1.495 MB / 396.8 MB, free: 34.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.226e-05/0.2812, allocations: 480.7 kB / 397.3 MB, free: 34.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000845/0.282, allocations: 0.6329 MB / 397.9 MB, free: 34.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.2843, allocations: 7.082 MB / 405 MB, free: 25.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/0.2884, allocations: 8.463 MB / 413.4 MB, free: 14.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.58e-05/0.2884, allocations: 47.28 kB / 413.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.005345/0.2938, allocations: 5.491 MB / 419 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.2938, allocations: 72 kB / 419 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-05/0.2939, allocations: 153.1 kB / 419.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003266/0.2942, allocations: 265.6 kB / 419.4 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/0.2963, allocations: 1.567 MB / 421 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009919/0.2973, allocations: 2.154 MB / 423.2 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.2992, allocations: 303.7 kB / 423.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.2995, allocations: 373.6 kB / 423.8 MB, free: 5.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 702 * Number of states: 0 () * Number of discrete variables: 42 (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 (861): * Single equations (assignments): 857 * 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.001086/0.3006, allocations: 0.7302 MB / 424.6 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.3009, allocations: 425.5 kB / 425 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.3021, allocations: 1.145 MB / 426.1 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.3021, allocations: 20 kB / 426.1 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3021, allocations: 0 / 426.1 MB, free: 2.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.3021, allocations: 11.91 kB / 426.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/0.3083, allocations: 5.411 MB / 431.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3083, allocations: 4 kB / 431.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/0.309, allocations: 291.5 kB / 431.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002244/0.3092, allocations: 75.89 kB / 431.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/0.3093, allocations: 39.98 kB / 432 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001062/0.3104, allocations: 1.888 MB / 433.8 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.3104, allocations: 11.94 kB / 433.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.3125, allocations: 2.347 MB / 436.2 MB, free: 9.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/0.313, allocations: 0.4894 MB / 436.7 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.3132, allocations: 38.67 kB / 436.7 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007619/0.314, allocations: 39.98 kB / 436.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003854/0.3144, allocations: 120.6 kB / 436.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.3145, allocations: 43.98 kB / 436.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001945/0.3164, allocations: 1.576 MB / 438.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3164, allocations: 0 / 438.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004248/0.3206, allocations: 1.125 MB / 439.6 MB, free: 5.961 MB / 346.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 (162): * Single equations (assignments): 158 * 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.0004579/0.3211, allocations: 193.9 kB / 439.8 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004149/0.3253, allocations: 3.049 MB / 442.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3253, allocations: 0 / 442.9 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.3261, allocations: 0.7124 MB / 443.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.3282, allocations: 439.2 kB / 444 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.3417, allocations: 8.887 MB / 452.9 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002028/0.3437, allocations: 1.448 MB / 454.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001749/0.3455, allocations: 0.5462 MB / 454.9 MB, free: 6.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.3465, allocations: 0.6309 MB / 455.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/0.3465, allocations: 0 / 455.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of Templates: time 0.0647/0.4112, allocations: 32.33 MB / 487.9 MB, free: 5.746 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9082086482085288]