Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2923, allocations: 50.54 MB / 409.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01088/0.3032, allocations: 10.99 MB / 420.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007269/0.3105, allocations: 3.82 MB / 424.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.312, allocations: 63.88 kB / 424.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004677/0.3167, allocations: 2.683 MB / 426.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.3214, allocations: 1.751 MB / 428.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.3227, allocations: 0.5732 MB / 429.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004409/0.3271, allocations: 3.579 MB / 432.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003471/0.3306, allocations: 3.6 MB / 436.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.3329, allocations: 1.444 MB / 437.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002631/0.3355, allocations: 1.986 MB / 439.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005704/0.3361, allocations: 316 kB / 440 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.338, allocations: 1.034 MB / 441.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.3395, allocations: 1.781 MB / 442.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.3412, allocations: 2.078 MB / 444.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00596/0.3472, allocations: 6.677 MB / 451.6 MB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3472, allocations: 0 / 451.6 MB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3472, allocations: 0 / 451.6 MB, free: 7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.919e-05/0.3473, allocations: 0 / 451.6 MB, free: 7 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01509/0.3624, allocations: 5.169 MB / 456.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3625, allocations: 12.03 kB / 456.8 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/0.3687, allocations: 1.878 MB / 458.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003781/0.3726, allocations: 2.253 MB / 460.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.3727, allocations: 217.7 kB / 461.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.3733, allocations: 299.8 kB / 461.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01577/0.389, allocations: 10.02 MB / 471.4 MB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/0.3892, allocations: 43.62 kB / 471.5 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000377/0.3896, allocations: 147.9 kB / 471.6 MB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002921/0.3925, allocations: 1.805 MB / 473.4 MB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.4104, allocations: 8.97 MB / 482.4 MB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04957/0.46, allocations: 37.8 MB / 0.508 GB, free: 496 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/0.4726, allocations: 3.586 MB / 0.5115 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.4751, allocations: 1.673 MB / 0.5131 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.4758, allocations: 355.7 kB / 0.5135 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4758, allocations: 47.11 kB / 0.5135 GB, free: 10.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.747e-06/0.4758, allocations: 4 kB / 0.5135 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.03998/0.5158, allocations: 12.9 MB / 0.5261 GB, free: 13.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/0.5159, allocations: 145.1 kB / 0.5263 GB, free: 13.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008165/0.5241, allocations: 4.053 MB / 0.5302 GB, free: 9.363 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003387/0.5245, allocations: 45.7 kB / 0.5303 GB, free: 9.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002506/0.527, allocations: 3.135 MB / 0.5333 GB, free: 6.148 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007801/0.5278, allocations: 0.5584 MB / 0.5339 GB, free: 5.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/0.5299, allocations: 1.175 MB / 0.535 GB, free: 4.398 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.53, allocations: 309 kB / 0.5353 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.5329, allocations: 1.963 MB / 0.5372 GB, free: 2.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2436/0.7766, allocations: 5.654 MB / 0.5428 GB, free: 118.2 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008824/0.7854, allocations: 8.259 MB / 0.5508 GB, free: 111.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001877/0.7857, allocations: 39.25 kB / 0.5509 GB, free: 111.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01238/0.7981, allocations: 8.101 MB / 0.5588 GB, free: 108.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/0.7982, allocations: 66.2 kB / 0.5588 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.7983, allocations: 129.8 kB / 0.559 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.8004, allocations: 0.9075 MB / 0.5598 GB, free: 108.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/0.8038, allocations: 1.318 MB / 0.5611 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005125/0.8089, allocations: 5.193 MB / 0.5662 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003815/0.8128, allocations: 311.4 kB / 0.5665 GB, free: 104.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/0.8132, allocations: 367.1 kB / 0.5668 GB, free: 103.9 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (699): * Single equations (assignments): 695 * 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.002229/0.8155, allocations: 1.982 MB / 0.5688 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.8159, allocations: 352.6 kB / 0.5691 GB, free: 102.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.82, allocations: 2.768 MB / 0.5718 GB, free: 99.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.8201, allocations: 12 kB / 0.5718 GB, free: 99.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.8201, allocations: 8 kB / 0.5718 GB, free: 99.89 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.8201, allocations: 7.984 kB / 0.5719 GB, free: 99.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008821/0.8289, allocations: 7.054 MB / 0.5787 GB, free: 92.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.829, allocations: 288 / 0.5787 GB, free: 92.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000908/0.8299, allocations: 219.7 kB / 0.5789 GB, free: 92.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001852/0.8317, allocations: 0.7153 MB / 0.5796 GB, free: 91.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.8319, allocations: 39.91 kB / 0.5797 GB, free: 91.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.8365, allocations: 4.745 MB / 0.5843 GB, free: 87.01 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8365, allocations: 8.094 kB / 0.5843 GB, free: 87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/0.8426, allocations: 5.104 MB / 0.5893 GB, free: 81.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.8436, allocations: 407.6 kB / 0.5897 GB, free: 81.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/0.8439, allocations: 19.98 kB / 0.5897 GB, free: 81.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.845, allocations: 75.44 kB / 0.5898 GB, free: 81.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.8452, allocations: 88.45 kB / 0.5899 GB, free: 81.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.657e-05/0.8453, allocations: 47.97 kB / 0.5899 GB, free: 81.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002749/0.8481, allocations: 2.533 MB / 0.5924 GB, free: 78.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8481, allocations: 0 / 0.5924 GB, free: 78.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004135/0.8522, allocations: 0.8854 MB / 0.5933 GB, free: 77.91 MB / 462.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.0003452/0.8526, allocations: 151.6 kB / 0.5934 GB, free: 77.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005824/0.8584, allocations: 4.69 MB / 0.598 GB, free: 73.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8584, allocations: 256 / 0.598 GB, free: 73.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.8598, allocations: 1.345 MB / 0.5993 GB, free: 71.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.862, allocations: 434.3 kB / 0.5997 GB, free: 71.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.8723, allocations: 8.441 MB / 0.608 GB, free: 62.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002243/0.8745, allocations: 3.06 MB / 0.6109 GB, free: 59.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003138/0.8777, allocations: 1.842 MB / 0.6127 GB, free: 57.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/0.8782, allocations: 251.3 kB / 0.613 GB, free: 57.68 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8782, allocations: 0 / 0.613 GB, free: 57.68 MB / 462.1 MB Notification: Performance of Templates: time 0.04886/0.9271, allocations: 31.7 MB / 0.6439 GB, free: 26.16 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches