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.001066/0.001066, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002527, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009888/0.0009888, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001262/0.002251, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8456/0.8456, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1513/0.9969, allocations: 49.49 MB / 220.6 MB, free: 1.449 MB / 218.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.543e-06/1.543e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.479e-05, allocations: 6.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0145/0.01451, allocations: 13.13 MB / 235 MB, free: 2.973 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02452, allocations: 4.493 MB / 239.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.02581, allocations: 99.56 kB / 239.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.02915, allocations: 3.807 MB / 243.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.03194, allocations: 2.212 MB / 245.6 MB, free: 8.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.03287, allocations: 0.7094 MB / 246.3 MB, free: 7.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003569/0.03644, allocations: 4.686 MB / 251 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.03954, allocations: 3.895 MB / 254.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.04268, allocations: 3.139 MB / 258 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.0453, allocations: 2.513 MB / 260.5 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000644/0.04594, allocations: 428 kB / 260.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.04735, allocations: 1.127 MB / 262.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.04873, allocations: 2.213 MB / 264.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.05, allocations: 1.317 MB / 265.6 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.05403, allocations: 5.036 MB / 270.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.207e-05/0.05404, allocations: 0 / 270.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.05404, allocations: 0 / 270.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.05409, allocations: 3.984 kB / 270.6 MB, free: 15.12 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.006015/0.0601, allocations: 6.842 MB / 277.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.06013, allocations: 12.03 kB / 277.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.06259, allocations: 1.218 MB / 278.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.06461, allocations: 2.096 MB / 280.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.06475, allocations: 311.9 kB / 281.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.06515, allocations: 399.8 kB / 281.5 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1207/0.1859, allocations: 5.863 MB / 287.4 MB, free: 44.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/0.1861, allocations: 53.41 kB / 287.4 MB, free: 44.3 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003516/0.1864, allocations: 188.4 kB / 287.6 MB, free: 44.3 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001968/0.1884, allocations: 1.964 MB / 289.6 MB, free: 44.3 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005682/0.1941, allocations: 2.933 MB / 292.5 MB, free: 44.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/0.2144, allocations: 35.7 MB / 328.2 MB, free: 17.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.2175, allocations: 1.642 MB / 329.8 MB, free: 16.03 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/0.218, allocations: 426.7 kB / 330.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004058/0.222, allocations: 4.238 MB / 334.5 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.222, allocations: 51.56 kB / 334.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=167): time 2.985e-06/0.222, allocations: 0 / 334.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=176): time 0.009767/0.2318, allocations: 5.48 MB / 340 MB, free: 5.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.2318, allocations: 145.5 kB / 340.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.2337, allocations: 3.571 MB / 343.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/0.2337, allocations: 49.7 kB / 343.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.2348, allocations: 3.674 MB / 347.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.2352, allocations: 0.725 MB / 348.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009799/0.2362, allocations: 1.287 MB / 349.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.2363, allocations: 301.1 kB / 349.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.2374, allocations: 0.8273 MB / 350.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002873/0.2403, allocations: 5 MB / 355.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/0.2445, allocations: 6.456 MB / 362 MB, free: 11.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-05/0.2445, allocations: 44 kB / 362.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.004452/0.2489, allocations: 4.635 MB / 366.7 MB, free: 6.965 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.249, allocations: 72.06 kB / 366.8 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.735e-05/0.2491, allocations: 156 kB / 366.9 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.2494, allocations: 263.6 kB / 367.2 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/0.2521, allocations: 1.747 MB / 368.9 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.2532, allocations: 1.607 MB / 370.6 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.2552, allocations: 311.7 kB / 370.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/0.2555, allocations: 368 kB / 371.2 MB, free: 2.363 MB / 314.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.001072/0.2565, allocations: 0.6876 MB / 371.9 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003079/0.2568, allocations: 235.7 kB / 372.1 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.2581, allocations: 1 MB / 373.1 MB, free: 420 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.2581, allocations: 20 kB / 373.2 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2581, allocations: 0 / 373.2 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.2581, allocations: 7.969 kB / 373.2 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/0.2637, allocations: 4.555 MB / 377.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.2637, allocations: 4 kB / 377.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009119/0.2646, allocations: 348.2 kB / 378.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.2652, allocations: 461.2 kB / 378.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.2654, allocations: 67.58 kB / 378.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.2655, allocations: 35.98 kB / 378.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.2665, allocations: 1.53 MB / 380.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2665, allocations: 11.11 kB / 380.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.2682, allocations: 1.949 MB / 382.1 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.2684, allocations: 43.92 kB / 382.1 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/0.269, allocations: 36 kB / 382.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.2691, allocations: 116.6 kB / 382.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.2692, allocations: 47.98 kB / 382.3 MB, free: 6.895 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009742/0.2702, allocations: 1.297 MB / 383.6 MB, free: 5.582 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2702, allocations: 4 kB / 383.6 MB, free: 5.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002831/0.273, allocations: 1.129 MB / 384.8 MB, free: 4.449 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.0003731/0.2734, allocations: 180.1 kB / 384.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.276, allocations: 2.77 MB / 387.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001755/0.2762, allocations: 114.8 kB / 387.8 MB, free: 1.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005686/0.2768, allocations: 0.5836 MB / 388.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.2784, allocations: 0.9449 MB / 389.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/0.2914, allocations: 8.884 MB / 398.2 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.2926, allocations: 1.446 MB / 399.7 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001248/0.2939, allocations: 0.552 MB / 400.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008258/0.2947, allocations: 0.5832 MB / 400.8 MB, free: 4.184 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2947, allocations: 0 / 400.8 MB, free: 4.184 MB / 346.7 MB Notification: Performance of Templates: time 0.1448/0.4395, allocations: 32.82 MB / 433.6 MB, free: 109.7 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 -emit_protected -ignoreHideResult -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.6854332694783807]