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.0009483/0.0009482, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.248/1.248, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008347/0.0008347, allocations: 101.7 kB / 292.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3253/0.3253, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002964/0.0002964, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3067, allocations: 61.89 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.436, allocations: 110.4 MB / 0.6174 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.4364, allocations: 83.95 kB / 0.6175 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5005/0.937, allocations: 95.49 MB / 0.7108 GB, free: 96.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.937, allocations: 0 / 0.7108 GB, free: 96.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004867/0.9375, allocations: 98.38 kB / 0.7109 GB, free: 96.07 MB / 490.7 MB 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.0246/0.9621, allocations: 5.618 MB / 0.7163 GB, free: 93.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.9622, allocations: 8.656 kB / 0.7163 GB, free: 93.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.9728, allocations: 2.282 MB / 0.7186 GB, free: 93.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/0.9881, allocations: 4.771 MB / 0.7232 GB, free: 92.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006626/0.9888, allocations: 370.5 kB / 0.7236 GB, free: 92.69 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003124/0.992, allocations: 0.4886 MB / 0.7241 GB, free: 92.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/1.02, allocations: 12.53 MB / 0.7363 GB, free: 86.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004754/1.021, allocations: 60.14 kB / 0.7364 GB, free: 86.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002743/1.023, allocations: 241.1 kB / 0.7366 GB, free: 86.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002528/1.026, allocations: 1.156 MB / 0.7377 GB, free: 85.94 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03322/1.059, allocations: 10.87 MB / 0.7483 GB, free: 82.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08219/1.141, allocations: 54.24 MB / 0.8013 GB, free: 40.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01908/1.16, allocations: 5.111 MB / 0.8063 GB, free: 35.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/1.162, allocations: 1.021 MB / 0.8073 GB, free: 33.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.162, allocations: 51.88 kB / 0.8073 GB, free: 33.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 6.152e-06/1.162, allocations: 0 / 0.8073 GB, free: 33.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.07309/1.235, allocations: 25.02 MB / 0.8318 GB, free: 8.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.235, allocations: 150.5 kB / 0.8319 GB, free: 8.414 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004723/1.24, allocations: 3.938 MB / 0.8358 GB, free: 4.461 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005447/1.241, allocations: 53.7 kB / 0.8358 GB, free: 4.402 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/1.242, allocations: 3.439 MB / 0.8392 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008676/1.243, allocations: 0.8855 MB / 0.84 GB, free: 84 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/1.243, allocations: 138.8 kB / 0.8402 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003863/1.244, allocations: 0.5827 MB / 0.8407 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/1.248, allocations: 2.89 MB / 0.8436 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006894/1.255, allocations: 6.7 MB / 0.8501 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00675/1.262, allocations: 4.295 MB / 0.8543 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-05/1.262, allocations: 36 kB / 0.8543 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02181/1.283, allocations: 10.43 MB / 0.8645 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002568/1.284, allocations: 67.95 kB / 0.8646 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002584/1.284, allocations: 136 kB / 0.8647 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/1.287, allocations: 1.129 MB / 0.8658 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00664/1.294, allocations: 1.634 MB / 0.8674 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008921/1.303, allocations: 6.034 MB / 0.8733 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/1.309, allocations: 407.5 kB / 0.8737 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001609/1.311, allocations: 419.8 kB / 0.8741 GB, free: 11.14 MB / 0.5261 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 () * Number of clocked 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.006228/1.317, allocations: 2.33 MB / 0.8764 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.318, allocations: 398.8 kB / 0.8767 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/1.329, allocations: 5.309 MB / 0.8819 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.402e-05/1.33, allocations: 24 kB / 0.882 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/1.33, allocations: 8 kB / 0.882 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-05/1.33, allocations: 15.95 kB / 0.882 GB, free: 3.035 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3026/1.632, allocations: 11.65 MB / 0.8934 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.632, allocations: 3.062 kB / 0.8934 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00229/1.635, allocations: 479.5 kB / 0.8938 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002266/1.637, allocations: 0.9331 MB / 0.8947 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002117/1.637, allocations: 43.25 kB / 0.8948 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006359/1.643, allocations: 5.765 MB / 0.9004 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.643, allocations: 3.875 kB / 0.9004 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.656, allocations: 9.391 MB / 0.9096 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/1.659, allocations: 0.8668 MB / 0.9104 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008808/1.659, allocations: 42.03 kB / 0.9105 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.662, allocations: 176.3 kB / 0.9106 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004102/1.662, allocations: 145.2 kB / 0.9108 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.662, allocations: 66.91 kB / 0.9108 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005235/1.668, allocations: 2.759 MB / 0.9135 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.004e-06/1.668, allocations: 0 / 0.9135 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006555/1.674, allocations: 1.209 MB / 0.9147 GB, free: 123.4 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 () * Number of clocked 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.0004867/1.675, allocations: 187.4 kB / 0.9149 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.686, allocations: 6.906 MB / 0.9216 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.686, allocations: 3.344 kB / 0.9216 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003543/1.689, allocations: 2.603 MB / 0.9242 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/1.693, allocations: 459.3 kB / 0.9246 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01868/1.711, allocations: 13.46 MB / 0.9378 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003388/1.715, allocations: 3.764 MB / 0.9414 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005131/1.72, allocations: 2.2 MB / 0.9436 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.721, allocations: 298.7 kB / 0.9439 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/1.721, allocations: 3.938 kB / 0.9439 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.07257/1.794, allocations: 45.98 MB / 0.9888 GB, free: 90.89 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