Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001906/0.001906, 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.002283/0.002283, allocations: 151.1 kB / 23.94 MB, free: 4.164 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.405/1.405, 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.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.192e-05, allocations: 7.438 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01087/0.0109, allocations: 9.784 MB / 328.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00973/0.02063, allocations: 3.658 MB / 332.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.02259, allocations: 73.97 kB / 332.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005903/0.0285, allocations: 2.757 MB / 335.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005371/0.03387, allocations: 1.92 MB / 337.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.03543, allocations: 0.6156 MB / 337.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006041/0.04147, allocations: 3.96 MB / 341.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004366/0.04583, allocations: 3.024 MB / 344.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004484/0.05032, allocations: 2.226 MB / 346.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.05413, allocations: 2.131 MB / 349.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008409/0.05497, allocations: 328 kB / 349.4 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.05733, allocations: 1.014 MB / 350.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002378/0.05971, allocations: 1.963 MB / 352.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.06183, allocations: 1.227 MB / 353.6 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009214/0.07105, allocations: 6.849 MB / 360.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.07105, allocations: 0 / 360.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.07105, allocations: 0 / 360.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001945/0.07125, allocations: 4 kB / 360.4 MB, free: 2.012 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01924/0.09049, allocations: 5.311 MB / 365.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.09053, allocations: 8.922 kB / 365.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007283/0.09782, allocations: 1.925 MB / 367.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/0.1025, allocations: 2.193 MB / 369.9 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.1027, allocations: 227.8 kB / 370.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007288/0.1035, allocations: 299.8 kB / 370.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01982/0.1233, allocations: 10.29 MB / 380.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.1234, allocations: 39.64 kB / 380.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004703/0.1239, allocations: 151.8 kB / 380.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00363/0.1275, allocations: 1.868 MB / 382.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01929/0.1468, allocations: 9.189 MB / 391.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04742/0.1942, allocations: 35.87 MB / 427.8 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.2081, allocations: 3.23 MB / 431 MB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/0.2106, allocations: 1.571 MB / 432.6 MB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005621/0.2112, allocations: 124.5 kB / 432.7 MB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.2112, allocations: 51.2 kB / 432.8 MB, free: 7.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=127): time 4.508e-06/0.2112, allocations: 0 / 432.8 MB, free: 7.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.04566/0.2569, allocations: 13.37 MB / 446.2 MB, free: 10.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.845e-05/0.257, allocations: 145.1 kB / 446.3 MB, free: 10.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/0.2628, allocations: 3.835 MB / 450.1 MB, free: 6.297 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002228/0.263, allocations: 41.7 kB / 450.2 MB, free: 6.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002328/0.2653, allocations: 3.167 MB / 453.3 MB, free: 3.051 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007166/0.266, allocations: 0.5584 MB / 453.9 MB, free: 2.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.2677, allocations: 1.171 MB / 455.1 MB, free: 1.305 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2678, allocations: 309.1 kB / 455.4 MB, free: 1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/0.271, allocations: 1.959 MB / 457.3 MB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006193/0.2772, allocations: 5.668 MB / 463 MB, free: 7.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1722/0.4493, allocations: 8.281 MB / 471.3 MB, free: 121.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/0.4495, allocations: 37.44 kB / 471.3 MB, free: 121.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.01432/0.4638, allocations: 8.073 MB / 479.4 MB, free: 119.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.4639, allocations: 61.66 kB / 479.4 MB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/0.4641, allocations: 132.7 kB / 479.6 MB, free: 119.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002716/0.4668, allocations: 0.9076 MB / 480.5 MB, free: 119.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004196/0.471, allocations: 1.33 MB / 481.8 MB, free: 119.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006577/0.4776, allocations: 5.025 MB / 486.8 MB, free: 116.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/0.4829, allocations: 338.7 kB / 487.2 MB, free: 116.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008825/0.4838, allocations: 373 kB / 487.5 MB, free: 116.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (702): * Single equations (assignments): 698 * 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.002641/0.4864, allocations: 2.02 MB / 489.6 MB, free: 115.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/0.487, allocations: 317.3 kB / 489.9 MB, free: 115.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004523/0.4915, allocations: 2.712 MB / 492.6 MB, free: 114.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.4915, allocations: 15.69 kB / 492.6 MB, free: 114.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.4915, allocations: 3.938 kB / 492.6 MB, free: 114.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.4915, allocations: 7.406 kB / 492.6 MB, free: 114.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009545/0.5011, allocations: 6.209 MB / 498.8 MB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.5011, allocations: 3.844 kB / 498.8 MB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000984/0.5021, allocations: 228.3 kB / 499 MB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.504, allocations: 0.7176 MB / 499.8 MB, free: 112.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.5042, allocations: 31.56 kB / 499.8 MB, free: 112.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004951/0.5091, allocations: 4.612 MB / 0.4926 GB, free: 108.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5091, allocations: 7.969 kB / 0.4926 GB, free: 108.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006345/0.5155, allocations: 5.043 MB / 0.4975 GB, free: 103.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007595/0.5162, allocations: 315.3 kB / 0.4978 GB, free: 103.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/0.5165, allocations: 20 kB / 0.4978 GB, free: 103.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5178, allocations: 103.8 kB / 0.4979 GB, free: 103.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.5181, allocations: 92.48 kB / 0.498 GB, free: 103.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.5182, allocations: 51.97 kB / 0.4981 GB, free: 103.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002506/0.5207, allocations: 2.228 MB / 0.5002 GB, free: 101.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5207, allocations: 0 / 0.5002 GB, free: 101.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00434/0.525, allocations: 0.9703 MB / 0.5012 GB, free: 100.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004552/0.5255, allocations: 187.6 kB / 0.5014 GB, free: 100.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005746/0.5312, allocations: 4.525 MB / 0.5058 GB, free: 95.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5312, allocations: 0 / 0.5058 GB, free: 95.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.5327, allocations: 1.27 MB / 0.507 GB, free: 94.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.5349, allocations: 382 kB / 0.5074 GB, free: 93.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5461, allocations: 8.504 MB / 0.5157 GB, free: 85.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002289/0.5484, allocations: 2.553 MB / 0.5182 GB, free: 82.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003212/0.5516, allocations: 1.796 MB / 0.5199 GB, free: 81 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006461/0.5522, allocations: 252.4 kB / 0.5202 GB, free: 80.75 MB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5522, allocations: 0 / 0.5202 GB, free: 80.75 MB / 430.1 MB Notification: Performance of Templates: time 0.05206/0.6043, allocations: 29.27 MB / 0.5488 GB, free: 51.97 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.066169384866953]