Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [: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.001108/0.001108, allocations: 192.5 kB / 8.534 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.427/1.427, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009823/0.0009826, allocations: 92.02 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1874/0.1874, allocations: 45.15 MB / 383.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.484e-06, allocations: 0 / 452.6 MB, free: 76.25 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 63.24 MB / 0.5038 GB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4629, allocations: 85.4 MB / 0.5872 GB, free: 1.613 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4633, allocations: 66.8 kB / 0.5872 GB, free: 1.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002336/0.4656, allocations: 0.5946 MB / 0.5878 GB, free: 1.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.4657, allocations: 0 / 0.5878 GB, free: 1.086 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0001776/0.4658, allocations: 340.5 kB / 0.5881 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.4659, allocations: 8.031 kB / 0.5881 GB, free: 0.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.4659, allocations: 7.906 kB / 0.5882 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.198e-05/0.466, allocations: 163 kB / 0.5883 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.466, allocations: 4 kB / 0.5883 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.4661, allocations: 1.562 kB / 0.5883 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001135/0.4662, allocations: 50.77 kB / 0.5884 GB, free: 464 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.4663, allocations: 52.94 kB / 0.5884 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4663, allocations: 0 / 0.5884 GB, free: 412 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4663, allocations: 4 kB / 0.5884 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4663, allocations: 0 / 0.5884 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.4664, allocations: 141.3 kB / 0.5886 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.4665, allocations: 68.97 kB / 0.5886 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.4666, allocations: 27.28 kB / 0.5886 GB, free: 148 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.4669, allocations: 255.3 kB / 0.5889 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.467, allocations: 33.69 kB / 0.5889 GB, free: 15.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.467, allocations: 0 / 0.5889 GB, free: 15.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000289/0.4673, allocations: 84.7 kB / 0.589 GB, free: 15.72 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4673, allocations: 59.39 kB / 0.5891 GB, free: 15.65 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.4674, allocations: 85 kB / 0.5891 GB, free: 15.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.4674, allocations: 25.7 kB / 0.5892 GB, free: 15.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.764e-05/0.4675, allocations: 84.27 kB / 0.5892 GB, free: 15.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.4675, allocations: 26.56 kB / 0.5893 GB, free: 15.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.4675, allocations: 96 / 0.5893 GB, free: 15.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4676, allocations: 330.5 kB / 0.5896 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.4677, allocations: 11.62 kB / 0.5896 GB, free: 15.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-05/0.4677, allocations: 11.25 kB / 0.5896 GB, free: 15.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4678, allocations: 30.78 kB / 0.5896 GB, free: 15.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4678, allocations: 0 / 0.5896 GB, free: 15.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001683/0.468, allocations: 80.11 kB / 0.5897 GB, free: 14.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.468, allocations: 12 kB / 0.5897 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.468, allocations: 0 / 0.5897 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.468, allocations: 0 / 0.5897 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4681, allocations: 19.89 kB / 0.5897 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4681, allocations: 0 / 0.5897 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.4682, allocations: 4.875 kB / 0.5897 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.4682, allocations: 0 / 0.5897 GB, free: 14.95 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 (10): * Single equations (assignments): 10 * 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.078e-05/0.4683, allocations: 104.9 kB / 0.5898 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.4683, allocations: 8.125 kB / 0.5899 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.4686, allocations: 103.4 kB / 0.59 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4686, allocations: 11.86 kB / 0.59 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4686, allocations: 0 / 0.59 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4686, allocations: 0 / 0.59 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.4687, allocations: 153 kB / 0.5901 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.4687, allocations: 384 / 0.5901 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.4688, allocations: 12 kB / 0.5901 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4688, allocations: 0 / 0.5901 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4688, allocations: 0 / 0.5901 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4688, allocations: 11.92 kB / 0.5901 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4688, allocations: 7.906 kB / 0.5901 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001972/0.469, allocations: 108.4 kB / 0.5902 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.4691, allocations: 81.02 kB / 0.5903 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.4691, allocations: 3.984 kB / 0.5903 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.4691, allocations: 4 kB / 0.5903 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.446e-05/0.4692, allocations: 0 / 0.5903 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.4692, allocations: 4 kB / 0.5903 GB, free: 14.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.011e-05/0.4692, allocations: 79.28 kB / 0.5904 GB, free: 14.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.4694, allocations: 23.92 kB / 0.5904 GB, free: 14.18 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000157/0.4696, allocations: 99.25 kB / 0.5905 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4697, allocations: 49.69 kB / 0.5906 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4697, allocations: 0 / 0.5906 GB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/0.4697, allocations: 31.86 kB / 0.5906 GB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001098/0.4699, allocations: 3.906 kB / 0.5906 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.4702, allocations: 90.19 kB / 0.5907 GB, free: 13.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.4705, allocations: 0.6958 MB / 0.5914 GB, free: 13.18 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4705, allocations: 4 kB / 0.5914 GB, free: 13.18 MB / 394.7 MB Notification: Performance of Templates: time 0.003384/0.4739, allocations: 0.7588 MB / 0.5921 GB, free: 12.43 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches