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.001153/0.001153, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001706/0.002859, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0007121/0.0007121, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001752, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8547/0.8547, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1483/1.003, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.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.453e-06/1.453e-06, allocations: 0 / 239.7 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.528e-05, allocations: 9.688 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009759/0.009784, allocations: 12.54 MB / 252.3 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007977/0.01776, allocations: 4.39 MB / 256.7 MB, free: 5.41 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/0.0195, allocations: 99.5 kB / 256.8 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003841/0.02334, allocations: 3.78 MB / 260.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.02757, allocations: 2.126 MB / 262.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.02873, allocations: 0.7017 MB / 263.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004478/0.0332, allocations: 4.497 MB / 267.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004064/0.03727, allocations: 3.798 MB / 271.7 MB, free: 6.285 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.04098, allocations: 3.051 MB / 274.7 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002988/0.04396, allocations: 2.381 MB / 277.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000786/0.04475, allocations: 404 kB / 277.5 MB, free: 460 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001808/0.04656, allocations: 1.116 MB / 278.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.04799, allocations: 2.131 MB / 280.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.04926, allocations: 1.266 MB / 282 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004447/0.0537, allocations: 4.822 MB / 286.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.05371, allocations: 7.938 kB / 286.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.05372, allocations: 0 / 286.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.628e-05/0.05381, allocations: 0 / 286.8 MB, free: 7.078 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.007292/0.0611, allocations: 6.591 MB / 293.4 MB, free: 424 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.06114, allocations: 12.03 kB / 293.4 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/0.06383, allocations: 1.171 MB / 294.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002864/0.06669, allocations: 2.034 MB / 296.7 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.06685, allocations: 299.6 kB / 296.9 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004561/0.06731, allocations: 391.7 kB / 297.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006699/0.074, allocations: 5.66 MB / 303 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.494e-05/0.07409, allocations: 43.64 kB / 303 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002835/0.07437, allocations: 183.8 kB / 303.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001645/0.07602, allocations: 1.73 MB / 304.9 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/0.08045, allocations: 2.802 MB / 307.7 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1497/0.2302, allocations: 34.58 MB / 342.3 MB, free: 55.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.234, allocations: 1.574 MB / 343.9 MB, free: 55.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005692/0.2346, allocations: 392.8 kB / 344.3 MB, free: 55.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00562/0.2402, allocations: 3.959 MB / 348.2 MB, free: 54.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.2402, allocations: 49.53 kB / 348.3 MB, free: 54.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 5.099e-06/0.2402, allocations: 0 / 348.3 MB, free: 54.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01192/0.2522, allocations: 5.525 MB / 353.8 MB, free: 53.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2522, allocations: 142.7 kB / 353.9 MB, free: 53.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.255, allocations: 3.499 MB / 357.4 MB, free: 52.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.2551, allocations: 44.33 kB / 357.5 MB, free: 52.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.2562, allocations: 3.547 MB / 361 MB, free: 50.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.2566, allocations: 0.6584 MB / 361.7 MB, free: 50.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008474/0.2574, allocations: 1.231 MB / 362.9 MB, free: 49.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.2575, allocations: 309.1 kB / 363.2 MB, free: 49.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.2585, allocations: 0.7812 MB / 364 MB, free: 49.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001959/0.2604, allocations: 4.842 MB / 368.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003598/0.264, allocations: 6.715 MB / 375.6 MB, free: 37.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.49e-05/0.2641, allocations: 44 kB / 375.6 MB, free: 37.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.004083/0.2682, allocations: 4.455 MB / 380.1 MB, free: 33.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.2682, allocations: 78.59 kB / 380.1 MB, free: 33.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.2683, allocations: 152 kB / 380.3 MB, free: 33.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.2687, allocations: 260.1 kB / 380.5 MB, free: 33.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.2709, allocations: 1.669 MB / 382.2 MB, free: 31.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009231/0.2718, allocations: 1.606 MB / 383.8 MB, free: 29.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.274, allocations: 295.4 kB / 384.1 MB, free: 29.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000252/0.2743, allocations: 352 kB / 384.5 MB, free: 29.45 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.001093/0.2754, allocations: 0.6789 MB / 385.1 MB, free: 28.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.2757, allocations: 221.5 kB / 385.3 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009279/0.2766, allocations: 0.8637 MB / 386.2 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.2767, allocations: 15.98 kB / 386.2 MB, free: 27.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2767, allocations: 7.938 kB / 386.2 MB, free: 27.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.2767, allocations: 3.984 kB / 386.2 MB, free: 27.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.2814, allocations: 4.257 MB / 390.5 MB, free: 23.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.2814, allocations: 12 kB / 390.5 MB, free: 23.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006841/0.2821, allocations: 301.3 kB / 390.8 MB, free: 23.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/0.2827, allocations: 433.3 kB / 391.2 MB, free: 22.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.2829, allocations: 75.56 kB / 391.3 MB, free: 22.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.283, allocations: 32 kB / 391.3 MB, free: 22.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008616/0.2838, allocations: 1.522 MB / 392.9 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2839, allocations: 4 kB / 392.9 MB, free: 21.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2852, allocations: 1.818 MB / 394.7 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/0.2855, allocations: 28 kB / 394.7 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.2861, allocations: 35.94 kB / 394.7 MB, free: 19.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.2862, allocations: 112.6 kB / 394.8 MB, free: 18.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.2863, allocations: 47.16 kB / 394.9 MB, free: 18.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008185/0.2871, allocations: 1.26 MB / 396.2 MB, free: 17.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2871, allocations: 0 / 396.2 MB, free: 17.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003059/0.2901, allocations: 1.066 MB / 397.2 MB, free: 16.55 MB / 330.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.0003099/0.2905, allocations: 183.9 kB / 397.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003211/0.2937, allocations: 2.766 MB / 400.2 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002433/0.2939, allocations: 114.8 kB / 400.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.2947, allocations: 0.6181 MB / 400.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.2975, allocations: 3.216 MB / 404.1 MB, free: 9.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/0.3103, allocations: 8.457 MB / 412.6 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.3115, allocations: 1.384 MB / 413.9 MB, free: 15.35 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001604/0.3131, allocations: 0.5254 MB / 414.5 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008018/0.3139, allocations: 0.5519 MB / 415 MB, free: 14.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.3139, allocations: 0 / 415 MB, free: 14.27 MB / 346.7 MB Notification: Performance of Templates: time 0.04692/0.3608, allocations: 29.03 MB / 444.1 MB, free: 1.371 MB / 362.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0731430603191257]