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.001438/0.001437, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 98.59 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2852/0.2852, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.12e-05, allocations: 8.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3882, allocations: 58.86 MB / 477.1 MB, free: 5.254 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5386, allocations: 83.24 MB / 0.5472 GB, free: 84 kB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5389, allocations: 63.97 kB / 0.5473 GB, free: 20 kB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.00199/0.5409, allocations: 0.5678 MB / 0.5478 GB, free: 15.45 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.541, allocations: 0 / 0.5478 GB, free: 15.45 MB / 395.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.541, allocations: 0 / 0.5478 GB, free: 15.45 MB / 395.1 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.000321/0.5413, allocations: 319 kB / 0.5481 GB, free: 15.1 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.5414, allocations: 12.03 kB / 0.5481 GB, free: 15.09 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/0.5414, allocations: 4 kB / 0.5481 GB, free: 15.08 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5416, allocations: 167 kB / 0.5483 GB, free: 14.88 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.5416, allocations: 4 kB / 0.5483 GB, free: 14.88 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.5416, allocations: 0 / 0.5483 GB, free: 14.88 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.32e-05/0.5417, allocations: 4 kB / 0.5483 GB, free: 14.87 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.5418, allocations: 55.34 kB / 0.5483 GB, free: 14.8 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.5418, allocations: 0 / 0.5483 GB, free: 14.8 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.5418, allocations: 0 / 0.5483 GB, free: 14.8 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.5419, allocations: 8 kB / 0.5484 GB, free: 14.8 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.5422, allocations: 301.7 kB / 0.5486 GB, free: 14.46 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.612e-05/0.5423, allocations: 22.58 kB / 0.5487 GB, free: 14.43 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.5424, allocations: 16.86 kB / 0.5487 GB, free: 14.41 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.5424, allocations: 0 / 0.5487 GB, free: 14.41 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5424, allocations: 34.56 kB / 0.5487 GB, free: 14.37 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 3.296e-06/0.5424, allocations: 0 / 0.5487 GB, free: 14.37 MB / 395.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002307/0.5427, allocations: 57.61 kB / 0.5488 GB, free: 14.3 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.5427, allocations: 55.41 kB / 0.5488 GB, free: 14.24 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.5428, allocations: 85 kB / 0.5489 GB, free: 14.15 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.5428, allocations: 25.7 kB / 0.5489 GB, free: 14.12 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.5429, allocations: 150.6 kB / 0.5491 GB, free: 13.97 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.543, allocations: 19.8 kB / 0.5491 GB, free: 13.95 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.543, allocations: 4.125 kB / 0.5491 GB, free: 13.95 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5431, allocations: 314.8 kB / 0.5494 GB, free: 13.63 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.5431, allocations: 6.953 kB / 0.5494 GB, free: 13.62 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.364e-05/0.5432, allocations: 17.72 kB / 0.5494 GB, free: 13.6 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.572e-05/0.5433, allocations: 15.98 kB / 0.5494 GB, free: 13.59 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5433, allocations: 0 / 0.5494 GB, free: 13.59 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001488/0.5434, allocations: 49.62 kB / 0.5495 GB, free: 13.53 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5435, allocations: 8.031 kB / 0.5495 GB, free: 13.52 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.5435, allocations: 0 / 0.5495 GB, free: 13.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5435, allocations: 0 / 0.5495 GB, free: 13.52 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.5436, allocations: 12 kB / 0.5495 GB, free: 13.51 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.5437, allocations: 0 / 0.5495 GB, free: 13.51 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.5437, allocations: 7.938 kB / 0.5495 GB, free: 13.5 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.5437, allocations: 0 / 0.5495 GB, free: 13.5 MB / 395.1 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 () * 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.532e-05/0.5438, allocations: 108.9 kB / 0.5496 GB, free: 13.39 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.5439, allocations: 11.84 kB / 0.5496 GB, free: 13.38 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.5441, allocations: 61.75 kB / 0.5497 GB, free: 13.31 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5441, allocations: 4 kB / 0.5497 GB, free: 13.3 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5441, allocations: 0 / 0.5497 GB, free: 13.3 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5441, allocations: 0 / 0.5497 GB, free: 13.3 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.5443, allocations: 130.2 kB / 0.5498 GB, free: 13.14 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5443, allocations: 3.953 kB / 0.5498 GB, free: 13.14 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.232e-05/0.5444, allocations: 12 kB / 0.5498 GB, free: 13.12 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.5444, allocations: 0 / 0.5498 GB, free: 13.12 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5444, allocations: 0 / 0.5498 GB, free: 13.12 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5444, allocations: 0 / 0.5498 GB, free: 13.12 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5444, allocations: 3.984 kB / 0.5498 GB, free: 13.12 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.5447, allocations: 147.7 kB / 0.55 GB, free: 12.96 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.5447, allocations: 89.67 kB / 0.5501 GB, free: 12.86 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5448, allocations: 4 kB / 0.5501 GB, free: 12.85 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.5449, allocations: 0 / 0.5501 GB, free: 12.85 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.5449, allocations: 0 / 0.5501 GB, free: 12.85 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.5449, allocations: 4 kB / 0.5501 GB, free: 12.85 MB / 395.1 MB Notification: Performance of sorting global known variables: time 3.84e-05/0.545, allocations: 79.22 kB / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.545, allocations: 4.094 kB / 0.5501 GB, free: 12.77 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.5453, allocations: 11.98 kB / 0.5502 GB, free: 12.75 MB / 395.1 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 () * 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.0001478/0.5454, allocations: 99.25 kB / 0.5502 GB, free: 12.64 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.5456, allocations: 19.94 kB / 0.5503 GB, free: 12.62 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5456, allocations: 0 / 0.5503 GB, free: 12.62 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 3.645e-05/0.5456, allocations: 12 kB / 0.5503 GB, free: 12.61 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.5458, allocations: 4 kB / 0.5503 GB, free: 12.61 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.5461, allocations: 97.61 kB / 0.5504 GB, free: 12.48 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.5464, allocations: 0.6846 MB / 0.551 GB, free: 11.77 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.5464, allocations: 7.438 kB / 0.5511 GB, free: 11.77 MB / 395.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5464, allocations: 0 / 0.5511 GB, free: 11.77 MB / 395.1 MB Notification: Performance of Templates: time 0.002497/0.5489, allocations: 0.5688 MB / 0.5516 GB, free: 11.2 MB / 395.1 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