Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") [: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 3.2.3+maint.om/package.mo): time 0.0009491/0.0009492, allocations: 188.3 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.011/1.011, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008284/0.0008284, allocations: 95.55 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1497/0.1497, allocations: 43.49 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.712e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 58.83 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.6327, allocations: 350.7 MB / 0.8079 GB, free: 2.336 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.633, allocations: 83.77 kB / 0.808 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.8733/1.506, allocations: 305.3 MB / 1.106 GB, free: 82.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001101/1.506, allocations: 49.17 kB / 1.106 GB, free: 82.68 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004366/1.511, allocations: 2.091 MB / 1.108 GB, free: 81.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/1.511, allocations: 11.72 kB / 1.108 GB, free: 81.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/1.511, allocations: 201.9 kB / 1.108 GB, free: 81.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/1.514, allocations: 1.285 MB / 1.11 GB, free: 81.13 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/1.514, allocations: 140.2 kB / 1.11 GB, free: 81.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001811/1.514, allocations: 65.09 kB / 1.11 GB, free: 81.03 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002197/1.516, allocations: 1.787 MB / 1.112 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/1.518, allocations: 1.793 MB / 1.113 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/1.518, allocations: 3.75 kB / 1.113 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/1.518, allocations: 6 kB / 1.113 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.543e-05/1.518, allocations: 123.3 kB / 1.114 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009556/1.528, allocations: 6.778 MB / 1.12 GB, free: 78.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/1.529, allocations: 1.023 MB / 1.121 GB, free: 78.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008489/1.53, allocations: 0.7782 MB / 1.122 GB, free: 78.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004544/1.535, allocations: 4.397 MB / 1.126 GB, free: 75.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/1.535, allocations: 43.53 kB / 1.126 GB, free: 75.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=117): time 2.255e-06/1.535, allocations: 3.875 kB / 1.126 GB, free: 75.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132): time 0.0145/1.549, allocations: 5.208 MB / 1.131 GB, free: 73.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.549, allocations: 228.7 kB / 1.132 GB, free: 73.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.55, allocations: 0.9059 MB / 1.132 GB, free: 72.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.993e-05/1.551, allocations: 26.73 kB / 1.132 GB, free: 72.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/1.551, allocations: 493.4 kB / 1.133 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002917/1.551, allocations: 432.6 kB / 1.133 GB, free: 72.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.218e-05/1.551, allocations: 1.438 kB / 1.133 GB, free: 72.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.078e-05/1.551, allocations: 371.2 kB / 1.134 GB, free: 71.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/1.552, allocations: 0.744 MB / 1.134 GB, free: 71.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/1.553, allocations: 1.047 MB / 1.135 GB, free: 70.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/1.565, allocations: 2.709 MB / 1.138 GB, free: 70.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/1.565, allocations: 2.719 kB / 1.138 GB, free: 70.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01354/1.578, allocations: 4.178 MB / 1.142 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004314/1.579, allocations: 2.975 MB / 1.145 GB, free: 66.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/1.579, allocations: 8.938 kB / 1.145 GB, free: 66.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005694/1.584, allocations: 1.17 MB / 1.146 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.586, allocations: 334 kB / 1.147 GB, free: 66.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004564/1.59, allocations: 2.188 MB / 1.149 GB, free: 64.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.592, allocations: 77.27 kB / 1.149 GB, free: 64.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/1.592, allocations: 75.52 kB / 1.149 GB, free: 64.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/1.592, allocations: 5.375 kB / 1.149 GB, free: 64.96 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01349/1.606, allocations: 3.721 MB / 1.152 GB, free: 63.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/1.606, allocations: 13.69 kB / 1.152 GB, free: 63.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005399/1.611, allocations: 1.03 MB / 1.153 GB, free: 63.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.612, allocations: 341 kB / 1.154 GB, free: 62.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003097/1.616, allocations: 1.787 MB / 1.156 GB, free: 61.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/1.617, allocations: 74.08 kB / 1.156 GB, free: 61.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/1.617, allocations: 71.67 kB / 1.156 GB, free: 61.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0004011/1.618, allocations: 144.8 kB / 1.156 GB, free: 60.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/1.618, allocations: 151.3 kB / 1.156 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00645/1.624, allocations: 2.828 MB / 1.159 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.624, allocations: 22.58 kB / 1.159 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.624, allocations: 0 / 1.159 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/1.624, allocations: 6.844 kB / 1.159 GB, free: 58.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007868/1.632, allocations: 4.184 MB / 1.163 GB, free: 55.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.632, allocations: 0 / 1.163 GB, free: 55.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.633, allocations: 233.4 kB / 1.163 GB, free: 55.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/1.636, allocations: 0.9394 MB / 1.164 GB, free: 54.22 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/1.636, allocations: 23.97 kB / 1.164 GB, free: 54.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/1.64, allocations: 2.195 MB / 1.166 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.64, allocations: 0 / 1.166 GB, free: 51.98 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006364/1.646, allocations: 3.588 MB / 1.17 GB, free: 48.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000938/1.647, allocations: 427 kB / 1.17 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00044/1.648, allocations: 4 kB / 1.17 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.649, allocations: 85.98 kB / 1.17 GB, free: 47.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/1.65, allocations: 109.1 kB / 1.17 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.65, allocations: 67.86 kB / 1.17 GB, free: 47.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0008908/1.651, allocations: 0.6634 MB / 1.171 GB, free: 47.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00387/1.654, allocations: 1.335 MB / 1.172 GB, free: 45.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.002932/1.657, allocations: 1.214 MB / 1.173 GB, free: 44.62 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005297/1.663, allocations: 3.049 MB / 1.176 GB, free: 41.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.663, allocations: 4 kB / 1.176 GB, free: 41.56 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/1.664, allocations: 0.9762 MB / 1.177 GB, free: 40.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/1.667, allocations: 0.5901 MB / 1.178 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/1.673, allocations: 2.844 MB / 1.181 GB, free: 37.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.674, allocations: 1.593 MB / 1.182 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/1.674, allocations: 0 / 1.182 GB, free: 35.78 MB / 0.4948 GB Notification: Performance of Templates: time 0.2134/1.888, allocations: 51.9 MB / 1.233 GB, free: 124 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestDelayedValve/TestDelayedValve.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches