Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000955/0.000955, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 145.2 kB / 25.59 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.904/0.904, allocations: 173.4 MB / 202.2 MB, free: 8.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 269.2 MB, free: 9.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.552e-05, allocations: 2.312 kB / 269.2 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009756/0.009772, allocations: 12.4 MB / 281.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006873/0.01665, allocations: 4.172 MB / 285.8 MB, free: 9.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.01782, allocations: 95.56 kB / 285.9 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004322/0.02214, allocations: 3.952 MB / 289.8 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004425/0.02657, allocations: 2.173 MB / 292 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.02788, allocations: 0.7484 MB / 292.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00484/0.03272, allocations: 4.609 MB / 297.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003701/0.03643, allocations: 4.026 MB / 301.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.04011, allocations: 2.947 MB / 304.3 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.04336, allocations: 2.502 MB / 306.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008164/0.04417, allocations: 408 kB / 307.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.04575, allocations: 1.088 MB / 308.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001578/0.04733, allocations: 2.396 MB / 310.7 MB, free: 168 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.04901, allocations: 1.538 MB / 312.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005213/0.05422, allocations: 5.161 MB / 317.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.05422, allocations: 0 / 317.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.05422, allocations: 0 / 317.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001433/0.05437, allocations: 0 / 317.4 MB, free: 9.441 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.00853/0.0629, allocations: 6.435 MB / 323.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.06294, allocations: 8.031 kB / 323.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00353/0.06647, allocations: 1.593 MB / 325.4 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003164/0.06963, allocations: 2.197 MB / 327.6 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.06979, allocations: 299.6 kB / 327.9 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/0.07025, allocations: 387.8 kB / 328.3 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008092/0.07835, allocations: 6.223 MB / 334.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/0.07845, allocations: 47.62 kB / 334.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003173/0.07877, allocations: 187.8 kB / 334.8 MB, free: 6.945 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001746/0.08051, allocations: 1.839 MB / 336.6 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005355/0.08587, allocations: 2.722 MB / 339.3 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1548/0.2407, allocations: 47.59 MB / 386.9 MB, free: 45.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003589/0.2443, allocations: 1.571 MB / 388.5 MB, free: 45.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.2448, allocations: 493.2 kB / 389 MB, free: 45.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005174/0.25, allocations: 4.295 MB / 393.3 MB, free: 44.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.25, allocations: 52.64 kB / 393.3 MB, free: 44.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.467e-06/0.25, allocations: 0 / 393.3 MB, free: 44.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01375/0.2637, allocations: 6.08 MB / 399.4 MB, free: 43.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2638, allocations: 148.8 kB / 399.5 MB, free: 42.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/0.2668, allocations: 3.881 MB / 403.4 MB, free: 40.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/0.2669, allocations: 45.7 kB / 403.5 MB, free: 40.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.2681, allocations: 3.982 MB / 407.4 MB, free: 36.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.2685, allocations: 0.6864 MB / 408.1 MB, free: 36.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009591/0.2695, allocations: 1.446 MB / 409.6 MB, free: 34.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.2695, allocations: 483.4 kB / 410.1 MB, free: 34.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008538/0.2704, allocations: 0.5826 MB / 410.6 MB, free: 33.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.2726, allocations: 6.869 MB / 417.5 MB, free: 24.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004178/0.2768, allocations: 8.2 MB / 425.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.185e-05/0.2768, allocations: 40 kB / 425.7 MB, free: 13.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.005202/0.282, allocations: 5.262 MB / 431 MB, free: 8.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.2821, allocations: 72.03 kB / 431.1 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.309e-05/0.2822, allocations: 148 kB / 431.2 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.2825, allocations: 259.6 kB / 431.5 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.2847, allocations: 1.501 MB / 433 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.2859, allocations: 2.15 MB / 435.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.2884, allocations: 295.7 kB / 435.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.2887, allocations: 356 kB / 435.8 MB, free: 3.172 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (824): * Single equations (assignments): 820 * 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.001228/0.2899, allocations: 0.7141 MB / 436.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004053/0.2903, allocations: 405.5 kB / 436.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2914, allocations: 0.9901 MB / 437.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.2914, allocations: 16 kB / 437.9 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.2914, allocations: 3.984 kB / 437.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.2914, allocations: 7.984 kB / 437.9 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007057/0.2985, allocations: 5.057 MB / 442.9 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.2985, allocations: 8.031 kB / 443 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/0.2992, allocations: 251.6 kB / 443.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.2994, allocations: 79.47 kB / 443.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.2995, allocations: 28 kB / 443.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.3006, allocations: 1.889 MB / 445.2 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3006, allocations: 7.938 kB / 445.2 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.3031, allocations: 2.188 MB / 447.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007988/0.3039, allocations: 456.6 kB / 447.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.3041, allocations: 32 kB / 447.9 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/0.3047, allocations: 39.97 kB / 447.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.3049, allocations: 104.7 kB / 448 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.3049, allocations: 47.92 kB / 448.1 MB, free: 6.484 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.3064, allocations: 1.541 MB / 449.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3064, allocations: 0 / 449.6 MB, free: 4.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003269/0.3097, allocations: 1.062 MB / 450.7 MB, free: 3.867 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 (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.0003251/0.31, allocations: 202.9 kB / 450.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003098/0.3131, allocations: 2.896 MB / 453.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3131, allocations: 0 / 453.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.3137, allocations: 0.6447 MB / 454.4 MB, free: 116 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.3152, allocations: 442.7 kB / 454.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009848/0.325, allocations: 8.441 MB / 463.3 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.3262, allocations: 1.388 MB / 464.7 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001326/0.3275, allocations: 0.5254 MB / 465.2 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/0.3283, allocations: 0.6035 MB / 465.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3283, allocations: 0 / 465.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of Templates: time 0.04901/0.3773, allocations: 31.23 MB / 497 MB, free: 5.809 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.17607061797753]