Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001431/0.001435, allocations: 184.8 kB / 16.4 MB, free: 5.715 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.89/1.89, allocations: 205.4 MB / 222.5 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.001112/0.001112, allocations: 95.5 kB / 270.9 MB, free: 8.371 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.4969/0.4969, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004427, allocations: 16 kB / 431.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 58.83 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4419/0.5638, allocations: 84 MB / 0.5607 GB, free: 2.746 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.5641, allocations: 67.95 kB / 0.5608 GB, free: 2.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00171/0.5658, allocations: 0.56 MB / 0.5614 GB, free: 2.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5658, allocations: 0.5625 kB / 0.5614 GB, free: 2.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.5659, allocations: 3.125 kB / 0.5614 GB, free: 2.125 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002558/0.5661, allocations: 324.2 kB / 0.5617 GB, free: 1.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5662, allocations: 9.312 kB / 0.5617 GB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.5662, allocations: 2.031 kB / 0.5617 GB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.5663, allocations: 170.5 kB / 0.5618 GB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5663, allocations: 4 kB / 0.5618 GB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.5663, allocations: 4 kB / 0.5618 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.5665, allocations: 51.41 kB / 0.5619 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5665, allocations: 0.625 kB / 0.5619 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.5665, allocations: 0 / 0.5619 GB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5665, allocations: 7.938 kB / 0.5619 GB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.246e-05/0.5666, allocations: 16.95 kB / 0.5619 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.5669, allocations: 325.1 kB / 0.5622 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.711e-05/0.5669, allocations: 22.61 kB / 0.5623 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.567, allocations: 3.719 kB / 0.5623 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.567, allocations: 38.56 kB / 0.5623 GB, free: 1.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.567, allocations: 0 / 0.5623 GB, free: 1.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.5672, allocations: 57.81 kB / 0.5623 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.5673, allocations: 51.41 kB / 0.5624 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.931e-05/0.5673, allocations: 97 kB / 0.5625 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.5673, allocations: 25.7 kB / 0.5625 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.5674, allocations: 150.6 kB / 0.5627 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/0.5674, allocations: 19.72 kB / 0.5627 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.5674, allocations: 4 kB / 0.5627 GB, free: 0.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.5675, allocations: 318.8 kB / 0.563 GB, free: 268 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.9e-05/0.5675, allocations: 4 kB / 0.563 GB, free: 264 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.5676, allocations: 25.33 kB / 0.563 GB, free: 236 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.5676, allocations: 15.98 kB / 0.563 GB, free: 220 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5676, allocations: 0 / 0.563 GB, free: 220 kB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001105/0.5677, allocations: 53.62 kB / 0.5631 GB, free: 160 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5678, allocations: 8 kB / 0.5631 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5678, allocations: 0 / 0.5631 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.5678, allocations: 0 / 0.5631 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.5679, allocations: 8 kB / 0.5631 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.5679, allocations: 3.938 kB / 0.5631 GB, free: 140 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.568, allocations: 0 / 0.5631 GB, free: 140 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.568, allocations: 12.03 kB / 0.5631 GB, free: 128 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.52e-05/0.568, allocations: 109.8 kB / 0.5632 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.5681, allocations: 3.984 kB / 0.5632 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.5683, allocations: 65.09 kB / 0.5633 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.5683, allocations: 0 / 0.5633 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5683, allocations: 0 / 0.5633 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.5683, allocations: 4 kB / 0.5633 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.5685, allocations: 157.6 kB / 0.5634 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5685, allocations: 4 kB / 0.5634 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.076e-05/0.5686, allocations: 11.94 kB / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.5686, allocations: 0 / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.5686, allocations: 3.062 kB / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5686, allocations: 0 / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5686, allocations: 0 / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.5688, allocations: 155 kB / 0.5636 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.5689, allocations: 85.09 kB / 0.5637 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.5689, allocations: 3.938 kB / 0.5637 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.591e-05/0.569, allocations: 4 kB / 0.5637 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.569, allocations: 4 kB / 0.5637 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.569, allocations: 0 / 0.5637 GB, free: 15.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.5691, allocations: 75.28 kB / 0.5638 GB, free: 15.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5691, allocations: 0 / 0.5638 GB, free: 15.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003093/0.5694, allocations: 16 kB / 0.5638 GB, free: 15.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * 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.0001334/0.5696, allocations: 107.2 kB / 0.5639 GB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.5697, allocations: 24.09 kB / 0.5639 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5697, allocations: 0 / 0.5639 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.801e-05/0.5698, allocations: 15.98 kB / 0.5639 GB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.5699, allocations: 3.953 kB / 0.5639 GB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.5702, allocations: 143.1 kB / 0.5641 GB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.5705, allocations: 0.6809 MB / 0.5647 GB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.5705, allocations: 11.44 kB / 0.5647 GB, free: 14.3 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.5705, allocations: 4.062 kB / 0.5647 GB, free: 14.3 MB / 394.7 MB Notification: Performance of Templates: time 0.002337/0.5729, allocations: 0.5661 MB / 0.5653 GB, free: 13.74 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches