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.001862/0.001862, allocations: 92.47 kB / 20.95 MB, free: 472 kB / 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.002321/0.002321, allocations: 154.4 kB / 24.25 MB, free: 3.512 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.474/1.474, allocations: 173.3 MB / 200.8 MB, free: 12.76 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 2.094e-06/2.094e-06, allocations: 0 / 267.3 MB, free: 10.22 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.341e-05/3.551e-05, allocations: 5.125 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.02432/0.02435, allocations: 11.48 MB / 278.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.04078, allocations: 4.103 MB / 282.9 MB, free: 10.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00498/0.04576, allocations: 95.56 kB / 283 MB, free: 10.47 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01328/0.05903, allocations: 3.878 MB / 286.9 MB, free: 6.578 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01055/0.06958, allocations: 2.157 MB / 289 MB, free: 4.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.07297, allocations: 0.7485 MB / 289.8 MB, free: 3.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.08376, allocations: 4.617 MB / 294.4 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008555/0.09231, allocations: 4.003 MB / 298.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007959/0.1003, allocations: 2.795 MB / 301.2 MB, free: 8.152 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00502/0.1053, allocations: 2.537 MB / 303.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.1063, allocations: 424 kB / 304.1 MB, free: 5.195 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.1089, allocations: 1.092 MB / 305.2 MB, free: 4.102 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.1113, allocations: 2.388 MB / 307.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.1137, allocations: 1.55 MB / 309.2 MB, free: 156 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1418/0.2555, allocations: 8.268 MB / 317.4 MB, free: 24.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2555, allocations: 0 / 317.4 MB, free: 24.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2555, allocations: 0 / 317.4 MB, free: 24.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000402/0.2559, allocations: 0 / 317.4 MB, free: 24.39 MB / 286.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.02486/0.2807, allocations: 6.436 MB / 323.9 MB, free: 22.17 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.2808, allocations: 9.141 kB / 323.9 MB, free: 22.17 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007983/0.2887, allocations: 2.568 MB / 326.4 MB, free: 21.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.294, allocations: 2.644 MB / 329.1 MB, free: 21.11 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.2941, allocations: 296.3 kB / 329.4 MB, free: 21.1 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007946/0.2949, allocations: 395.9 kB / 329.8 MB, free: 21.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.3168, allocations: 12.44 MB / 342.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.3169, allocations: 56.05 kB / 342.3 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006354/0.3176, allocations: 184.4 kB / 342.4 MB, free: 13.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003562/0.3211, allocations: 2.262 MB / 344.7 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02258/0.3437, allocations: 11.33 MB / 356 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07359/0.4173, allocations: 44.15 MB / 400.2 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02035/0.4376, allocations: 4.941 MB / 405.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005429/0.4431, allocations: 3.076 MB / 408.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007086/0.4438, allocations: 149 kB / 408.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.4438, allocations: 55.86 kB / 408.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=200): time 5.891e-06/0.4438, allocations: 0 / 408.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=231): time 0.09392/0.5378, allocations: 27.99 MB / 436.4 MB, free: 15.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.5379, allocations: 158 kB / 436.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008046/0.5459, allocations: 4.122 MB / 440.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008407/0.5468, allocations: 67.8 kB / 440.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00337/0.5502, allocations: 3.604 MB / 444.3 MB, free: 7.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001698/0.5519, allocations: 0.9027 MB / 445.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/0.5547, allocations: 1.475 MB / 446.7 MB, free: 4.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5548, allocations: 305.1 kB / 447 MB, free: 4.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005833/0.5607, allocations: 3.296 MB / 450.3 MB, free: 1.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1302/0.6908, allocations: 7.245 MB / 457.6 MB, free: 125.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/0.7024, allocations: 11.37 MB / 468.9 MB, free: 117.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/0.7025, allocations: 43.12 kB / 469 MB, free: 117.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.01885/0.7214, allocations: 11.78 MB / 480.8 MB, free: 111.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-05/0.7215, allocations: 68 kB / 480.8 MB, free: 111.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/0.7216, allocations: 143.7 kB / 481 MB, free: 111.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002579/0.7242, allocations: 1.123 MB / 482.1 MB, free: 110.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/0.7302, allocations: 1.764 MB / 483.8 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/0.7367, allocations: 6.173 MB / 490 MB, free: 103.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005919/0.7426, allocations: 453.8 kB / 490.5 MB, free: 103.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/0.7437, allocations: 466.1 kB / 490.9 MB, free: 102.9 MB / 382.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.003784/0.7475, allocations: 2.363 MB / 493.3 MB, free: 100.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/0.7485, allocations: 436.7 kB / 493.7 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008629/0.7571, allocations: 6.114 MB / 499.8 MB, free: 94.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.7571, allocations: 28 kB / 499.9 MB, free: 94.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.679e-06/0.7571, allocations: 4 kB / 499.9 MB, free: 94.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.7572, allocations: 7.969 kB / 499.9 MB, free: 94.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/0.775, allocations: 11.44 MB / 0.4993 GB, free: 82.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.775, allocations: 0 / 0.4993 GB, free: 82.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/0.7778, allocations: 0.5698 MB / 0.4999 GB, free: 82.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/0.7801, allocations: 0.9585 MB / 0.5008 GB, free: 81.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003964/0.7805, allocations: 96.83 kB / 0.5009 GB, free: 81.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.7867, allocations: 5.926 MB / 0.5067 GB, free: 75.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7867, allocations: 4 kB / 0.5067 GB, free: 75.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.7998, allocations: 10.42 MB / 0.5169 GB, free: 64.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002255/0.8021, allocations: 0.7968 MB / 0.5176 GB, free: 64.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007108/0.8028, allocations: 45.94 kB / 0.5177 GB, free: 64.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/0.8051, allocations: 199.7 kB / 0.5179 GB, free: 64.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004883/0.8055, allocations: 205.5 kB / 0.5181 GB, free: 63.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/0.8058, allocations: 117 kB / 0.5182 GB, free: 63.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003618/0.8094, allocations: 2.388 MB / 0.5205 GB, free: 61.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.8094, allocations: 0 / 0.5205 GB, free: 61.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.008582/0.818, allocations: 1.279 MB / 0.5218 GB, free: 60.1 MB / 382.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.0006679/0.8187, allocations: 217.7 kB / 0.522 GB, free: 59.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01009/0.8288, allocations: 7.509 MB / 0.5293 GB, free: 52.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.8288, allocations: 5.156 kB / 0.5293 GB, free: 52.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003513/0.8323, allocations: 2.811 MB / 0.5321 GB, free: 49.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.8353, allocations: 0.5072 MB / 0.5326 GB, free: 49.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01843/0.8537, allocations: 12.11 MB / 0.5444 GB, free: 36.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003246/0.857, allocations: 3.137 MB / 0.5474 GB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004867/0.8618, allocations: 2.239 MB / 0.5496 GB, free: 31.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.8633, allocations: 456.1 kB / 0.5501 GB, free: 31.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.8633, allocations: 0 / 0.5501 GB, free: 31.06 MB / 382.1 MB Notification: Performance of Templates: time 0.2056/1.069, allocations: 49.31 MB / 0.5982 GB, free: 112.8 MB / 382.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: 7.068308979272842]