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.000935/0.000935, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001147/0.001147, allocations: 149.8 kB / 24.89 MB, free: 8.742 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.9498/0.9498, allocations: 173.4 MB / 201.5 MB, free: 9.164 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.595e-06/2.595e-06, allocations: 3.938 kB / 268.5 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.058e-05, allocations: 2.312 kB / 268.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01433/0.01436, allocations: 12.45 MB / 281 MB, free: 9.598 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02583, allocations: 4.351 MB / 285.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002651/0.02848, allocations: 95.56 kB / 285.4 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004158/0.03264, allocations: 3.932 MB / 289.3 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1166/0.1492, allocations: 2.135 MB / 291.5 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.1507, allocations: 0.7474 MB / 292.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006027/0.1568, allocations: 4.616 MB / 296.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004904/0.1617, allocations: 3.996 MB / 300.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005361/0.167, allocations: 2.902 MB / 303.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.1703, allocations: 2.404 MB / 306.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007624/0.171, allocations: 404.5 kB / 306.5 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.1725, allocations: 1.113 MB / 307.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.1737, allocations: 2.39 MB / 310 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.1753, allocations: 1.54 MB / 311.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003839/0.1791, allocations: 5.164 MB / 316.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1791, allocations: 0 / 316.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1791, allocations: 0 / 316.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001794/0.1793, allocations: 0 / 316.7 MB, free: 6.023 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.006081/0.1854, allocations: 5.508 MB / 322.3 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1854, allocations: 8.922 kB / 322.3 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.188, allocations: 1.173 MB / 323.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.1906, allocations: 2.036 MB / 325.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.1908, allocations: 300.1 kB / 325.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004237/0.1912, allocations: 394.2 kB / 326.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006732/0.1979, allocations: 5.658 MB / 331.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001035/0.198, allocations: 52.91 kB / 331.9 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003025/0.1983, allocations: 185.3 kB / 332 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/0.1999, allocations: 1.834 MB / 333.9 MB, free: 5.418 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005362/0.2052, allocations: 2.817 MB / 336.7 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.2333, allocations: 34.57 MB / 371.3 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003774/0.2371, allocations: 1.607 MB / 372.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/0.2376, allocations: 392.3 kB / 373.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005334/0.243, allocations: 3.995 MB / 377.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.243, allocations: 43.56 kB / 377.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 4.138e-06/0.243, allocations: 0 / 377.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=156): time 0.01266/0.2557, allocations: 5.529 MB / 382.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.2557, allocations: 145.5 kB / 383 MB, free: 4.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/0.2585, allocations: 3.481 MB / 386.4 MB, free: 1.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.2586, allocations: 45.7 kB / 386.5 MB, free: 1.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001473/0.26, allocations: 3.558 MB / 390 MB, free: 14.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.2605, allocations: 0.6552 MB / 390.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009932/0.2614, allocations: 1.239 MB / 391.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.2615, allocations: 308.9 kB / 392.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.2627, allocations: 0.7794 MB / 393 MB, free: 11.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003146/0.2658, allocations: 4.844 MB / 397.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004652/0.2705, allocations: 6.231 MB / 404.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.199e-05/0.2706, allocations: 40 kB / 404.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=850) (initialization): time 0.005592/0.2762, allocations: 4.463 MB / 408.6 MB, free: 7.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.2762, allocations: 68 kB / 408.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001177/0.2763, allocations: 152 kB / 408.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/0.2767, allocations: 268.3 kB / 409.1 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.2793, allocations: 1.564 MB / 410.6 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.2806, allocations: 1.607 MB / 412.2 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.283, allocations: 291.8 kB / 412.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003233/0.2833, allocations: 356 kB / 412.9 MB, free: 3.066 MB / 362.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.001564/0.2849, allocations: 0.6741 MB / 413.5 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.2853, allocations: 223.7 kB / 413.8 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2864, allocations: 0.8612 MB / 414.6 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.2864, allocations: 19.98 kB / 414.6 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2864, allocations: 4 kB / 414.7 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.2864, allocations: 15.91 kB / 414.7 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005572/0.292, allocations: 4.253 MB / 418.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.292, allocations: 4 kB / 418.9 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.2928, allocations: 289.7 kB / 419.2 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002455/0.293, allocations: 71.56 kB / 419.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.39e-05/0.2931, allocations: 36 kB / 419.3 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.2945, allocations: 1.514 MB / 420.8 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.2945, allocations: 7.984 kB / 420.8 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2963, allocations: 1.806 MB / 422.6 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005875/0.2969, allocations: 441.3 kB / 423.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/0.2971, allocations: 28 kB / 423.1 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.2977, allocations: 35.98 kB / 423.1 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.2979, allocations: 108.6 kB / 423.2 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.2979, allocations: 39.98 kB / 423.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.299, allocations: 1.264 MB / 424.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.299, allocations: 0 / 424.5 MB, free: 7.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002982/0.302, allocations: 1.07 MB / 425.6 MB, free: 5.957 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.0003187/0.3023, allocations: 179.9 kB / 425.8 MB, free: 5.773 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002967/0.3053, allocations: 2.632 MB / 428.4 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000151/0.3054, allocations: 100.2 kB / 428.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005525/0.306, allocations: 0.5373 MB / 429.1 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.3076, allocations: 0.6708 MB / 429.7 MB, free: 1.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1133/0.421, allocations: 8.227 MB / 438 MB, free: 114.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.4227, allocations: 1.373 MB / 439.3 MB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001642/0.4243, allocations: 0.5202 MB / 439.8 MB, free: 114.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009619/0.4253, allocations: 0.5679 MB / 440.4 MB, free: 114.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4253, allocations: 4 kB / 440.4 MB, free: 114.1 MB / 378.7 MB Notification: Performance of Templates: time 0.04597/0.4712, allocations: 30.39 MB / 470.8 MB, free: 96.63 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 -s gbode -gbm=radauIIA3 -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.7847263938747346]