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.001904/0.001904, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002296/0.002296, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 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 0.001782/0.001782, allocations: 43.94 kB / 378.3 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2946, allocations: 53.36 MB / 431.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01612/0.3108, allocations: 13.08 MB / 444.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3211, allocations: 4.342 MB / 449 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.3239, allocations: 91.56 kB / 449.1 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007929/0.3318, allocations: 3.765 MB / 452.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006323/0.3381, allocations: 2.031 MB / 454.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.3402, allocations: 0.7058 MB / 455.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006638/0.3468, allocations: 4.214 MB / 459.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00508/0.3519, allocations: 3.63 MB / 463.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.3547, allocations: 1.861 MB / 465.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003666/0.3584, allocations: 2.632 MB / 468 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007216/0.3591, allocations: 411.9 kB / 468.4 MB, free: 2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.3612, allocations: 1.166 MB / 469.5 MB, free: 0.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.3633, allocations: 2.248 MB / 471.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002632/0.366, allocations: 2.571 MB / 474.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009295/0.3753, allocations: 8.112 MB / 482.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3753, allocations: 0 / 482.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3753, allocations: 0 / 482.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002504/0.3755, allocations: 0 / 482.5 MB, free: 3.848 MB / 382.1 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.02325/0.3988, allocations: 6.245 MB / 488.7 MB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.3988, allocations: 8.031 kB / 488.7 MB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007901/0.4067, allocations: 1.99 MB / 490.7 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008529/0.4152, allocations: 2.616 MB / 493.3 MB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/0.4155, allocations: 283.5 kB / 493.6 MB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/0.4172, allocations: 391.8 kB / 494 MB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02492/0.4421, allocations: 12.18 MB / 0.4943 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.4423, allocations: 47.58 kB / 0.4943 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005283/0.4428, allocations: 179.9 kB / 0.4945 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004255/0.4471, allocations: 2.19 MB / 0.4967 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02449/0.4716, allocations: 11.15 MB / 0.5075 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3432/0.8148, allocations: 46.31 MB / 0.5528 GB, free: 70.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.831, allocations: 4.717 MB / 0.5574 GB, free: 70.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00357/0.8345, allocations: 3.068 MB / 0.5604 GB, free: 68.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005045/0.8351, allocations: 144.7 kB / 0.5605 GB, free: 68.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.8351, allocations: 54 kB / 0.5606 GB, free: 68.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.499e-06/0.8351, allocations: 5.594 kB / 0.5606 GB, free: 68.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.0724/0.9075, allocations: 26.79 MB / 0.5867 GB, free: 49.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.9076, allocations: 153.7 kB / 0.5869 GB, free: 49.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/0.9129, allocations: 4.498 MB / 0.5913 GB, free: 44.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006546/0.9135, allocations: 61.7 kB / 0.5913 GB, free: 44.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/0.9152, allocations: 3.56 MB / 0.5948 GB, free: 41.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009433/0.9161, allocations: 0.9124 MB / 0.5957 GB, free: 40.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/0.9177, allocations: 1.453 MB / 0.5971 GB, free: 38.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.9178, allocations: 313.1 kB / 0.5974 GB, free: 38.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003617/0.9214, allocations: 3.277 MB / 0.6006 GB, free: 35.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/0.9265, allocations: 7.228 MB / 0.6077 GB, free: 26.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.9369, allocations: 11.32 MB / 0.6187 GB, free: 13.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-05/0.937, allocations: 40.69 kB / 0.6188 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=873) (initialization): time 0.01843/0.9555, allocations: 11.41 MB / 0.6299 GB, free: 1.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.9556, allocations: 64 kB / 0.63 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/0.9558, allocations: 136 kB / 0.6301 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/0.9584, allocations: 1.137 MB / 0.6312 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007249/0.9657, allocations: 1.715 MB / 0.6329 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.9759, allocations: 6.239 MB / 0.639 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006458/0.9823, allocations: 403.6 kB / 0.6394 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/0.9841, allocations: 451.8 kB / 0.6398 GB, free: 7.355 MB / 462.1 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.005991/0.9901, allocations: 2.322 MB / 0.6421 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001475/0.9916, allocations: 421.2 kB / 0.6425 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/1.004, allocations: 6.104 MB / 0.6484 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.298e-05/1.004, allocations: 28 kB / 0.6485 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/1.004, allocations: 12.36 kB / 0.6485 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/1.004, allocations: 7.969 kB / 0.6485 GB, free: 14.44 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02786/1.032, allocations: 12.71 MB / 0.6609 GB, free: 1.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/1.032, allocations: 8 kB / 0.6609 GB, free: 1.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003099/1.035, allocations: 0.5342 MB / 0.6614 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/1.038, allocations: 0.948 MB / 0.6623 GB, free: 180 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004101/1.039, allocations: 91.64 kB / 0.6624 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009224/1.048, allocations: 5.974 MB / 0.6683 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/1.048, allocations: 4 kB / 0.6683 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.066, allocations: 10.36 MB / 0.6784 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.069, allocations: 0.8367 MB / 0.6792 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/1.07, allocations: 47.92 kB / 0.6792 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003096/1.074, allocations: 155.8 kB / 0.6794 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007306/1.074, allocations: 189.6 kB / 0.6796 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004279/1.075, allocations: 103.9 kB / 0.6797 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.006655/1.081, allocations: 2.814 MB / 0.6824 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/1.081, allocations: 4 kB / 0.6824 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01012/1.091, allocations: 1.194 MB / 0.6836 GB, free: 10.24 MB / 0.4981 GB 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.001039/1.093, allocations: 186.7 kB / 0.6838 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01921/1.112, allocations: 7.477 MB / 0.6911 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.112, allocations: 8.062 kB / 0.6911 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007157/1.119, allocations: 2.789 MB / 0.6938 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005917/1.125, allocations: 0.4979 MB / 0.6943 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/1.152, allocations: 12.04 MB / 0.706 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005823/1.158, allocations: 3.632 MB / 0.7096 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006556/1.165, allocations: 2.289 MB / 0.7118 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/1.167, allocations: 419.1 kB / 0.7122 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/1.167, allocations: 0 / 0.7122 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.3357/1.502, allocations: 57.64 MB / 0.7685 GB, free: 182 MB / 0.545 GB " [Timeout remaining time 658] 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.877419512951747]