Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 183.1 kB / 8.52 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.4 MB / 230.3 MB, free: 7.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 88.73 kB / 281.2 MB, free: 5.516 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.1965/0.1965, allocations: 44.14 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.103e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 61.9 MB / 0.4941 GB, free: 1.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.312/0.4478, allocations: 84.96 MB / 0.577 GB, free: 11.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4481, allocations: 65.22 kB / 0.5771 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009955/0.458, allocations: 2.843 MB / 0.5799 GB, free: 9.004 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4581, allocations: 4 kB / 0.5799 GB, free: 9 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000329/0.4584, allocations: 366.2 kB / 0.5802 GB, free: 8.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.4585, allocations: 11.97 kB / 0.5802 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.4585, allocations: 3.906 kB / 0.5803 GB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.4587, allocations: 163.1 kB / 0.5804 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.4587, allocations: 7.938 kB / 0.5804 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.4587, allocations: 11.94 kB / 0.5804 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001076/0.4588, allocations: 43.88 kB / 0.5805 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.866e-05/0.4589, allocations: 53.67 kB / 0.5805 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4589, allocations: 0 / 0.5805 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.459, allocations: 0 / 0.5805 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.459, allocations: 4 kB / 0.5805 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.4591, allocations: 150.1 kB / 0.5807 GB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4593, allocations: 69.69 kB / 0.5807 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.443e-05/0.4593, allocations: 26.36 kB / 0.5808 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002789/0.4596, allocations: 113.1 kB / 0.5809 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.4597, allocations: 43.25 kB / 0.5809 GB, free: 7.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.4597, allocations: 0 / 0.5809 GB, free: 7.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1236/0.5833, allocations: 5.25 MB / 0.586 GB, free: 2.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.5834, allocations: 51.41 kB / 0.5861 GB, free: 2.438 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.5835, allocations: 89 kB / 0.5862 GB, free: 2.344 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.5835, allocations: 29.64 kB / 0.5862 GB, free: 2.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.5836, allocations: 80.52 kB / 0.5863 GB, free: 2.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.908e-05/0.5837, allocations: 70.91 kB / 0.5863 GB, free: 2.148 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.5837, allocations: 0 / 0.5863 GB, free: 2.148 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5838, allocations: 322.8 kB / 0.5866 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.5839, allocations: 64.11 kB / 0.5867 GB, free: 1.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.584, allocations: 66.22 kB / 0.5868 GB, free: 1.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.5851, allocations: 215.6 kB / 0.587 GB, free: 1.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5851, allocations: 0 / 0.587 GB, free: 1.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001284/0.5864, allocations: 362.3 kB / 0.5873 GB, free: 1.129 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5864, allocations: 7.938 kB / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5864, allocations: 0 / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5865, allocations: 0 / 0.5873 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004728/0.5869, allocations: 99.86 kB / 0.5874 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.587, allocations: 3.984 kB / 0.5874 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.5872, allocations: 43.97 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.5872, allocations: 19.98 kB / 0.5875 GB, free: 0.957 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 (23): * Single equations (assignments): 23 * 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.0001042/0.5874, allocations: 108.9 kB / 0.5876 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.5874, allocations: 15.75 kB / 0.5876 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.589, allocations: 456.2 kB / 0.588 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5891, allocations: 4 kB / 0.588 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5891, allocations: 4 kB / 0.5881 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5891, allocations: 0 / 0.5881 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.5916, allocations: 0.7999 MB / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5916, allocations: 3.906 kB / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.5919, allocations: 95.92 kB / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.592, allocations: 4 kB / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.592, allocations: 11.98 kB / 0.5889 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.592, allocations: 4 kB / 0.5889 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.592, allocations: 0 / 0.5889 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001288/0.5933, allocations: 456.4 kB / 0.5894 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.5934, allocations: 85 kB / 0.5895 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.5934, allocations: 4 kB / 0.5895 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.5936, allocations: 35.97 kB / 0.5895 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/0.5937, allocations: 11.98 kB / 0.5895 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.5937, allocations: 19.98 kB / 0.5895 GB, free: 14.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.298e-05/0.5938, allocations: 75.28 kB / 0.5896 GB, free: 14.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001629/0.5954, allocations: 0.6089 MB / 0.5902 GB, free: 14.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.002839/0.5982, allocations: 334.6 kB / 0.5905 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.5986, allocations: 164.7 kB / 0.5907 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5986, allocations: 0 / 0.5907 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.5987, allocations: 87.84 kB / 0.5908 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.5989, allocations: 12.12 kB / 0.5908 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000834/0.5997, allocations: 261.7 kB / 0.591 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.6001, allocations: 0.7434 MB / 0.5917 GB, free: 12.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6001, allocations: 0 / 0.5917 GB, free: 12.41 MB / 410.7 MB Notification: Performance of Templates: time 0.06139/0.6615, allocations: 48.2 MB / 0.6388 GB, free: 12.22 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches