Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 118.1 kB / 17.83 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001633/0.001633, allocations: 209.1 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 230.4 MB / 250 MB, free: 9.047 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 71.83 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2721, allocations: 53.31 MB / 420.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01382/0.2859, allocations: 11.05 MB / 431.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008632/0.2946, allocations: 3.828 MB / 435.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.2964, allocations: 67.75 kB / 435.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005283/0.3017, allocations: 2.71 MB / 438.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.3068, allocations: 1.796 MB / 440.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3084, allocations: 0.5732 MB / 440.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005676/0.314, allocations: 3.574 MB / 444.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/0.3191, allocations: 2.999 MB / 447.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.3216, allocations: 1.444 MB / 448.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.3247, allocations: 2.146 MB / 450.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006596/0.3254, allocations: 320 kB / 451.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00197/0.3274, allocations: 1.069 MB / 452.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001813/0.3292, allocations: 1.842 MB / 454.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.3316, allocations: 2.078 MB / 456.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008349/0.3399, allocations: 6.669 MB / 462.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3399, allocations: 0 / 462.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3399, allocations: 0 / 462.8 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002012/0.3401, allocations: 3.938 kB / 462.8 MB, free: 14.02 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01715/0.3573, allocations: 5.176 MB / 468 MB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3573, allocations: 8.031 kB / 468 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006573/0.3639, allocations: 1.874 MB / 469.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.3691, allocations: 2.242 MB / 472.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.3693, allocations: 229.6 kB / 472.3 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006393/0.3699, allocations: 295.8 kB / 472.6 MB, free: 4.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0194/0.3893, allocations: 10.02 MB / 482.6 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.3895, allocations: 47.64 kB / 482.7 MB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001133/0.3906, allocations: 147.8 kB / 482.8 MB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/0.394, allocations: 1.801 MB / 484.6 MB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/0.4133, allocations: 8.974 MB / 493.6 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0501/0.4634, allocations: 37.81 MB / 0.519 GB, free: 7.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/0.4762, allocations: 3.488 MB / 0.5224 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.4785, allocations: 1.571 MB / 0.5239 GB, free: 2.289 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.4791, allocations: 355.8 kB / 0.5242 GB, free: 1.887 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.4792, allocations: 59.05 kB / 0.5243 GB, free: 1.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.106e-06/0.4792, allocations: 0 / 0.5243 GB, free: 1.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04254/0.5217, allocations: 12.88 MB / 0.5369 GB, free: 4.836 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.782e-05/0.5218, allocations: 145.1 kB / 0.537 GB, free: 4.664 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005734/0.5276, allocations: 4.049 MB / 0.541 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002684/0.5278, allocations: 49.64 kB / 0.541 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.249/0.7768, allocations: 3.126 MB / 0.5441 GB, free: 115.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009313/0.7778, allocations: 0.567 MB / 0.5446 GB, free: 115 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001908/0.7797, allocations: 1.173 MB / 0.5458 GB, free: 114.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.7797, allocations: 309.5 kB / 0.5461 GB, free: 114.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.7824, allocations: 1.959 MB / 0.548 GB, free: 113.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003883/0.7863, allocations: 5.654 MB / 0.5535 GB, free: 108 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006473/0.7928, allocations: 8.259 MB / 0.5616 GB, free: 100.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.524e-05/0.7929, allocations: 38.91 kB / 0.5616 GB, free: 100.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01161/0.8045, allocations: 8.091 MB / 0.5695 GB, free: 96.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/0.8045, allocations: 63.61 kB / 0.5696 GB, free: 96.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-05/0.8046, allocations: 132 kB / 0.5697 GB, free: 96.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.8068, allocations: 0.9072 MB / 0.5706 GB, free: 95.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003274/0.81, allocations: 1.317 MB / 0.5719 GB, free: 94.78 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005119/0.8152, allocations: 5.189 MB / 0.5769 GB, free: 89.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003769/0.8189, allocations: 312.6 kB / 0.5772 GB, free: 89.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004481/0.8194, allocations: 368 kB / 0.5776 GB, free: 89.26 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.002289/0.8217, allocations: 1.977 MB / 0.5795 GB, free: 87.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004741/0.8221, allocations: 359 kB / 0.5798 GB, free: 87.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004165/0.8263, allocations: 2.751 MB / 0.5825 GB, free: 84.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.8263, allocations: 16 kB / 0.5825 GB, free: 84.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.8263, allocations: 7.984 kB / 0.5826 GB, free: 84.22 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.8264, allocations: 7.984 kB / 0.5826 GB, free: 84.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/0.8363, allocations: 7.053 MB / 0.5894 GB, free: 77.12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.8363, allocations: 0 / 0.5894 GB, free: 77.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009393/0.8372, allocations: 215.8 kB / 0.5897 GB, free: 76.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.839, allocations: 0.7153 MB / 0.5904 GB, free: 76.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.8391, allocations: 42.17 kB / 0.5904 GB, free: 76.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/0.8436, allocations: 4.738 MB / 0.595 GB, free: 71.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8437, allocations: 7.969 kB / 0.595 GB, free: 71.28 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006088/0.8497, allocations: 5.103 MB / 0.6 GB, free: 66.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007764/0.8505, allocations: 410.7 kB / 0.6004 GB, free: 65.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.8508, allocations: 16 kB / 0.6004 GB, free: 65.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.8519, allocations: 75.91 kB / 0.6005 GB, free: 65.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.8521, allocations: 88.45 kB / 0.6006 GB, free: 65.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.8522, allocations: 47.97 kB / 0.6006 GB, free: 65.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002891/0.8551, allocations: 2.529 MB / 0.6031 GB, free: 62.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8551, allocations: 4 kB / 0.6031 GB, free: 62.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003934/0.8591, allocations: 0.882 MB / 0.604 GB, free: 62.07 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.0003125/0.8594, allocations: 154.9 kB / 0.6041 GB, free: 61.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005474/0.8649, allocations: 4.53 MB / 0.6085 GB, free: 57.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.8649, allocations: 4.25 kB / 0.6085 GB, free: 57.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.8662, allocations: 1.267 MB / 0.6098 GB, free: 56.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/0.8683, allocations: 424.1 kB / 0.6102 GB, free: 55.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.8789, allocations: 8.453 MB / 0.6184 GB, free: 47.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.8812, allocations: 3.056 MB / 0.6214 GB, free: 44.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00336/0.8845, allocations: 1.849 MB / 0.6232 GB, free: 42.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.8851, allocations: 251.3 kB / 0.6235 GB, free: 42.04 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/0.8851, allocations: 0 / 0.6235 GB, free: 42.04 MB / 462.1 MB Notification: Performance of Templates: time 0.05477/0.9398, allocations: 32.23 MB / 0.6549 GB, free: 10.03 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches