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.001484/0.001484, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001559/0.001559, allocations: 157.7 kB / 24.27 MB, free: 176 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 1.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.921e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01562/0.01565, allocations: 11.36 MB / 283.7 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009793/0.02545, allocations: 4.111 MB / 287.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.02746, allocations: 99.5 kB / 287.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1309/0.1584, allocations: 3.848 MB / 291.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009835/0.1682, allocations: 2.104 MB / 293.8 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.1707, allocations: 0.7544 MB / 294.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008855/0.1796, allocations: 4.637 MB / 299.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00593/0.1855, allocations: 3.98 MB / 303.2 MB, free: 12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007591/0.1931, allocations: 2.756 MB / 306 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.1966, allocations: 2.503 MB / 308.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007887/0.1974, allocations: 413.4 kB / 308.9 MB, free: 9.656 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.1995, allocations: 1.094 MB / 310 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.2012, allocations: 2.342 MB / 312.3 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.203, allocations: 1.516 MB / 313.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008219/0.2112, allocations: 8.128 MB / 322 MB, free: 14.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.2112, allocations: 0 / 322 MB, free: 14.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2113, allocations: 4 kB / 322 MB, free: 14.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002834/0.2115, allocations: 0 / 322 MB, free: 14.26 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.02324/0.2348, allocations: 6.385 MB / 328.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.2348, allocations: 12.02 kB / 328.4 MB, free: 7.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008664/0.2435, allocations: 2.577 MB / 330.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006719/0.2502, allocations: 2.643 MB / 333.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.2505, allocations: 286 kB / 333.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00149/0.252, allocations: 396.5 kB / 334.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02788/0.2799, allocations: 12.27 MB / 346.5 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002823/0.2802, allocations: 46.36 kB / 346.6 MB, free: 5.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/0.2818, allocations: 185.6 kB / 346.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005067/0.2868, allocations: 2.187 MB / 348.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02698/0.3138, allocations: 11.19 MB / 360.1 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07385/0.3877, allocations: 43.25 MB / 403.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01912/0.4068, allocations: 4.944 MB / 408.3 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005238/0.412, allocations: 3.07 MB / 411.4 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006821/0.4127, allocations: 149 kB / 411.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.899e-05/0.4128, allocations: 55.81 kB / 411.6 MB, free: 3.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 4.939e-06/0.4128, allocations: 0 / 411.6 MB, free: 3.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.2076/0.6204, allocations: 27.92 MB / 439.5 MB, free: 117.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.6205, allocations: 154.9 kB / 439.7 MB, free: 117.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005683/0.6262, allocations: 4.105 MB / 443.8 MB, free: 115.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005554/0.6267, allocations: 65.48 kB / 443.8 MB, free: 115.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001737/0.6285, allocations: 3.545 MB / 447.4 MB, free: 113.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009635/0.6294, allocations: 0.9073 MB / 448.3 MB, free: 112.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.6311, allocations: 1.468 MB / 449.7 MB, free: 111.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.6311, allocations: 304.8 kB / 450 MB, free: 111.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/0.6348, allocations: 3.297 MB / 453.3 MB, free: 110.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/0.6397, allocations: 7.225 MB / 460.6 MB, free: 104.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.6498, allocations: 11.32 MB / 471.9 MB, free: 95.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.6499, allocations: 40 kB / 471.9 MB, free: 95.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01824/0.6682, allocations: 11.76 MB / 483.7 MB, free: 84.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.6683, allocations: 68.06 kB / 483.7 MB, free: 83.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.6685, allocations: 140 kB / 483.9 MB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.6712, allocations: 1.141 MB / 485 MB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0065/0.6777, allocations: 1.755 MB / 486.8 MB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006644/0.6844, allocations: 6.18 MB / 493 MB, free: 74.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006341/0.6907, allocations: 453.4 kB / 493.4 MB, free: 74.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/0.692, allocations: 471.8 kB / 493.9 MB, free: 73.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * 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.004616/0.6966, allocations: 2.322 MB / 496.2 MB, free: 71.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/0.6982, allocations: 437.6 kB / 496.6 MB, free: 71.01 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009286/0.7075, allocations: 6.107 MB / 0.4909 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.176e-05/0.7075, allocations: 24 kB / 0.491 GB, free: 64.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.7076, allocations: 8 kB / 0.491 GB, free: 64.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/0.7076, allocations: 11.95 kB / 0.491 GB, free: 64.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/0.7265, allocations: 11.14 MB / 0.5019 GB, free: 53.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.7265, allocations: 4 kB / 0.5019 GB, free: 53.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/0.7292, allocations: 0.5694 MB / 0.5024 GB, free: 53.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.7318, allocations: 0.9676 MB / 0.5034 GB, free: 52.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003579/0.7321, allocations: 99.89 kB / 0.5035 GB, free: 52.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006455/0.7386, allocations: 5.925 MB / 0.5092 GB, free: 46.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7386, allocations: 4 kB / 0.5092 GB, free: 46.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.752, allocations: 10.42 MB / 0.5194 GB, free: 35.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002331/0.7544, allocations: 0.7979 MB / 0.5202 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/0.7556, allocations: 47.98 kB / 0.5202 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003087/0.7586, allocations: 199.7 kB / 0.5204 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000654/0.7593, allocations: 201.6 kB / 0.5206 GB, free: 34.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003634/0.7597, allocations: 111.9 kB / 0.5207 GB, free: 34.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00404/0.7637, allocations: 2.391 MB / 0.5231 GB, free: 31.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7637, allocations: 0 / 0.5231 GB, free: 31.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007092/0.7708, allocations: 1.242 MB / 0.5243 GB, free: 30.61 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.0008829/0.7717, allocations: 204.9 kB / 0.5245 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01079/0.7825, allocations: 7.514 MB / 0.5318 GB, free: 22.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.7825, allocations: 3.938 kB / 0.5318 GB, free: 22.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00423/0.7867, allocations: 2.814 MB / 0.5346 GB, free: 20.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005097/0.7918, allocations: 0.4929 MB / 0.5351 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/0.8122, allocations: 12.22 MB / 0.547 GB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004849/0.8171, allocations: 3.102 MB / 0.55 GB, free: 4.184 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005829/0.8229, allocations: 2.219 MB / 0.5522 GB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00202/0.8249, allocations: 452.1 kB / 0.5526 GB, free: 1.516 MB / 378.7 MB Notification: Performance of SimCode: time 2.004e-06/0.8249, allocations: 0 / 0.5526 GB, free: 1.516 MB / 378.7 MB Notification: Performance of Templates: time 0.2039/1.029, allocations: 49.2 MB / 0.6007 GB, free: 99.64 MB / 394.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.06873415899463]