Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001087/0.001087, allocations: 195.4 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009419/0.000942, allocations: 96.11 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2049/0.2049, allocations: 45.14 MB / 383.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.314e-06/7.414e-06, allocations: 4 kB / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5286, allocations: 86 MB / 0.5878 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.5289, allocations: 64.19 kB / 0.5878 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.009227/0.5381, allocations: 2.837 MB / 0.5906 GB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.936e-06/0.5382, allocations: 0 / 0.5906 GB, free: 14.57 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.0003415/0.5385, allocations: 365.3 kB / 0.5909 GB, free: 14.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5386, allocations: 12.03 kB / 0.591 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.5386, allocations: 7.906 kB / 0.591 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5388, allocations: 167 kB / 0.5911 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5388, allocations: 4 kB / 0.5911 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.5388, allocations: 7.906 kB / 0.5911 GB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001463/0.539, allocations: 37.47 kB / 0.5912 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.5391, allocations: 52.19 kB / 0.5912 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.5391, allocations: 3.984 kB / 0.5912 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5391, allocations: 0 / 0.5912 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5392, allocations: 4 kB / 0.5912 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.5393, allocations: 156.2 kB / 0.5914 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5395, allocations: 70.2 kB / 0.5914 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.499e-05/0.5395, allocations: 27.73 kB / 0.5915 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.5398, allocations: 109.1 kB / 0.5916 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.5398, allocations: 38.38 kB / 0.5916 GB, free: 13.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.5398, allocations: 0 / 0.5916 GB, free: 13.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1184/0.6582, allocations: 5.246 MB / 0.5967 GB, free: 8.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.6583, allocations: 59.34 kB / 0.5968 GB, free: 8.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.6584, allocations: 88.38 kB / 0.5969 GB, free: 8.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.6585, allocations: 25.7 kB / 0.5969 GB, free: 8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.6585, allocations: 80.52 kB / 0.597 GB, free: 7.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.309e-05/0.6586, allocations: 73.78 kB / 0.597 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.6586, allocations: 0 / 0.597 GB, free: 7.848 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6587, allocations: 326.5 kB / 0.5974 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.6588, allocations: 65.3 kB / 0.5974 GB, free: 7.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.6589, allocations: 61.67 kB / 0.5975 GB, free: 7.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.66, allocations: 204.6 kB / 0.5977 GB, free: 7.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.66, allocations: 0 / 0.5977 GB, free: 7.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001252/0.6613, allocations: 367.8 kB / 0.598 GB, free: 6.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.6613, allocations: 4 kB / 0.598 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.6613, allocations: 0 / 0.598 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.6613, allocations: 8 kB / 0.598 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.6618, allocations: 95.84 kB / 0.5981 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6618, allocations: 4 kB / 0.5981 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.662, allocations: 39.97 kB / 0.5982 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.6621, allocations: 19.05 kB / 0.5982 GB, free: 6.773 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.0001405/0.6622, allocations: 108.9 kB / 0.5983 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.6623, allocations: 11.81 kB / 0.5983 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.6641, allocations: 471.8 kB / 0.5988 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6641, allocations: 0 / 0.5988 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6641, allocations: 0 / 0.5988 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6641, allocations: 3.984 kB / 0.5988 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.6667, allocations: 0.8057 MB / 0.5995 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6667, allocations: 4 kB / 0.5995 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003374/0.667, allocations: 91.75 kB / 0.5996 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.667, allocations: 0 / 0.5996 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.6671, allocations: 11.98 kB / 0.5996 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.6671, allocations: 11.94 kB / 0.5997 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.6671, allocations: 0 / 0.5997 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001278/0.6684, allocations: 456.2 kB / 0.6001 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.6684, allocations: 85.02 kB / 0.6002 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.6685, allocations: 4 kB / 0.6002 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.6687, allocations: 35.97 kB / 0.6002 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.6688, allocations: 15.17 kB / 0.6002 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.6688, allocations: 11.98 kB / 0.6002 GB, free: 4.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.477e-05/0.6688, allocations: 82.34 kB / 0.6003 GB, free: 4.613 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001816/0.6707, allocations: 0.5973 MB / 0.6009 GB, free: 4.016 MB / 394.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.002823/0.6735, allocations: 337.8 kB / 0.6012 GB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003395/0.6738, allocations: 157.8 kB / 0.6014 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.6739, allocations: 4 kB / 0.6014 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.674, allocations: 88.72 kB / 0.6015 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.6742, allocations: 7.906 kB / 0.6015 GB, free: 3.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.6751, allocations: 261.4 kB / 0.6017 GB, free: 3.215 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/0.6755, allocations: 0.7505 MB / 0.6024 GB, free: 2.441 MB / 394.7 MB Notification: Performance of SimCode: time 2.855e-06/0.6755, allocations: 0 / 0.6024 GB, free: 2.441 MB / 394.7 MB Notification: Performance of Templates: time 0.06809/0.7436, allocations: 48.19 MB / 0.6495 GB, free: 2.277 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches