Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001951/0.001951, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008738/0.0008741, allocations: 88.23 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002544/0.0002544, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2707, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.3906, allocations: 98.31 MB / 474.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.3909, allocations: 91.95 kB / 474.2 MB, free: 14.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3884/0.7794, allocations: 84.77 MB / 0.5459 GB, free: 71.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.7794, allocations: 0 / 0.5459 GB, free: 71.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002762/0.7797, allocations: 84 kB / 0.546 GB, free: 71.06 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02043/0.8001, allocations: 4.738 MB / 0.5506 GB, free: 66.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.8002, allocations: 8.031 kB / 0.5506 GB, free: 66.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009917/0.8101, allocations: 2.225 MB / 0.5528 GB, free: 64.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/0.822, allocations: 4.489 MB / 0.5572 GB, free: 59.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.8224, allocations: 320.4 kB / 0.5575 GB, free: 59.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/0.8246, allocations: 427.8 kB / 0.5579 GB, free: 58.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.8484, allocations: 10.8 MB / 0.5684 GB, free: 46.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003687/0.8488, allocations: 63.41 kB / 0.5685 GB, free: 46.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002547/0.8514, allocations: 203.9 kB / 0.5687 GB, free: 46.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001616/0.853, allocations: 1.002 MB / 0.5696 GB, free: 45.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.8707, allocations: 9.017 MB / 0.5785 GB, free: 36.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05659/0.9274, allocations: 48.98 MB / 0.6263 GB, free: 2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.9387, allocations: 3.547 MB / 0.6297 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.9491, allocations: 4.363 MB / 0.634 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.9492, allocations: 51.5 kB / 0.6341 GB, free: 9.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 7.193e-06/0.9492, allocations: 0 / 0.6341 GB, free: 9.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.2883/1.237, allocations: 12.25 MB / 0.646 GB, free: 99.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/1.238, allocations: 148.3 kB / 0.6462 GB, free: 99.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005699/1.243, allocations: 3.733 MB / 0.6498 GB, free: 98.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003575/1.244, allocations: 43.73 kB / 0.6498 GB, free: 98.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/1.246, allocations: 3.195 MB / 0.653 GB, free: 97.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007209/1.247, allocations: 0.5853 MB / 0.6535 GB, free: 96.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/1.247, allocations: 113.7 kB / 0.6536 GB, free: 96.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002873/1.247, allocations: 0.5545 MB / 0.6542 GB, free: 96.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/1.25, allocations: 1.98 MB / 0.6561 GB, free: 96.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004869/1.255, allocations: 5.793 MB / 0.6618 GB, free: 91.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/1.261, allocations: 3.318 MB / 0.665 GB, free: 91.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.261, allocations: 40.59 kB / 0.6651 GB, free: 91.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01579/1.277, allocations: 8.224 MB / 0.6731 GB, free: 89.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001917/1.277, allocations: 64.97 kB / 0.6732 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002693/1.277, allocations: 134.8 kB / 0.6733 GB, free: 89.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/1.28, allocations: 0.9206 MB / 0.6742 GB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005119/1.285, allocations: 1.387 MB / 0.6755 GB, free: 89.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/1.291, allocations: 4.889 MB / 0.6803 GB, free: 87.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005948/1.297, allocations: 332.3 kB / 0.6806 GB, free: 86.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/1.299, allocations: 372.3 kB / 0.681 GB, free: 86.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (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 (732): * Single equations (assignments): 728 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005469/1.304, allocations: 2.101 MB / 0.683 GB, free: 85.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009971/1.305, allocations: 351.9 kB / 0.6834 GB, free: 85.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006376/1.311, allocations: 2.879 MB / 0.6862 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.675e-05/1.312, allocations: 15.44 kB / 0.6862 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.312, allocations: 3.812 kB / 0.6862 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/1.312, allocations: 8.469 kB / 0.6862 GB, free: 84.69 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/1.33, allocations: 7.018 MB / 0.6931 GB, free: 82.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/1.331, allocations: 0 / 0.6931 GB, free: 82.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.332, allocations: 244.6 kB / 0.6933 GB, free: 82.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/1.334, allocations: 0.7 MB / 0.694 GB, free: 82.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/1.334, allocations: 29.03 kB / 0.694 GB, free: 82.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005061/1.339, allocations: 4.453 MB / 0.6984 GB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.339, allocations: 3.844 kB / 0.6984 GB, free: 79.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007714/1.347, allocations: 5.19 MB / 0.7034 GB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.349, allocations: 0.6153 MB / 0.704 GB, free: 75.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008737/1.35, allocations: 27.12 kB / 0.7041 GB, free: 75.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002084/1.352, allocations: 98.2 kB / 0.7041 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/1.352, allocations: 83.8 kB / 0.7042 GB, free: 75.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.353, allocations: 39.42 kB / 0.7043 GB, free: 75.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005718/1.358, allocations: 2.603 MB / 0.7068 GB, free: 72.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.358, allocations: 0 / 0.7068 GB, free: 72.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006722/1.365, allocations: 0.9607 MB / 0.7077 GB, free: 72.04 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (114): * Single equations (assignments): 110 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005908/1.366, allocations: 167.2 kB / 0.7079 GB, free: 71.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007665/1.373, allocations: 4.765 MB / 0.7126 GB, free: 67.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.373, allocations: 0 / 0.7126 GB, free: 67.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/1.375, allocations: 1.37 MB / 0.7139 GB, free: 66.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/1.378, allocations: 394 kB / 0.7143 GB, free: 66.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/1.396, allocations: 10.41 MB / 0.7244 GB, free: 56.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005355/1.402, allocations: 3.322 MB / 0.7277 GB, free: 54.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004991/1.407, allocations: 1.877 MB / 0.7295 GB, free: 52.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/1.408, allocations: 234.2 kB / 0.7297 GB, free: 52.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/1.408, allocations: 3.938 kB / 0.7297 GB, free: 52.72 MB / 410.7 MB Notification: Performance of Templates: time 0.06011/1.468, allocations: 32.84 MB / 0.7618 GB, free: 22 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches