Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") [: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.0009266/0.0009267, allocations: 192.6 kB / 7.807 MB, free: 2.488 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.013/1.013, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007931/0.000793, allocations: 95.3 kB / 261.4 MB, free: 13.55 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.1505/0.1505, allocations: 43.49 MB / 352.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.331e-06/6.351e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2097, allocations: 58.83 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.749/3.959, allocations: 2.781 GB / 3.246 GB, free: 86.18 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/3.959, allocations: 83.95 kB / 3.246 GB, free: 86.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.077/5.036, allocations: 436.2 MB / 3.672 GB, free: 34.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.967e-05/5.036, allocations: 19.94 kB / 3.672 GB, free: 34.07 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006636/5.043, allocations: 1.762 MB / 3.674 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/5.043, allocations: 12.03 kB / 3.674 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/5.046, allocations: 346.4 kB / 3.674 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/5.047, allocations: 0.5775 MB / 3.675 GB, free: 31.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/5.047, allocations: 27.91 kB / 3.675 GB, free: 31.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/5.047, allocations: 36 kB / 3.675 GB, free: 31.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009264/5.048, allocations: 0.5415 MB / 3.676 GB, free: 30.72 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008966/5.049, allocations: 0.6638 MB / 3.676 GB, free: 30 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/5.049, allocations: 0 / 3.676 GB, free: 30 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/5.049, allocations: 4 kB / 3.676 GB, free: 30 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/5.049, allocations: 25.25 kB / 3.676 GB, free: 29.97 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/5.08, allocations: 19.54 MB / 3.695 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/5.081, allocations: 326.5 kB / 3.696 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/5.081, allocations: 213.6 kB / 3.696 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2402/5.321, allocations: 48.18 MB / 3.743 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/5.321, allocations: 37.91 kB / 3.743 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 5.35e-06/5.321, allocations: 0 / 3.743 GB, free: 98.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.006681/5.328, allocations: 1.857 MB / 3.745 GB, free: 98.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/5.328, allocations: 107.2 kB / 3.745 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004279/5.328, allocations: 391.5 kB / 3.745 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/5.328, allocations: 25.7 kB / 3.745 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/5.328, allocations: 272.5 kB / 3.745 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/5.329, allocations: 175.5 kB / 3.746 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/5.329, allocations: 0 / 3.746 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.024e-05/5.329, allocations: 365.7 kB / 3.746 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/5.329, allocations: 208.7 kB / 3.746 GB, free: 97.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/5.329, allocations: 381.1 kB / 3.747 GB, free: 97.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/5.331, allocations: 350 kB / 3.747 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/5.331, allocations: 0 / 3.747 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002987/5.334, allocations: 1.156 MB / 3.748 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002951/5.334, allocations: 1.83 MB / 3.75 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/5.334, allocations: 7.281 kB / 3.75 GB, free: 95.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/5.335, allocations: 319.6 kB / 3.75 GB, free: 95.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004625/5.335, allocations: 137.9 kB / 3.75 GB, free: 95.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/5.337, allocations: 1.04 MB / 3.751 GB, free: 94.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/5.338, allocations: 86.34 kB / 3.751 GB, free: 94.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/5.338, allocations: 43.02 kB / 3.751 GB, free: 94.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/5.338, allocations: 3.844 kB / 3.751 GB, free: 94.76 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002259/5.34, allocations: 0.7711 MB / 3.752 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/5.34, allocations: 5.969 kB / 3.752 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/5.341, allocations: 286 kB / 3.752 GB, free: 94.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/5.342, allocations: 150.5 kB / 3.753 GB, free: 94.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/5.343, allocations: 0.9144 MB / 3.753 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/5.343, allocations: 80.59 kB / 3.754 GB, free: 94.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/5.343, allocations: 37.17 kB / 3.754 GB, free: 94.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.000158/5.344, allocations: 132.1 kB / 3.754 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006991/5.344, allocations: 268.7 kB / 3.754 GB, free: 94.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/5.347, allocations: 2.255 MB / 3.756 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/5.347, allocations: 26.45 kB / 3.756 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/5.347, allocations: 1.312 kB / 3.756 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/5.347, allocations: 3.703 kB / 3.756 GB, free: 93.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/5.351, allocations: 3.081 MB / 3.759 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/5.351, allocations: 0 / 3.759 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/5.351, allocations: 143 kB / 3.759 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/5.351, allocations: 93.86 kB / 3.759 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/5.352, allocations: 11.39 kB / 3.759 GB, free: 93.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006072/5.352, allocations: 1.175 MB / 3.761 GB, free: 92.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/5.352, allocations: 0 / 3.761 GB, free: 92.42 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002821/5.355, allocations: 2.346 MB / 3.763 GB, free: 92.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/5.355, allocations: 278.5 kB / 3.763 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/5.355, allocations: 4.969 kB / 3.763 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/5.356, allocations: 62.98 kB / 3.763 GB, free: 91.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/5.356, allocations: 68.86 kB / 3.763 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.664e-05/5.356, allocations: 22.59 kB / 3.763 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003683/5.357, allocations: 413.1 kB / 3.764 GB, free: 91.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00499/5.362, allocations: 1.366 MB / 3.765 GB, free: 91.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 15 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00726/5.369, allocations: 1.882 MB / 3.767 GB, free: 91.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002137/5.371, allocations: 1.417 MB / 3.768 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/5.371, allocations: 0 / 3.768 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/5.372, allocations: 0.9013 MB / 3.769 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/5.373, allocations: 243.5 kB / 3.769 GB, free: 91.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/5.376, allocations: 1.711 MB / 3.771 GB, free: 91.33 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005701/5.376, allocations: 1.134 MB / 3.772 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of SimCode: time 5.11e-07/5.376, allocations: 0 / 3.772 GB, free: 90.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.052/5.428, allocations: 44.58 MB / 3.816 GB, free: 88.43 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches