Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [: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.001529/0.001529, allocations: 175.6 kB / 8.517 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.337/1.337, allocations: 221.4 MB / 230.3 MB, free: 7.684 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.001032/0.001031, allocations: 85.97 kB / 281.2 MB, free: 5.496 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.1701/0.1701, allocations: 44.14 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.578e-06/9.808e-06, allocations: 0 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2727/0.3843, allocations: 85.62 MB / 0.5777 GB, free: 11.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/0.3847, allocations: 67.45 kB / 0.5778 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02658/0.4113, allocations: 7.995 MB / 0.5856 GB, free: 3.121 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4113, allocations: 7.938 kB / 0.5856 GB, free: 3.113 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002619/0.4116, allocations: 339.1 kB / 0.5859 GB, free: 2.738 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4116, allocations: 17.22 kB / 0.5859 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.4117, allocations: 7.891 kB / 0.5859 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.75e-05/0.4118, allocations: 159.1 kB / 0.5861 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.4118, allocations: 0 / 0.5861 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.4118, allocations: 0 / 0.5861 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.411e-05/0.4118, allocations: 8 kB / 0.5861 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.166e-05/0.4119, allocations: 33.61 kB / 0.5861 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.4119, allocations: 3.938 kB / 0.5861 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.4119, allocations: 0 / 0.5861 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4119, allocations: 0 / 0.5861 GB, free: 2.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001112/0.412, allocations: 126.2 kB / 0.5862 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.924e-05/0.4121, allocations: 26.55 kB / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.565e-05/0.4121, allocations: 8.859 kB / 0.5863 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4121, allocations: 4.062 kB / 0.5863 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.4121, allocations: 30.56 kB / 0.5863 GB, free: 2.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4121, allocations: 0 / 0.5863 GB, free: 2.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.4123, allocations: 37.59 kB / 0.5863 GB, free: 2.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.4123, allocations: 55.41 kB / 0.5864 GB, free: 2.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.4124, allocations: 85 kB / 0.5865 GB, free: 2.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.4124, allocations: 29.86 kB / 0.5865 GB, free: 1.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.4124, allocations: 84.14 kB / 0.5866 GB, free: 1.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.4124, allocations: 7.938 kB / 0.5866 GB, free: 1.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.4125, allocations: 0 / 0.5866 GB, free: 1.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.4125, allocations: 310.8 kB / 0.5869 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.4126, allocations: 0 / 0.5869 GB, free: 1.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.4126, allocations: 0 / 0.5869 GB, free: 1.578 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.102e-05/0.4126, allocations: 4 kB / 0.5869 GB, free: 1.574 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.4126, allocations: 3.938 kB / 0.5869 GB, free: 1.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.358e-05/0.4127, allocations: 45.66 kB / 0.5869 GB, free: 1.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.4127, allocations: 4 kB / 0.587 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4127, allocations: 4 kB / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.4127, allocations: 0 / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.4127, allocations: 0 / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.4128, allocations: 0 / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.4128, allocations: 0 / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4128, allocations: 4 kB / 0.587 GB, free: 1.508 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.944e-05/0.4129, allocations: 105 kB / 0.5871 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-06/0.4129, allocations: 7.938 kB / 0.5871 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.413, allocations: 52.73 kB / 0.5871 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.413, allocations: 0 / 0.5871 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.413, allocations: 0 / 0.5871 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.413, allocations: 7.984 kB / 0.5871 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.264e-05/0.4131, allocations: 126.2 kB / 0.5872 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4131, allocations: 4.031 kB / 0.5872 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.4131, allocations: 0 / 0.5872 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4131, allocations: 7.906 kB / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4131, allocations: 0 / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.4131, allocations: 0 / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4131, allocations: 0 / 0.5873 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.906e-05/0.4132, allocations: 65.06 kB / 0.5873 GB, free: 1.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.4133, allocations: 85.05 kB / 0.5874 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.4133, allocations: 3.938 kB / 0.5874 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.4133, allocations: 4 kB / 0.5874 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.4134, allocations: 0 / 0.5874 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.4134, allocations: 4 kB / 0.5874 GB, free: 0.957 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.431e-05/0.4134, allocations: 75.28 kB / 0.5875 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002352/0.4136, allocations: 51.92 kB / 0.5875 GB, free: 0.832 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002502/0.4139, allocations: 147.2 kB / 0.5877 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.072e-05/0.414, allocations: 37.69 kB / 0.5877 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.414, allocations: 0 / 0.5877 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.414, allocations: 29.7 kB / 0.5877 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.733e-05/0.4141, allocations: 3.938 kB / 0.5877 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.4143, allocations: 54.14 kB / 0.5878 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.4145, allocations: 0.6841 MB / 0.5885 GB, free: 15.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4145, allocations: 0 / 0.5885 GB, free: 15.81 MB / 410.7 MB Notification: Performance of Templates: time 0.002526/0.4171, allocations: 0.9761 MB / 0.5894 GB, free: 14.84 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches