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.001472/0.001472, allocations: 88.64 kB / 20.96 MB, free: 3.449 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.001501/0.001501, allocations: 149.1 kB / 24.25 MB, free: 160 kB / 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 1.512/1.512, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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 1.864e-06/1.864e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.992e-05, allocations: 2.312 kB / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01696/0.01699, allocations: 11.5 MB / 278.8 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02718, allocations: 4.096 MB / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.02921, allocations: 95.56 kB / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008713/0.03792, allocations: 3.882 MB / 286.9 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006637/0.04456, allocations: 2.157 MB / 289 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.0467, allocations: 0.7446 MB / 289.8 MB, free: 172 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1284/0.1751, allocations: 4.599 MB / 294.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007188/0.1823, allocations: 4.015 MB / 298.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006649/0.189, allocations: 2.789 MB / 301.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.1933, allocations: 2.525 MB / 303.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.1946, allocations: 419.2 kB / 304.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.1976, allocations: 1.107 MB / 305.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003207/0.2008, allocations: 2.395 MB / 307.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003623/0.2044, allocations: 1.548 MB / 309.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007487/0.2119, allocations: 8.286 MB / 317.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2119, allocations: 4 kB / 317.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2119, allocations: 0 / 317.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000209/0.2121, allocations: 0 / 317.5 MB, free: 4.895 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.01814/0.2303, allocations: 6.424 MB / 323.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2303, allocations: 12.91 kB / 323.9 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008365/0.2387, allocations: 2.578 MB / 326.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00615/0.2448, allocations: 2.648 MB / 329.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.2452, allocations: 295.2 kB / 329.4 MB, free: 9.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.2464, allocations: 399.3 kB / 329.8 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02795/0.2744, allocations: 12.44 MB / 342.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.2745, allocations: 44.48 kB / 342.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006868/0.2752, allocations: 194.2 kB / 342.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005073/0.2803, allocations: 2.262 MB / 344.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02787/0.3082, allocations: 11.34 MB / 356.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07234/0.3805, allocations: 43.6 MB / 399.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/0.4006, allocations: 4.951 MB / 404.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005435/0.406, allocations: 3.069 MB / 407.7 MB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.4067, allocations: 147.7 kB / 407.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.147e-05/0.4068, allocations: 62.62 kB / 407.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=200): time 5.06e-06/0.4068, allocations: 0 / 407.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.2144/0.6212, allocations: 27.99 MB / 435.9 MB, free: 124 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.6212, allocations: 152.5 kB / 436 MB, free: 123.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005761/0.627, allocations: 4.12 MB / 440.2 MB, free: 122.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006484/0.6276, allocations: 62.08 kB / 440.2 MB, free: 122.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001882/0.6295, allocations: 3.591 MB / 443.8 MB, free: 121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.6308, allocations: 0.9101 MB / 444.7 MB, free: 120.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/0.6329, allocations: 1.475 MB / 446.2 MB, free: 119.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.633, allocations: 305.1 kB / 446.5 MB, free: 119.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00427/0.6372, allocations: 3.3 MB / 449.8 MB, free: 118.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005482/0.6427, allocations: 7.244 MB / 457 MB, free: 112.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.6535, allocations: 11.33 MB / 468.4 MB, free: 104 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/0.6536, allocations: 42.91 kB / 468.4 MB, free: 103.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01711/0.6707, allocations: 11.79 MB / 480.2 MB, free: 94.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.049e-05/0.6708, allocations: 68.12 kB / 480.3 MB, free: 93.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/0.6709, allocations: 144 kB / 480.4 MB, free: 93.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/0.6735, allocations: 1.14 MB / 481.6 MB, free: 92.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00571/0.6792, allocations: 1.762 MB / 483.3 MB, free: 90.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006377/0.6856, allocations: 6.177 MB / 489.5 MB, free: 84.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005748/0.6913, allocations: 439.6 kB / 489.9 MB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/0.6925, allocations: 467.8 kB / 490.4 MB, free: 83.74 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.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 (837): * Single equations (assignments): 833 * 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.004305/0.6968, allocations: 2.364 MB / 492.7 MB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001847/0.6986, allocations: 445.5 kB / 493.2 MB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009691/0.7083, allocations: 6.1 MB / 499.3 MB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.484e-05/0.7084, allocations: 31.94 kB / 499.3 MB, free: 74.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/0.7084, allocations: 4 kB / 499.3 MB, free: 74.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/0.7084, allocations: 11.97 kB / 499.3 MB, free: 74.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01929/0.7277, allocations: 11.17 MB / 0.4985 GB, free: 63.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.887e-05/0.7277, allocations: 4 kB / 0.4985 GB, free: 63.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/0.7303, allocations: 0.5616 MB / 0.4991 GB, free: 63.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002436/0.7328, allocations: 0.9721 MB / 0.5 GB, free: 62.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003581/0.7331, allocations: 103.8 kB / 0.5001 GB, free: 61.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00603/0.7392, allocations: 5.921 MB / 0.5059 GB, free: 55.94 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.7392, allocations: 4 kB / 0.5059 GB, free: 55.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/0.7516, allocations: 10.43 MB / 0.5161 GB, free: 45.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/0.7537, allocations: 0.7997 MB / 0.5169 GB, free: 44.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009616/0.7547, allocations: 44 kB / 0.5169 GB, free: 44.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002609/0.7573, allocations: 199.7 kB / 0.5171 GB, free: 44.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005405/0.7578, allocations: 201.6 kB / 0.5173 GB, free: 44.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002855/0.7581, allocations: 123.8 kB / 0.5174 GB, free: 44.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003763/0.7619, allocations: 2.387 MB / 0.5198 GB, free: 41.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7619, allocations: 0 / 0.5198 GB, free: 41.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006449/0.7683, allocations: 1.277 MB / 0.521 GB, free: 40.46 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.0008957/0.7692, allocations: 210.6 kB / 0.5212 GB, free: 40.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0102/0.7794, allocations: 7.516 MB / 0.5285 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.964e-06/0.7794, allocations: 0 / 0.5285 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003554/0.783, allocations: 2.823 MB / 0.5313 GB, free: 29.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003435/0.7864, allocations: 0.502 MB / 0.5318 GB, free: 29.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/0.803, allocations: 12.33 MB / 0.5438 GB, free: 17.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002917/0.8059, allocations: 3.137 MB / 0.5469 GB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004484/0.8104, allocations: 2.226 MB / 0.5491 GB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/0.8117, allocations: 452.1 kB / 0.5495 GB, free: 11.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.673e-06/0.8117, allocations: 4 kB / 0.5495 GB, free: 11.18 MB / 378.7 MB Notification: Performance of Templates: time 0.1881/0.9998, allocations: 49.43 MB / 0.5978 GB, free: 90.66 MB / 378.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.016976154991426]