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.001475/0.001475, allocations: 78.28 kB / 21.42 MB, free: 3.07 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.001793/0.001793, allocations: 150.5 kB / 24.8 MB, free: 9.301 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.9798/0.9798, allocations: 173.3 MB / 201.4 MB, free: 9.219 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 2.364e-06/2.364e-06, allocations: 0 / 268.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.953e-05, allocations: 2.312 kB / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01399/0.01402, allocations: 12.4 MB / 280.8 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009613/0.02363, allocations: 4.185 MB / 285 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.02618, allocations: 99.56 kB / 285.1 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007325/0.03351, allocations: 3.936 MB / 289 MB, free: 1.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1312/0.1647, allocations: 2.163 MB / 291.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.1661, allocations: 0.7468 MB / 291.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004431/0.1706, allocations: 4.614 MB / 296.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004024/0.1746, allocations: 4.027 MB / 300.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.1785, allocations: 2.948 MB / 303.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.1813, allocations: 2.509 MB / 306 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008462/0.1821, allocations: 405.7 kB / 306.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.1836, allocations: 1.089 MB / 307.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001237/0.1849, allocations: 2.386 MB / 309.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.1863, allocations: 1.533 MB / 311.4 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00349/0.1898, allocations: 5.17 MB / 316.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1898, allocations: 0 / 316.6 MB, free: 6.246 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1898, allocations: 3.938 kB / 316.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.45e-05/0.1898, allocations: 0 / 316.6 MB, free: 6.242 MB / 266.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.0051/0.1949, allocations: 6.429 MB / 323 MB, free: 192 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1949, allocations: 8.922 kB / 323 MB, free: 184 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.1978, allocations: 1.591 MB / 324.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.1999, allocations: 2.187 MB / 326.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.2, allocations: 297.3 kB / 327.1 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.2004, allocations: 392.6 kB / 327.5 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005888/0.2063, allocations: 6.232 MB / 333.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.205e-05/0.2064, allocations: 43.78 kB / 333.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002756/0.2066, allocations: 186.3 kB / 334 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001417/0.2081, allocations: 1.841 MB / 335.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.212, allocations: 2.735 MB / 338.5 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02847/0.2405, allocations: 47.61 MB / 386.1 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003533/0.244, allocations: 1.562 MB / 387.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.2446, allocations: 490.4 kB / 388.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004747/0.2493, allocations: 4.319 MB / 392.5 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2493, allocations: 54.38 kB / 392.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=146): time 3.476e-06/0.2493, allocations: 0 / 392.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=156): time 0.01299/0.2623, allocations: 6.067 MB / 398.6 MB, free: 4.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2624, allocations: 144.5 kB / 398.8 MB, free: 4.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/0.2653, allocations: 3.879 MB / 402.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.506e-05/0.2654, allocations: 45.7 kB / 402.7 MB, free: 1.004 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.2671, allocations: 3.978 MB / 406.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.2675, allocations: 0.6864 MB / 407.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.2686, allocations: 1.45 MB / 408.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.2687, allocations: 488.5 kB / 409.3 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008207/0.2695, allocations: 0.5826 MB / 409.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003407/0.2729, allocations: 6.867 MB / 416.7 MB, free: 88 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005114/0.278, allocations: 8.199 MB / 424.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.504e-05/0.2781, allocations: 44 kB / 425 MB, free: 5.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.123/0.4011, allocations: 5.259 MB / 430.2 MB, free: 107.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.4012, allocations: 69.19 kB / 430.3 MB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/0.4014, allocations: 152.7 kB / 430.4 MB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.4019, allocations: 261.6 kB / 430.7 MB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/0.4054, allocations: 1.495 MB / 432.2 MB, free: 107.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.4067, allocations: 2.155 MB / 434.3 MB, free: 106 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.4095, allocations: 290.5 kB / 434.6 MB, free: 106 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004437/0.4099, allocations: 358.8 kB / 435 MB, free: 106 MB / 378.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.001256/0.4112, allocations: 0.7078 MB / 435.7 MB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004065/0.4116, allocations: 405.7 kB / 436.1 MB, free: 105.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.4129, allocations: 0.9876 MB / 437.1 MB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.875e-05/0.4129, allocations: 18.2 kB / 437.1 MB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.4129, allocations: 2.219 kB / 437.1 MB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.413, allocations: 10.33 kB / 437.1 MB, free: 105.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/0.4197, allocations: 5.056 MB / 442.2 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.4197, allocations: 6.875 kB / 442.2 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.4203, allocations: 257.5 kB / 442.4 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002503/0.4206, allocations: 68.59 kB / 442.5 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/0.4207, allocations: 40.47 kB / 442.5 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008608/0.4215, allocations: 1.869 MB / 444.4 MB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.4215, allocations: 12.41 kB / 444.4 MB, free: 103.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.4235, allocations: 2.189 MB / 446.6 MB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.424, allocations: 457 kB / 447 MB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.4242, allocations: 36.06 kB / 447.1 MB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.4248, allocations: 34.39 kB / 447.1 MB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.4249, allocations: 112.4 kB / 447.2 MB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.4249, allocations: 41.75 kB / 447.3 MB, free: 102.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001409/0.4263, allocations: 1.541 MB / 448.8 MB, free: 102.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4263, allocations: 0 / 448.8 MB, free: 102.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002886/0.4292, allocations: 1.064 MB / 449.9 MB, free: 102.1 MB / 378.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.0002604/0.4295, allocations: 197 kB / 450.1 MB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002673/0.4322, allocations: 2.901 MB / 453 MB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4322, allocations: 0 / 453 MB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000541/0.4327, allocations: 0.6424 MB / 453.6 MB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.4341, allocations: 450.8 kB / 454 MB, free: 101.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008556/0.4427, allocations: 8.441 MB / 462.5 MB, free: 97.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009179/0.4436, allocations: 1.391 MB / 463.9 MB, free: 96.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001061/0.4446, allocations: 0.5144 MB / 464.4 MB, free: 96.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006894/0.4453, allocations: 0.6102 MB / 465 MB, free: 95.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4453, allocations: 0 / 465 MB, free: 95.5 MB / 378.7 MB Notification: Performance of Templates: time 0.03992/0.4852, allocations: 30.53 MB / 495.5 MB, free: 67.13 MB / 378.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: 3.96026113582775]