Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001936/0.001937, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.59/1.59, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001012/0.001012, allocations: 94.86 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2014/0.2014, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.5096, allocations: 84 MB / 0.5608 GB, free: 15.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.5098, allocations: 63.59 kB / 0.5608 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001336/0.5112, allocations: 0.5667 MB / 0.5614 GB, free: 15.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5112, allocations: 0 / 0.5614 GB, free: 15.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.5112, allocations: 0 / 0.5614 GB, free: 15.22 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.0002899/0.5115, allocations: 331.8 kB / 0.5617 GB, free: 14.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5116, allocations: 12.03 kB / 0.5617 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.5116, allocations: 0 / 0.5617 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5117, allocations: 167 kB / 0.5619 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.5118, allocations: 4 kB / 0.5619 GB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.5118, allocations: 7.938 kB / 0.5619 GB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.5119, allocations: 57.83 kB / 0.5619 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5119, allocations: 0 / 0.5619 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.5119, allocations: 0 / 0.5619 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5119, allocations: 0 / 0.5619 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.512, allocations: 11.44 kB / 0.562 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.5124, allocations: 328.7 kB / 0.5623 GB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.295e-05/0.5124, allocations: 25.89 kB / 0.5623 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.5124, allocations: 0 / 0.5623 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.5125, allocations: 30.56 kB / 0.5623 GB, free: 14.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.5125, allocations: 0 / 0.5623 GB, free: 14.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.5127, allocations: 59.38 kB / 0.5624 GB, free: 14.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.5127, allocations: 55.41 kB / 0.5624 GB, free: 14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.5128, allocations: 94.98 kB / 0.5625 GB, free: 13.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.5128, allocations: 29.2 kB / 0.5626 GB, free: 13.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.449e-05/0.5129, allocations: 82.89 kB / 0.5626 GB, free: 13.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.5129, allocations: 15.75 kB / 0.5626 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.5129, allocations: 0 / 0.5626 GB, free: 13.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.513, allocations: 317.7 kB / 0.563 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.5131, allocations: 7.5 kB / 0.563 GB, free: 13.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.63e-05/0.5131, allocations: 21.83 kB / 0.563 GB, free: 13.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.5131, allocations: 11.31 kB / 0.563 GB, free: 13.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5131, allocations: 0 / 0.563 GB, free: 13.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.31e-05/0.5132, allocations: 56.25 kB / 0.563 GB, free: 13.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5133, allocations: 4 kB / 0.563 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5133, allocations: 0 / 0.563 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5133, allocations: 4 kB / 0.5631 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.5134, allocations: 7.984 kB / 0.5631 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5134, allocations: 4.031 kB / 0.5631 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.041e-05/0.5134, allocations: 4 kB / 0.5631 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.5134, allocations: 0 / 0.5631 GB, free: 13.34 MB / 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 7.729e-05/0.5135, allocations: 121.2 kB / 0.5632 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.5135, allocations: 3.906 kB / 0.5632 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.5137, allocations: 60.06 kB / 0.5632 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.5137, allocations: 0 / 0.5632 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5137, allocations: 2.5 kB / 0.5632 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5137, allocations: 0 / 0.5632 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.5139, allocations: 168.7 kB / 0.5634 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5139, allocations: 4 kB / 0.5634 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.5139, allocations: 7.984 kB / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5139, allocations: 0 / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.5139, allocations: 3.5 kB / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5139, allocations: 4 kB / 0.5634 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.514, allocations: 3.938 kB / 0.5634 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.5141, allocations: 149.4 kB / 0.5636 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.5141, allocations: 88.95 kB / 0.5637 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.5142, allocations: 4 kB / 0.5637 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.5142, allocations: 0 / 0.5637 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.5142, allocations: 4.219 kB / 0.5637 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.5143, allocations: 0.875 kB / 0.5637 GB, free: 12.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.359e-05/0.5143, allocations: 82.91 kB / 0.5637 GB, free: 12.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5143, allocations: 0 / 0.5637 GB, free: 12.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.5145, allocations: 8 kB / 0.5638 GB, free: 12.56 MB / 378.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.0001193/0.5146, allocations: 99.34 kB / 0.5638 GB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.5148, allocations: 34.28 kB / 0.5639 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5148, allocations: 0 / 0.5639 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.602e-05/0.5148, allocations: 11.06 kB / 0.5639 GB, free: 12.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.5149, allocations: 11.27 kB / 0.5639 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.5152, allocations: 112.6 kB / 0.564 GB, free: 12.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.5155, allocations: 0.6771 MB / 0.5647 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.599e-05/0.5156, allocations: 12.8 kB / 0.5647 GB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.5156, allocations: 11.44 kB / 0.5647 GB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5156, allocations: 0 / 0.5647 GB, free: 11.55 MB / 378.7 MB Notification: Performance of Templates: time 0.002471/0.5181, allocations: 419.9 kB / 0.5651 GB, free: 11.16 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches