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.001011/0.001011, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001199/0.001199, allocations: 166.1 kB / 25.69 MB, free: 8.406 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.9151/0.9151, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.202e-06/1.202e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.658e-05, allocations: 6.25 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01818/0.0182, allocations: 13.06 MB / 264.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008378/0.02658, allocations: 4.453 MB / 269.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.02884, allocations: 99.56 kB / 269.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004915/0.03375, allocations: 3.948 MB / 273.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.03904, allocations: 2.243 MB / 275.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.04058, allocations: 0.7446 MB / 276.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004982/0.04556, allocations: 4.807 MB / 280.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004089/0.04965, allocations: 4.078 MB / 285 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.05345, allocations: 3.005 MB / 288 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.05645, allocations: 2.521 MB / 290.5 MB, free: 48 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007187/0.05717, allocations: 424 kB / 290.9 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.05874, allocations: 1.131 MB / 292.1 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.06049, allocations: 2.486 MB / 294.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.06232, allocations: 1.612 MB / 296.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006249/0.06857, allocations: 5.39 MB / 301.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.06857, allocations: 0 / 301.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.06858, allocations: 4 kB / 301.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002452/0.06882, allocations: 0 / 301.6 MB, free: 4.977 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.01041/0.07923, allocations: 5.704 MB / 307.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.07928, allocations: 15.98 kB / 307.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.08272, allocations: 1.234 MB / 308.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.08622, allocations: 2.092 MB / 310.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.08639, allocations: 307.9 kB / 310.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005313/0.08692, allocations: 403.8 kB / 311.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0078/0.09472, allocations: 5.872 MB / 317.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/0.09483, allocations: 43.62 kB / 317.2 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/0.09515, allocations: 191.8 kB / 317.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001567/0.09671, allocations: 1.957 MB / 319.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006578/0.1033, allocations: 2.929 MB / 322.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1658/0.269, allocations: 35.68 MB / 358 MB, free: 69.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003881/0.2729, allocations: 1.684 MB / 359.7 MB, free: 69.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/0.2735, allocations: 427.5 kB / 360.1 MB, free: 69.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006062/0.2795, allocations: 4.247 MB / 364.3 MB, free: 68.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2796, allocations: 50.75 kB / 364.4 MB, free: 68.94 MB / 330.7 MB Notification: Performance of pre-optimization done (n=167): time 4.128e-06/0.2796, allocations: 0 / 364.4 MB, free: 68.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=176): time 0.01243/0.292, allocations: 5.586 MB / 370 MB, free: 68.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.292, allocations: 149 kB / 370.1 MB, free: 67.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.2949, allocations: 3.559 MB / 373.7 MB, free: 67.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.295, allocations: 54.91 kB / 373.7 MB, free: 67.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.2961, allocations: 3.664 MB / 377.4 MB, free: 64.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.2965, allocations: 0.7275 MB / 378.1 MB, free: 64.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009308/0.2975, allocations: 1.291 MB / 379.4 MB, free: 63.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.135e-05/0.2975, allocations: 301.1 kB / 379.7 MB, free: 63.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.2987, allocations: 0.83 MB / 380.5 MB, free: 62.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.3008, allocations: 5.006 MB / 385.5 MB, free: 56.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003824/0.3046, allocations: 6.449 MB / 392 MB, free: 48.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-05/0.3047, allocations: 45.86 kB / 392 MB, free: 48.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.005018/0.3097, allocations: 4.645 MB / 396.7 MB, free: 43.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.3098, allocations: 68 kB / 396.7 MB, free: 43.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.3099, allocations: 156 kB / 396.9 MB, free: 43.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.3103, allocations: 263.4 kB / 397.1 MB, free: 43.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/0.3128, allocations: 1.635 MB / 398.8 MB, free: 41.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.3141, allocations: 1.607 MB / 400.4 MB, free: 39.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.3169, allocations: 311.7 kB / 400.7 MB, free: 39.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000358/0.3173, allocations: 364 kB / 401 MB, free: 39.25 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.001425/0.3187, allocations: 0.6896 MB / 401.7 MB, free: 38.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004372/0.3191, allocations: 231.8 kB / 402 MB, free: 38.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.3203, allocations: 0.9966 MB / 403 MB, free: 37.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.3203, allocations: 16 kB / 403 MB, free: 37.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3203, allocations: 4 kB / 403 MB, free: 37.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3204, allocations: 7.969 kB / 403 MB, free: 37.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006235/0.3266, allocations: 4.563 MB / 407.6 MB, free: 32.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.3266, allocations: 8.656 kB / 407.6 MB, free: 32.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/0.3275, allocations: 319.5 kB / 407.9 MB, free: 32.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002866/0.3278, allocations: 67.58 kB / 407.9 MB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.754e-05/0.3279, allocations: 39.98 kB / 408 MB, free: 32.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.3289, allocations: 1.521 MB / 409.5 MB, free: 30.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3289, allocations: 11.94 kB / 409.5 MB, free: 30.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.3309, allocations: 1.95 MB / 411.5 MB, free: 28.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008767/0.3318, allocations: 457.3 kB / 411.9 MB, free: 28.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.332, allocations: 39.98 kB / 411.9 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/0.3327, allocations: 36 kB / 412 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3329, allocations: 124.6 kB / 412.1 MB, free: 27.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/0.3329, allocations: 43.98 kB / 412.1 MB, free: 27.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001099/0.334, allocations: 1.301 MB / 413.4 MB, free: 26.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.334, allocations: 0 / 413.4 MB, free: 26.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003953/0.338, allocations: 1.125 MB / 414.6 MB, free: 25.38 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 (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.0003943/0.3384, allocations: 175.9 kB / 414.7 MB, free: 25.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.3416, allocations: 2.77 MB / 417.5 MB, free: 22.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001739/0.3418, allocations: 106.8 kB / 417.6 MB, free: 22.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006423/0.3424, allocations: 0.5841 MB / 418.2 MB, free: 21.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.3447, allocations: 0.6835 MB / 418.9 MB, free: 21.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.3549, allocations: 8.649 MB / 427.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.3559, allocations: 1.444 MB / 429 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001489/0.3574, allocations: 0.5536 MB / 429.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000814/0.3582, allocations: 0.5832 MB / 430.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of SimCode: time 2.384e-06/0.3582, allocations: 0 / 430.1 MB, free: 9.648 MB / 330.7 MB Notification: Performance of Templates: time 0.05228/0.4105, allocations: 32.18 MB / 462.3 MB, free: 9.488 MB / 362.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 -s gbode -gbm=radauIIA3 -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.7821448766626418]