Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.000982/0.000982, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009771/0.0009771, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.956/0.956, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.922e-05, allocations: 5.266 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009802/0.009821, allocations: 12.67 MB / 285.6 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006755/0.01658, allocations: 4.228 MB / 289.9 MB, free: 444 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.01776, allocations: 95.56 kB / 290 MB, free: 348 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.141/0.1588, allocations: 3.98 MB / 293.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004577/0.1634, allocations: 2.11 MB / 296.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1647, allocations: 0.7577 MB / 296.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005194/0.1699, allocations: 4.634 MB / 301.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004471/0.1744, allocations: 4 MB / 305.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003675/0.178, allocations: 2.773 MB / 308.2 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002636/0.1807, allocations: 2.605 MB / 310.8 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000759/0.1814, allocations: 411.6 kB / 311.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.1833, allocations: 1.092 MB / 312.3 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001378/0.1846, allocations: 2.361 MB / 314.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.1863, allocations: 1.525 MB / 316.2 MB, free: 3.977 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.1904, allocations: 5.109 MB / 321.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1904, allocations: 0 / 321.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1904, allocations: 0 / 321.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.1906, allocations: 0 / 321.3 MB, free: 15.21 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.01083/0.2014, allocations: 6.789 MB / 328.1 MB, free: 8.465 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2014, allocations: 8.031 kB / 328.1 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/0.2055, allocations: 2.505 MB / 330.6 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002852/0.2084, allocations: 2.437 MB / 333.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.2086, allocations: 286 kB / 333.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004754/0.209, allocations: 387.2 kB / 333.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009824/0.2189, allocations: 7.289 MB / 341 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.219, allocations: 43.59 kB / 341 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/0.2193, allocations: 189.2 kB / 341.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002454/0.2218, allocations: 2.194 MB / 343.4 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009201/0.231, allocations: 4.245 MB / 347.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03308/0.264, allocations: 48.43 MB / 396.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007855/0.2719, allocations: 2.714 MB / 398.8 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.2732, allocations: 0.924 MB / 399.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.2735, allocations: 151.5 kB / 399.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.2735, allocations: 58.7 kB / 399.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 5.34e-06/0.2735, allocations: 3.984 kB / 400 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.03459/0.3081, allocations: 16.97 MB / 416.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.3082, allocations: 150.5 kB / 417.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.3116, allocations: 3.69 MB / 420.8 MB, free: 10.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000172/0.3118, allocations: 69.64 kB / 420.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001708/0.3135, allocations: 3.732 MB / 424.6 MB, free: 6.312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006756/0.3141, allocations: 0.9492 MB / 425.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.3156, allocations: 1.568 MB / 427.1 MB, free: 3.797 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3157, allocations: 480.7 kB / 427.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.3172, allocations: 0.9187 MB / 428.5 MB, free: 2.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1394/0.4566, allocations: 6.746 MB / 435.2 MB, free: 104 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006678/0.4633, allocations: 8.509 MB / 443.7 MB, free: 96.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.725e-05/0.4634, allocations: 43.03 kB / 443.8 MB, free: 96.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01028/0.4737, allocations: 6.74 MB / 450.5 MB, free: 95.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.4737, allocations: 71.12 kB / 450.6 MB, free: 95.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.4738, allocations: 138.6 kB / 450.7 MB, free: 95.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.4754, allocations: 0.6807 MB / 451.4 MB, free: 95.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/0.4783, allocations: 1.75 MB / 453.1 MB, free: 95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/0.4812, allocations: 3.335 MB / 456.5 MB, free: 92.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.4838, allocations: 444.8 kB / 456.9 MB, free: 92.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/0.4842, allocations: 469.7 kB / 457.4 MB, free: 92.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.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 (834): * Single equations (assignments): 830 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001358/0.4856, allocations: 0.7102 MB / 458.1 MB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005687/0.4861, allocations: 442.7 kB / 458.5 MB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003722/0.4899, allocations: 2.77 MB / 461.3 MB, free: 92.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.4899, allocations: 23.86 kB / 461.3 MB, free: 92.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.4899, allocations: 3.906 kB / 461.3 MB, free: 92.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.4899, allocations: 14.98 kB / 461.3 MB, free: 92.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009094/0.499, allocations: 7.306 MB / 468.6 MB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.499, allocations: 7.25 kB / 468.6 MB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.5003, allocations: 0.5672 MB / 469.2 MB, free: 90.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.5015, allocations: 0.5019 MB / 469.7 MB, free: 89.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.5016, allocations: 101.6 kB / 469.8 MB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00248/0.5041, allocations: 3.064 MB / 472.9 MB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5041, allocations: 7.938 kB / 472.9 MB, free: 86.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.5091, allocations: 4.024 MB / 476.9 MB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009601/0.51, allocations: 0.7508 MB / 477.6 MB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/0.5103, allocations: 44 kB / 477.7 MB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.5113, allocations: 191.8 kB / 477.9 MB, free: 82.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/0.5116, allocations: 213.5 kB / 478.1 MB, free: 82.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.5118, allocations: 122.4 kB / 478.2 MB, free: 82.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001475/0.5132, allocations: 1.579 MB / 479.8 MB, free: 80.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.5132, allocations: 4 kB / 479.8 MB, free: 80.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003491/0.5167, allocations: 1.24 MB / 481 MB, free: 79.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (203): * Single equations (assignments): 199 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004006/0.5171, allocations: 209.7 kB / 481.2 MB, free: 79.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004693/0.5218, allocations: 3.907 MB / 485.1 MB, free: 75.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5218, allocations: 0 / 485.1 MB, free: 75.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.5232, allocations: 1.302 MB / 486.4 MB, free: 74.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5246, allocations: 0.4962 MB / 486.9 MB, free: 73.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009505/0.5341, allocations: 9.207 MB / 496.1 MB, free: 64.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009135/0.5351, allocations: 1.415 MB / 497.6 MB, free: 62.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002501/0.5376, allocations: 1.879 MB / 499.4 MB, free: 61.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008965/0.5385, allocations: 448.1 kB / 499.9 MB, free: 60.62 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5385, allocations: 0 / 499.9 MB, free: 60.62 MB / 378.7 MB Notification: Performance of Templates: time 0.05199/0.5904, allocations: 49.52 MB / 0.5365 GB, free: 11.63 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 4.377980408724397]