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.00181/0.00181, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002061/0.002061, allocations: 179.7 kB / 23.7 MB, free: 4.414 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.459/1.459, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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 0.002765/0.002765, allocations: 43.92 kB / 370.9 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2804, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01587/0.2963, allocations: 11.47 MB / 434.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009951/0.3062, allocations: 4.085 MB / 438.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.3083, allocations: 99.5 kB / 438.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007513/0.3158, allocations: 3.633 MB / 442.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00558/0.3214, allocations: 2.081 MB / 444.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.3234, allocations: 0.6941 MB / 445.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006329/0.3297, allocations: 4.227 MB / 449.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005796/0.3355, allocations: 3.63 MB / 453 MB, free: 396 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003863/0.3393, allocations: 1.877 MB / 454.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00464/0.344, allocations: 2.476 MB / 457.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001352/0.3453, allocations: 416 kB / 457.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.3482, allocations: 1.042 MB / 458.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003138/0.3513, allocations: 2.302 MB / 461.1 MB, free: 8.262 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004016/0.3553, allocations: 1.961 MB / 463.1 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.3672, allocations: 8.291 MB / 471.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3672, allocations: 0 / 471.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3672, allocations: 0 / 471.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003252/0.3675, allocations: 4 kB / 471.4 MB, free: 13.96 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02092/0.3885, allocations: 6.284 MB / 477.6 MB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.3885, allocations: 11.97 kB / 477.6 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007333/0.3958, allocations: 1.986 MB / 479.6 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/0.4028, allocations: 2.651 MB / 482.3 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.4031, allocations: 295.5 kB / 482.6 MB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/0.4045, allocations: 391.8 kB / 483 MB, free: 2.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.4289, allocations: 12.36 MB / 495.3 MB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.4291, allocations: 47.64 kB / 495.4 MB, free: 5.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000545/0.4296, allocations: 191.8 kB / 495.6 MB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004483/0.4341, allocations: 2.256 MB / 497.8 MB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0246/0.4587, allocations: 11.26 MB / 0.4971 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2835/0.7422, allocations: 43.81 MB / 0.5399 GB, free: 79.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0154/0.7576, allocations: 4.718 MB / 0.5445 GB, free: 79.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/0.761, allocations: 3.059 MB / 0.5475 GB, free: 79.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.7615, allocations: 134.1 kB / 0.5476 GB, free: 79.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.7615, allocations: 60.09 kB / 0.5477 GB, free: 79.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 4.749e-06/0.7615, allocations: 1.469 kB / 0.5477 GB, free: 79.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06343/0.825, allocations: 26.89 MB / 0.574 GB, free: 60.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.825, allocations: 154.5 kB / 0.5741 GB, free: 59.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004136/0.8292, allocations: 4.031 MB / 0.578 GB, free: 56.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004856/0.8296, allocations: 61.7 kB / 0.5781 GB, free: 56.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.8311, allocations: 3.635 MB / 0.5817 GB, free: 52.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007483/0.8319, allocations: 0.9116 MB / 0.5825 GB, free: 51.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.8333, allocations: 1.463 MB / 0.584 GB, free: 50.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.8334, allocations: 305.1 kB / 0.5843 GB, free: 50 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003478/0.8369, allocations: 3.292 MB / 0.5875 GB, free: 46.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/0.8417, allocations: 7.244 MB / 0.5946 GB, free: 37.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009851/0.8516, allocations: 11.35 MB / 0.6056 GB, free: 24.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/0.8517, allocations: 40 kB / 0.6057 GB, free: 24.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01681/0.8685, allocations: 11.38 MB / 0.6168 GB, free: 13.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.8686, allocations: 64 kB / 0.6168 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002012/0.8688, allocations: 136 kB / 0.617 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/0.8714, allocations: 1.129 MB / 0.6181 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005543/0.8769, allocations: 1.727 MB / 0.6198 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.8834, allocations: 6.167 MB / 0.6258 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00519/0.8886, allocations: 403.7 kB / 0.6262 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001139/0.8897, allocations: 459.4 kB / 0.6266 GB, free: 2.883 MB / 446.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.004146/0.8939, allocations: 2.353 MB / 0.6289 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/0.895, allocations: 369.5 kB / 0.6293 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/0.9072, allocations: 6.057 MB / 0.6352 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.526e-05/0.9072, allocations: 27.98 kB / 0.6352 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-05/0.9072, allocations: 4 kB / 0.6352 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.861e-05/0.9073, allocations: 7.969 kB / 0.6352 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0271/0.9344, allocations: 11.3 MB / 0.6463 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.162e-05/0.9344, allocations: 4 kB / 0.6463 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003187/0.9376, allocations: 0.5343 MB / 0.6468 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002878/0.9405, allocations: 0.949 MB / 0.6477 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005811/0.941, allocations: 83.89 kB / 0.6478 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008742/0.9498, allocations: 5.9 MB / 0.6535 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/0.9498, allocations: 7.938 kB / 0.6536 GB, free: 7.148 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/0.9675, allocations: 10.3 MB / 0.6636 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/0.9702, allocations: 0.7668 MB / 0.6644 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/0.9713, allocations: 40 kB / 0.6644 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/0.9744, allocations: 159.7 kB / 0.6646 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007596/0.9751, allocations: 193.5 kB / 0.6647 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004658/0.9756, allocations: 103.9 kB / 0.6648 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005171/0.9808, allocations: 2.326 MB / 0.6671 GB, free: 9.23 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.9808, allocations: 0 / 0.6671 GB, free: 9.23 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007632/0.9884, allocations: 1.207 MB / 0.6683 GB, free: 8.023 MB / 494.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.001013/0.9894, allocations: 183.4 kB / 0.6685 GB, free: 7.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01516/1.005, allocations: 7.494 MB / 0.6758 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/1.005, allocations: 0 / 0.6758 GB, free: 372 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005631/1.01, allocations: 2.792 MB / 0.6785 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004384/1.015, allocations: 446.3 kB / 0.6789 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02698/1.042, allocations: 12.06 MB / 0.6907 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005895/1.047, allocations: 3.145 MB / 0.6938 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005876/1.053, allocations: 2.235 MB / 0.696 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/1.055, allocations: 395 kB / 0.6963 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/1.055, allocations: 3.938 kB / 0.6963 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.3162/1.371, allocations: 53.71 MB / 0.7488 GB, free: 199.3 MB / 0.545 GB " [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.363960089161992]