Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008444/0.0008444, allocations: 84.11 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1698/0.1698, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.431e-05, allocations: 224 / 451.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3585/0.468, allocations: 110.4 MB / 0.6095 GB, free: 10.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.4682, allocations: 84.52 kB / 0.6096 GB, free: 10.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2269/0.6951, allocations: 95.59 MB / 0.7029 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6952, allocations: 0 / 0.7029 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001977/0.6954, allocations: 92 kB / 0.703 GB, free: 10.59 MB / 0.5105 GB 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.0183/0.7137, allocations: 5.357 MB / 0.7082 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.7138, allocations: 12.03 kB / 0.7082 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.7248, allocations: 2.282 MB / 0.7105 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2478/0.9727, allocations: 4.721 MB / 0.7151 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.973, allocations: 379.3 kB / 0.7154 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001997/0.9751, allocations: 498.5 kB / 0.7159 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02463/0.9997, allocations: 12.42 MB / 0.728 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/0.9999, allocations: 63.25 kB / 0.7281 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006416/1.001, allocations: 239.3 kB / 0.7283 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001589/1.002, allocations: 1.152 MB / 0.7295 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01994/1.022, allocations: 10.67 MB / 0.7399 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04372/1.066, allocations: 54.24 MB / 0.7929 GB, free: 76.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01237/1.078, allocations: 5.058 MB / 0.7978 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002718/1.081, allocations: 3.121 MB / 0.8008 GB, free: 73.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/1.082, allocations: 1.005 MB / 0.8018 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/1.082, allocations: 51.56 kB / 0.8019 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 3.867e-06/1.082, allocations: 3.125 kB / 0.8019 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=234): time 0.04797/1.13, allocations: 20.96 MB / 0.8224 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.13, allocations: 153 kB / 0.8225 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004842/1.135, allocations: 3.896 MB / 0.8263 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004238/1.136, allocations: 57.7 kB / 0.8264 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001455/1.137, allocations: 3.445 MB / 0.8297 GB, free: 58.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008326/1.138, allocations: 0.8853 MB / 0.8306 GB, free: 58.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/1.138, allocations: 128 kB / 0.8307 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002645/1.138, allocations: 0.59 MB / 0.8313 GB, free: 57.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.142, allocations: 2.809 MB / 0.834 GB, free: 55.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004571/1.146, allocations: 6.624 MB / 0.8405 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00484/1.151, allocations: 4.262 MB / 0.8447 GB, free: 43.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.296e-05/1.151, allocations: 40 kB / 0.8447 GB, free: 43.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.01382/1.165, allocations: 10.29 MB / 0.8547 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/1.165, allocations: 60 kB / 0.8548 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.859e-05/1.165, allocations: 136 kB / 0.8549 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/1.168, allocations: 1.131 MB / 0.856 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004971/1.173, allocations: 1.628 MB / 0.8576 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006008/1.179, allocations: 5.922 MB / 0.8634 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/1.184, allocations: 407 kB / 0.8638 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000949/1.185, allocations: 412.6 kB / 0.8642 GB, free: 26.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (817): * Single equations (assignments): 813 * 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.0008876/1.186, allocations: 0.6087 MB / 0.8648 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000639/1.186, allocations: 398.8 kB / 0.8652 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007922/1.194, allocations: 5.218 MB / 0.8703 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.732e-05/1.194, allocations: 28 kB / 0.8703 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.194, allocations: 4 kB / 0.8703 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.812e-05/1.194, allocations: 11.86 kB / 0.8703 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.216, allocations: 11.6 MB / 0.8816 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.216, allocations: 4 kB / 0.8816 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/1.219, allocations: 475.6 kB / 0.8821 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002263/1.221, allocations: 0.9333 MB / 0.883 GB, free: 9.855 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000324/1.222, allocations: 51.94 kB / 0.8831 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005601/1.227, allocations: 5.634 MB / 0.8886 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.227, allocations: 7.938 kB / 0.8886 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.24, allocations: 9.257 MB / 0.8976 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/1.242, allocations: 0.8707 MB / 0.8985 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009913/1.243, allocations: 40 kB / 0.8985 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002433/1.246, allocations: 183.4 kB / 0.8987 GB, free: 9.496 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004388/1.246, allocations: 141.7 kB / 0.8988 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.246, allocations: 60 kB / 0.8989 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005241/1.252, allocations: 2.722 MB / 0.9015 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/1.252, allocations: 0 / 0.9015 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005355/1.257, allocations: 1.204 MB / 0.9027 GB, free: 5.371 MB / 0.5261 GB 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,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * 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 Backend phase and start with SimCode phase: time 0.0005396/1.257, allocations: 194.2 kB / 0.9029 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.253/1.51, allocations: 6.776 MB / 0.9095 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.51, allocations: 1.531 kB / 0.9095 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003857/1.514, allocations: 2.549 MB / 0.912 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/1.517, allocations: 454 kB / 0.9124 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.533, allocations: 9.674 MB / 0.9219 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004554/1.538, allocations: 3.765 MB / 0.9255 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005979/1.544, allocations: 2.2 MB / 0.9277 GB, free: 116 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.545, allocations: 302 kB / 0.928 GB, free: 116 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/1.545, allocations: 0 / 0.928 GB, free: 116 MB / 0.5261 GB Notification: Performance of Templates: time 0.06977/1.615, allocations: 45.99 MB / 0.9729 GB, free: 113.9 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches