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.001788/0.001788, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002079/0.002079, allocations: 147.2 kB / 23.94 MB, free: 4.16 MB / 14.72 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.416/1.416, allocations: 173.3 MB / 200.4 MB, free: 12.89 MB / 190.1 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 3.026e-06/3.026e-06, allocations: 1.5 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.753e-05, allocations: 2.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.0138/0.01383, allocations: 11.46 MB / 330.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009839/0.02367, allocations: 4.102 MB / 334.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.02594, allocations: 94.38 kB / 334.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007983/0.03393, allocations: 3.822 MB / 338.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006771/0.0407, allocations: 2.152 MB / 340.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.04281, allocations: 0.7402 MB / 341.3 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007185/0.04999, allocations: 4.614 MB / 345.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00627/0.05626, allocations: 3.904 MB / 349.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006041/0.0623, allocations: 2.795 MB / 352.6 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.06617, allocations: 2.537 MB / 355.2 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007072/0.06688, allocations: 416 kB / 355.6 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.06907, allocations: 1.108 MB / 356.7 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002405/0.07148, allocations: 2.388 MB / 359.1 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.07358, allocations: 1.542 MB / 360.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009727/0.08331, allocations: 8.27 MB / 368.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.08331, allocations: 0 / 368.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.08331, allocations: 0 / 368.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002158/0.08353, allocations: 0 / 368.9 MB, free: 9.566 MB / 334.1 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.02224/0.1058, allocations: 6.444 MB / 375.3 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1058, allocations: 8.922 kB / 375.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007452/0.1133, allocations: 2.033 MB / 377.4 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.1188, allocations: 2.616 MB / 380 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002493/0.1191, allocations: 291.6 kB / 380.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009768/0.12, allocations: 395.8 kB / 380.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02501/0.145, allocations: 12.45 MB / 393.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/0.1452, allocations: 47.58 kB / 393.1 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005905/0.1458, allocations: 187.8 kB / 393.3 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004686/0.1505, allocations: 2.249 MB / 395.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02655/0.177, allocations: 11.35 MB / 406.9 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0706/0.2476, allocations: 44.05 MB / 451 MB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01947/0.2671, allocations: 4.937 MB / 455.9 MB, free: 488 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004865/0.2719, allocations: 3.08 MB / 459 MB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.2726, allocations: 141 kB / 459.1 MB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/0.2727, allocations: 59.75 kB / 459.2 MB, free: 13.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=200): time 8.236e-06/0.2727, allocations: 3.984 kB / 459.2 MB, free: 13.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.2332/0.5059, allocations: 27.72 MB / 486.9 MB, free: 123.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.506, allocations: 154.9 kB / 487.1 MB, free: 123.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005992/0.5119, allocations: 4.118 MB / 491.2 MB, free: 121.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006041/0.5125, allocations: 69.05 kB / 491.2 MB, free: 121.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001654/0.5142, allocations: 3.603 MB / 494.8 MB, free: 119.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000905/0.5151, allocations: 0.9086 MB / 495.8 MB, free: 118.6 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/0.5167, allocations: 1.475 MB / 497.2 MB, free: 117.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.5168, allocations: 308.6 kB / 497.5 MB, free: 117.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/0.5205, allocations: 3.295 MB / 0.4891 GB, free: 116.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/0.5255, allocations: 7.248 MB / 0.4962 GB, free: 110.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009425/0.5349, allocations: 11.36 MB / 0.5073 GB, free: 99.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.848e-05/0.535, allocations: 40 kB / 0.5073 GB, free: 99.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.0161/0.5511, allocations: 11.44 MB / 0.5185 GB, free: 88.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.5512, allocations: 64 kB / 0.5185 GB, free: 88.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/0.5513, allocations: 140 kB / 0.5187 GB, free: 87.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002585/0.5539, allocations: 1.117 MB / 0.5198 GB, free: 86.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/0.5596, allocations: 1.766 MB / 0.5215 GB, free: 85.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006855/0.5665, allocations: 6.168 MB / 0.5275 GB, free: 78.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006088/0.5726, allocations: 447.6 kB / 0.5279 GB, free: 78.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/0.574, allocations: 463.8 kB / 0.5284 GB, free: 77.86 MB / 430.1 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.007659/0.5817, allocations: 2.366 MB / 0.5307 GB, free: 75.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/0.5837, allocations: 377.5 kB / 0.531 GB, free: 75.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009957/0.5937, allocations: 6.104 MB / 0.537 GB, free: 68.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-05/0.5937, allocations: 31.59 kB / 0.537 GB, free: 68.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.5937, allocations: 4 kB / 0.537 GB, free: 68.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.5937, allocations: 7.969 kB / 0.537 GB, free: 68.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/0.6113, allocations: 11.44 MB / 0.5482 GB, free: 57.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.6113, allocations: 4 kB / 0.5482 GB, free: 57.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002759/0.6141, allocations: 0.5771 MB / 0.5488 GB, free: 56.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/0.6165, allocations: 0.949 MB / 0.5497 GB, free: 55.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003589/0.6169, allocations: 103.9 kB / 0.5498 GB, free: 55.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.6229, allocations: 5.904 MB / 0.5556 GB, free: 49.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6229, allocations: 4 kB / 0.5556 GB, free: 49.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/0.6358, allocations: 10.35 MB / 0.5657 GB, free: 39.46 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002165/0.6379, allocations: 0.7941 MB / 0.5665 GB, free: 38.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006627/0.6386, allocations: 44 kB / 0.5665 GB, free: 38.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002328/0.6409, allocations: 207.1 kB / 0.5667 GB, free: 38.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005084/0.6414, allocations: 205.5 kB / 0.5669 GB, free: 38.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/0.6417, allocations: 115.9 kB / 0.567 GB, free: 38.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002716/0.6444, allocations: 2.392 MB / 0.5693 GB, free: 35.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6444, allocations: 0 / 0.5693 GB, free: 35.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005597/0.65, allocations: 1.273 MB / 0.5706 GB, free: 34.46 MB / 430.1 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.000634/0.6506, allocations: 216.2 kB / 0.5708 GB, free: 34.24 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009559/0.6602, allocations: 7.511 MB / 0.5781 GB, free: 26.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.6602, allocations: 0 / 0.5781 GB, free: 26.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003445/0.6636, allocations: 2.824 MB / 0.5809 GB, free: 23.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.6669, allocations: 447.3 kB / 0.5813 GB, free: 23.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/0.6832, allocations: 11.94 MB / 0.593 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/0.6862, allocations: 3.137 MB / 0.596 GB, free: 8.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004416/0.6906, allocations: 2.243 MB / 0.5982 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.692, allocations: 448.1 kB / 0.5987 GB, free: 5.633 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.692, allocations: 0 / 0.5987 GB, free: 5.633 MB / 430.1 MB Notification: Performance of Templates: time 0.2602/0.9522, allocations: 49.14 MB / 0.6466 GB, free: 141.2 MB / 462.1 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: 6.928379945456982]