Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001595/0.001595, allocations: 205.3 kB / 8.541 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009364/0.0009363, allocations: 94.95 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1971/0.1971, allocations: 45.14 MB / 383.3 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.481e-06/5.501e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 63.24 MB / 0.5038 GB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/0.4277, allocations: 86.69 MB / 0.5884 GB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.428, allocations: 71.62 kB / 0.5885 GB, free: 144 kB / 378.7 MB Notification: Performance of FrontEnd: time 0.0261/0.4541, allocations: 8.064 MB / 0.5964 GB, free: 9.324 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.4542, allocations: 0 / 0.5964 GB, free: 9.324 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.0004062/0.4546, allocations: 346.3 kB / 0.5967 GB, free: 8.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.4547, allocations: 8.031 kB / 0.5967 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.4547, allocations: 4 kB / 0.5967 GB, free: 8.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4549, allocations: 163.1 kB / 0.5969 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4549, allocations: 0 / 0.5969 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4549, allocations: 0 / 0.5969 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.075e-05/0.455, allocations: 0 / 0.5969 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.4551, allocations: 33.61 kB / 0.5969 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.4551, allocations: 4 kB / 0.5969 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4551, allocations: 0 / 0.5969 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4551, allocations: 0 / 0.5969 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.4553, allocations: 134.2 kB / 0.597 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.4554, allocations: 17.92 kB / 0.597 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.4554, allocations: 8.859 kB / 0.5971 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.4554, allocations: 0 / 0.5971 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4555, allocations: 34.56 kB / 0.5971 GB, free: 8.445 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4555, allocations: 0 / 0.5971 GB, free: 8.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002447/0.4557, allocations: 37.61 kB / 0.5971 GB, free: 8.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.4558, allocations: 51.41 kB / 0.5972 GB, free: 8.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.4559, allocations: 96.42 kB / 0.5973 GB, free: 8.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4559, allocations: 29.64 kB / 0.5973 GB, free: 8.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.456, allocations: 80.14 kB / 0.5974 GB, free: 8.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.456, allocations: 3.938 kB / 0.5974 GB, free: 8.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.456, allocations: 4.156 kB / 0.5974 GB, free: 8.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4562, allocations: 310.8 kB / 0.5977 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.4562, allocations: 4 kB / 0.5977 GB, free: 7.801 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-06/0.4562, allocations: 0.6562 kB / 0.5977 GB, free: 7.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.4563, allocations: 4 kB / 0.5977 GB, free: 7.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4563, allocations: 0 / 0.5977 GB, free: 7.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.334e-05/0.4564, allocations: 44.66 kB / 0.5977 GB, free: 7.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4564, allocations: 4 kB / 0.5977 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.4564, allocations: 4.094 kB / 0.5977 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4564, allocations: 0 / 0.5977 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.92e-06/0.4564, allocations: 7.938 kB / 0.5977 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.4565, allocations: 0 / 0.5977 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.4565, allocations: 0 / 0.5977 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.4565, allocations: 0 / 0.5977 GB, free: 7.734 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 9.364e-05/0.4566, allocations: 101 kB / 0.5978 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.4566, allocations: 7.906 kB / 0.5978 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.4568, allocations: 55.86 kB / 0.5979 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4568, allocations: 0 / 0.5979 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4568, allocations: 4 kB / 0.5979 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.4568, allocations: 0 / 0.5979 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.471e-05/0.4569, allocations: 130.2 kB / 0.598 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4569, allocations: 3.906 kB / 0.598 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.4569, allocations: 0 / 0.598 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4569, allocations: 0 / 0.598 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4569, allocations: 4.031 kB / 0.598 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4569, allocations: 0 / 0.598 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4569, allocations: 4 kB / 0.598 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.736e-05/0.457, allocations: 60.64 kB / 0.5981 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.4571, allocations: 85 kB / 0.5982 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.4571, allocations: 0 / 0.5982 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.4571, allocations: 4.031 kB / 0.5982 GB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.4572, allocations: 4 kB / 0.5982 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.4572, allocations: 0 / 0.5982 GB, free: 7.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.176e-05/0.4572, allocations: 79.28 kB / 0.5983 GB, free: 7.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002812/0.4575, allocations: 55.86 kB / 0.5983 GB, free: 7.059 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.0003022/0.4578, allocations: 142.8 kB / 0.5984 GB, free: 6.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.471e-05/0.4579, allocations: 29.7 kB / 0.5985 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4579, allocations: 160 / 0.5985 GB, free: 6.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.093e-05/0.4579, allocations: 33.7 kB / 0.5985 GB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.458, allocations: 3.984 kB / 0.5985 GB, free: 6.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.4583, allocations: 55.38 kB / 0.5986 GB, free: 6.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003011/0.4586, allocations: 0.6841 MB / 0.5992 GB, free: 6.051 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4586, allocations: 0 / 0.5992 GB, free: 6.051 MB / 394.7 MB Notification: Performance of Templates: time 0.002911/0.4615, allocations: 0.988 MB / 0.6002 GB, free: 5.078 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches