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.0009487/0.0009487, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009762/0.0009762, allocations: 143.2 kB / 24.98 MB, free: 8.316 MB / 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 0.9107/0.9107, allocations: 173.3 MB / 201.5 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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.633e-06/1.633e-06, allocations: 0 / 268.1 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.367e-05, allocations: 6.25 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.009945/0.009969, allocations: 12.75 MB / 280.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006694/0.01666, allocations: 4.205 MB / 285 MB, free: 5.688 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.0179, allocations: 99.5 kB / 285.1 MB, free: 5.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004044/0.02194, allocations: 3.991 MB / 289.1 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1095/0.1314, allocations: 2.157 MB / 291.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.1328, allocations: 0.7488 MB / 292 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004677/0.1375, allocations: 4.603 MB / 296.6 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004018/0.1415, allocations: 4.015 MB / 300.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.1449, allocations: 2.82 MB / 303.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002681/0.1476, allocations: 2.631 MB / 306.1 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006751/0.1482, allocations: 417 kB / 306.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.1495, allocations: 1.093 MB / 307.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001242/0.1507, allocations: 2.418 MB / 310 MB, free: 11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.1522, allocations: 1.562 MB / 311.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.1558, allocations: 5.225 MB / 316.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1558, allocations: 0 / 316.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1558, allocations: 0 / 316.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001825/0.156, allocations: 0 / 316.8 MB, free: 6.285 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.0121/0.1681, allocations: 6.834 MB / 323.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1681, allocations: 8.922 kB / 323.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006846/0.175, allocations: 2.511 MB / 326.2 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.1795, allocations: 2.438 MB / 328.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/0.1798, allocations: 293.9 kB / 328.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000969/0.1807, allocations: 399.4 kB / 329.3 MB, free: 10.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.1977, allocations: 7.349 MB / 336.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.1979, allocations: 48.94 kB / 336.7 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000577/0.1985, allocations: 188.6 kB / 336.9 MB, free: 1.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004001/0.2025, allocations: 2.258 MB / 339.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0161/0.2186, allocations: 4.288 MB / 343.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/0.2668, allocations: 48.77 MB / 392.2 MB, free: 9.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008844/0.2757, allocations: 2.716 MB / 394.9 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.2774, allocations: 0.9228 MB / 395.8 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.2778, allocations: 140.6 kB / 395.9 MB, free: 6.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.2778, allocations: 58.69 kB / 396 MB, free: 6.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=200): time 4.849e-06/0.2778, allocations: 112 / 396 MB, free: 6.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=231): time 0.03733/0.3152, allocations: 17.04 MB / 413 MB, free: 4.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.3152, allocations: 150.5 kB / 413.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003928/0.3191, allocations: 3.702 MB / 416.9 MB, free: 1.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.3193, allocations: 61.7 kB / 416.9 MB, free: 1.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.3211, allocations: 3.783 MB / 420.7 MB, free: 13.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007021/0.3218, allocations: 0.9436 MB / 421.7 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/0.3232, allocations: 1.574 MB / 423.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3233, allocations: 480.7 kB / 423.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.3251, allocations: 0.9265 MB / 424.6 MB, free: 9.363 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.115/0.4401, allocations: 6.77 MB / 431.4 MB, free: 113.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007175/0.4473, allocations: 8.55 MB / 440 MB, free: 105.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.219e-05/0.4474, allocations: 41 kB / 440 MB, free: 105.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01033/0.4577, allocations: 6.762 MB / 446.8 MB, free: 104.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.4578, allocations: 66.34 kB / 446.8 MB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/0.458, allocations: 139.3 kB / 447 MB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001619/0.4596, allocations: 0.6755 MB / 447.6 MB, free: 104.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/0.4627, allocations: 1.77 MB / 449.4 MB, free: 104.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003124/0.4659, allocations: 3.332 MB / 452.7 MB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.4687, allocations: 443.4 kB / 453.2 MB, free: 102.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/0.4691, allocations: 472.1 kB / 453.6 MB, free: 102.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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.001404/0.4705, allocations: 0.7173 MB / 454.4 MB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005828/0.4711, allocations: 442.8 kB / 454.8 MB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00396/0.4751, allocations: 2.772 MB / 457.6 MB, free: 102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.4751, allocations: 26.92 kB / 457.6 MB, free: 102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4751, allocations: 4.094 kB / 457.6 MB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4751, allocations: 13.05 kB / 457.6 MB, free: 102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009001/0.4841, allocations: 7.355 MB / 465 MB, free: 98.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.4841, allocations: 4 kB / 465 MB, free: 98.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.4855, allocations: 0.5675 MB / 465.5 MB, free: 97.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.4866, allocations: 0.5024 MB / 466 MB, free: 97.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/0.4868, allocations: 102.6 kB / 466.1 MB, free: 97.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002593/0.4894, allocations: 3.056 MB / 469.2 MB, free: 94.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4894, allocations: 4 kB / 469.2 MB, free: 94.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005105/0.4945, allocations: 4.033 MB / 473.2 MB, free: 90.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009283/0.4954, allocations: 0.7482 MB / 474 MB, free: 90.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003246/0.4958, allocations: 44 kB / 474 MB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.4969, allocations: 199.4 kB / 474.2 MB, free: 90.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.4972, allocations: 201.6 kB / 474.4 MB, free: 89.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.4973, allocations: 123.5 kB / 474.5 MB, free: 89.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.4989, allocations: 1.588 MB / 476.1 MB, free: 88.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4989, allocations: 3.938 kB / 476.1 MB, free: 88.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003519/0.5024, allocations: 1.273 MB / 477.4 MB, free: 86.87 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.0004171/0.5028, allocations: 215.5 kB / 477.6 MB, free: 86.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.5079, allocations: 3.918 MB / 481.5 MB, free: 82.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5079, allocations: 0 / 481.5 MB, free: 82.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001455/0.5094, allocations: 1.287 MB / 482.8 MB, free: 81.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.511, allocations: 0.4955 MB / 483.3 MB, free: 80.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5222, allocations: 9.327 MB / 492.6 MB, free: 71.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000978/0.5232, allocations: 1.433 MB / 494.1 MB, free: 70.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002684/0.5259, allocations: 1.871 MB / 495.9 MB, free: 68.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000946/0.5268, allocations: 456.1 kB / 496.4 MB, free: 67.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.114e-06/0.5268, allocations: 0 / 496.4 MB, free: 67.78 MB / 378.7 MB Notification: Performance of Templates: time 0.05424/0.5811, allocations: 49.77 MB / 0.5334 GB, free: 18.5 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 240] 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","",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.260119913844392]