Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, 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.307/1.307, allocations: 223.2 MB / 241 MB, free: 10.11 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.000941/0.0009406, allocations: 93.45 kB / 292.2 MB, free: 10.68 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.3394/0.3394, allocations: 44.22 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004587, allocations: 8 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3835, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4988, allocations: 85.1 MB / 0.5927 GB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.499, allocations: 75.92 kB / 0.5927 GB, free: 9.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001278/0.5003, allocations: 0.563 MB / 0.5933 GB, free: 9.402 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5003, allocations: 4 kB / 0.5933 GB, free: 9.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.5003, allocations: 0 / 0.5933 GB, free: 9.398 MB / 410.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.0003059/0.5006, allocations: 331.3 kB / 0.5936 GB, free: 9.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5007, allocations: 8.031 kB / 0.5936 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.5007, allocations: 0 / 0.5936 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5008, allocations: 167 kB / 0.5938 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.5009, allocations: 0 / 0.5938 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.5009, allocations: 4 kB / 0.5938 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.501, allocations: 59.3 kB / 0.5938 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.501, allocations: 4 kB / 0.5938 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-06/0.501, allocations: 0 / 0.5938 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5011, allocations: 0 / 0.5938 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.412e-05/0.5011, allocations: 15.98 kB / 0.5938 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000322/0.5014, allocations: 325 kB / 0.5942 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.5015, allocations: 26.59 kB / 0.5942 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.5015, allocations: 0 / 0.5942 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.5016, allocations: 42.56 kB / 0.5942 GB, free: 8.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.5016, allocations: 0 / 0.5942 GB, free: 8.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001828/0.5017, allocations: 57.72 kB / 0.5943 GB, free: 8.203 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.5018, allocations: 51.41 kB / 0.5943 GB, free: 8.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.5019, allocations: 88.91 kB / 0.5944 GB, free: 8.047 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.5019, allocations: 33.7 kB / 0.5944 GB, free: 8.008 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/0.5019, allocations: 80.14 kB / 0.5945 GB, free: 7.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.502, allocations: 19.86 kB / 0.5945 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-06/0.502, allocations: 0 / 0.5945 GB, free: 7.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5021, allocations: 318.8 kB / 0.5948 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.923e-05/0.5021, allocations: 4 kB / 0.5948 GB, free: 7.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.498e-05/0.5022, allocations: 21.7 kB / 0.5949 GB, free: 7.555 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.5022, allocations: 8 kB / 0.5949 GB, free: 7.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5022, allocations: 0 / 0.5949 GB, free: 7.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.842e-05/0.5023, allocations: 61.58 kB / 0.5949 GB, free: 7.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5023, allocations: 8 kB / 0.5949 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5023, allocations: 0 / 0.5949 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.5023, allocations: 0 / 0.5949 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.5024, allocations: 8 kB / 0.5949 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5024, allocations: 3.938 kB / 0.595 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.5025, allocations: 0 / 0.595 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.5025, allocations: 4 kB / 0.595 GB, free: 7.457 MB / 410.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 8.134e-05/0.5026, allocations: 114.4 kB / 0.5951 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.5026, allocations: 7.984 kB / 0.5951 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.5027, allocations: 72.97 kB / 0.5951 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5027, allocations: 0 / 0.5951 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5027, allocations: 0 / 0.5951 GB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.5028, allocations: 4 kB / 0.5951 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.5029, allocations: 153.7 kB / 0.5953 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5029, allocations: 0 / 0.5953 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.503, allocations: 8 kB / 0.5953 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.503, allocations: 0 / 0.5953 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.503, allocations: 3.953 kB / 0.5953 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.503, allocations: 3.984 kB / 0.5953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.503, allocations: 4 kB / 0.5953 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.5031, allocations: 143.8 kB / 0.5954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.5032, allocations: 89.09 kB / 0.5955 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.5032, allocations: 4 kB / 0.5955 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.5033, allocations: 3.953 kB / 0.5955 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.5033, allocations: 4 kB / 0.5955 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5033, allocations: 0 / 0.5955 GB, free: 6.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.658e-05/0.5034, allocations: 79.28 kB / 0.5956 GB, free: 6.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5034, allocations: 0 / 0.5956 GB, free: 6.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.5036, allocations: 12 kB / 0.5956 GB, free: 6.66 MB / 410.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.0001125/0.5037, allocations: 103.2 kB / 0.5957 GB, free: 6.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.015e-05/0.5038, allocations: 23.94 kB / 0.5958 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5038, allocations: 0 / 0.5958 GB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.5038, allocations: 15.98 kB / 0.5958 GB, free: 6.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.504, allocations: 5.531 kB / 0.5958 GB, free: 6.508 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.5042, allocations: 118.6 kB / 0.5959 GB, free: 6.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.5045, allocations: 0.6848 MB / 0.5966 GB, free: 5.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.959e-05/0.5045, allocations: 0 / 0.5966 GB, free: 5.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.5045, allocations: 11.44 kB / 0.5966 GB, free: 5.641 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5045, allocations: 4 kB / 0.5966 GB, free: 5.637 MB / 410.7 MB Notification: Performance of Templates: time 0.002087/0.5066, allocations: 417.2 kB / 0.597 GB, free: 5.23 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches