Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009497/0.0009497, allocations: 182.9 kB / 13.19 MB, free: 2.129 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.184/1.184, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008145/0.0008147, allocations: 90.59 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3027/0.3027, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.533e-05/2.537e-05, allocations: 3.938 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4544, allocations: 84.47 MB / 0.5553 GB, free: 18.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.4546, allocations: 67.23 kB / 0.5554 GB, free: 18.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008256/0.4629, allocations: 3.017 MB / 0.5583 GB, free: 17.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4629, allocations: 0 / 0.5583 GB, free: 17.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.4629, allocations: 0 / 0.5583 GB, free: 17.02 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002677/0.4632, allocations: 362.8 kB / 0.5587 GB, free: 16.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4632, allocations: 8.031 kB / 0.5587 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.4633, allocations: 17.5 kB / 0.5587 GB, free: 16.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.266e-05/0.4634, allocations: 168.8 kB / 0.5588 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4634, allocations: 7.938 kB / 0.5589 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.4634, allocations: 0 / 0.5589 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.4635, allocations: 54.94 kB / 0.5589 GB, free: 16.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4636, allocations: 1.453 kB / 0.5589 GB, free: 16.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4636, allocations: 9.234 kB / 0.5589 GB, free: 16.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4636, allocations: 3.938 kB / 0.5589 GB, free: 16.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.814e-05/0.4637, allocations: 25.34 kB / 0.5589 GB, free: 16.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.4638, allocations: 171.5 kB / 0.5591 GB, free: 16.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.464, allocations: 57.47 kB / 0.5592 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.464, allocations: 27.67 kB / 0.5592 GB, free: 16.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.4642, allocations: 106.9 kB / 0.5593 GB, free: 15.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.4643, allocations: 40.03 kB / 0.5593 GB, free: 15.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.4643, allocations: 0 / 0.5593 GB, free: 15.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1205/0.5848, allocations: 5.388 MB / 0.5646 GB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.5848, allocations: 51.41 kB / 0.5646 GB, free: 12.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.5849, allocations: 93 kB / 0.5647 GB, free: 12.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.585, allocations: 33.39 kB / 0.5648 GB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.585, allocations: 80.14 kB / 0.5648 GB, free: 12.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.5851, allocations: 74.67 kB / 0.5649 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.5851, allocations: 0 / 0.5649 GB, free: 11.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.5851, allocations: 322.4 kB / 0.5652 GB, free: 11.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.5854, allocations: 188.5 kB / 0.5654 GB, free: 11.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.5856, allocations: 190 kB / 0.5656 GB, free: 11.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.5863, allocations: 239 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5863, allocations: 0 / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001138/0.5875, allocations: 0.5356 MB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5875, allocations: 8.188 kB / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5875, allocations: 0 / 0.5663 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.5876, allocations: 3.938 kB / 0.5663 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.5882, allocations: 115.8 kB / 0.5664 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.5882, allocations: 0 / 0.5664 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.5886, allocations: 39.05 kB / 0.5665 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.5887, allocations: 31.94 kB / 0.5665 GB, free: 10.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.5888, allocations: 111.7 kB / 0.5666 GB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.5888, allocations: 12.91 kB / 0.5666 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.5903, allocations: 0.6492 MB / 0.5673 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5903, allocations: 4 kB / 0.5673 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5903, allocations: 0 / 0.5673 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.5903, allocations: 4.484 kB / 0.5673 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.5933, allocations: 1.111 MB / 0.5684 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5934, allocations: 3.953 kB / 0.5684 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.5938, allocations: 107.8 kB / 0.5685 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5939, allocations: 4 kB / 0.5685 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.5939, allocations: 27.95 kB / 0.5685 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.5939, allocations: 3.938 kB / 0.5685 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5939, allocations: 5.062 kB / 0.5685 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.5949, allocations: 0.5688 MB / 0.5691 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.595, allocations: 85.02 kB / 0.5691 GB, free: 8.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.595, allocations: 15.2 kB / 0.5692 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.5954, allocations: 35.2 kB / 0.5692 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.5954, allocations: 19.17 kB / 0.5692 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.5955, allocations: 27.95 kB / 0.5692 GB, free: 8.098 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.697e-05/0.5955, allocations: 83.97 kB / 0.5693 GB, free: 8.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5955, allocations: 0 / 0.5693 GB, free: 8.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001987/0.5975, allocations: 0.6278 MB / 0.5699 GB, free: 7.395 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002729/0.6003, allocations: 336.8 kB / 0.5702 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.6009, allocations: 382.2 kB / 0.5706 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6009, allocations: 0 / 0.5706 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.6012, allocations: 167.3 kB / 0.5708 GB, free: 6.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.6014, allocations: 10.81 kB / 0.5708 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.6032, allocations: 469.6 kB / 0.5712 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.6033, allocations: 0.6968 MB / 0.5719 GB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004774/0.6038, allocations: 128.8 kB / 0.572 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.6041, allocations: 94.72 kB / 0.5721 GB, free: 5.293 MB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6041, allocations: 0 / 0.5721 GB, free: 5.293 MB / 394.7 MB Notification: Performance of Templates: time 0.02934/0.6335, allocations: 20.2 MB / 0.5919 GB, free: 1.102 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2Derivatives/TestRegRoot2Derivatives.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches