Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001885/0.001885, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 225.5 MB / 234.4 MB, free: 15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 87.64 kB / 286.3 MB, free: 12.64 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4802/0.4802, allocations: 45.14 MB / 383.3 MB, free: 41.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.301e-05, allocations: 0 / 452.6 MB, free: 5.566 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5286/0.5286, allocations: 63.25 MB / 0.5038 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.399/5.928, allocations: 2.787 GB / 3.291 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/5.928, allocations: 83.95 kB / 3.291 GB, free: 31.15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.32/7.248, allocations: 440.5 MB / 3.721 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.35e-05/7.248, allocations: 23.45 kB / 3.722 GB, free: 31.09 MB / 0.5417 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.006792/7.255, allocations: 1.768 MB / 3.723 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/7.255, allocations: 12.03 kB / 3.723 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002617/7.258, allocations: 346.7 kB / 3.724 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009989/7.259, allocations: 0.5678 MB / 3.724 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/7.259, allocations: 27.94 kB / 3.724 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/7.259, allocations: 32 kB / 3.724 GB, free: 28.26 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008328/7.26, allocations: 0.5336 MB / 3.725 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008077/7.26, allocations: 0.6529 MB / 3.725 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/7.26, allocations: 7.938 kB / 3.725 GB, free: 27.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/7.26, allocations: 4 kB / 3.725 GB, free: 27 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/7.26, allocations: 29.3 kB / 3.725 GB, free: 26.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03277/7.293, allocations: 20.96 MB / 3.746 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/7.294, allocations: 318.5 kB / 3.746 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/7.294, allocations: 213.6 kB / 3.746 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3337/7.628, allocations: 55.33 MB / 3.8 GB, free: 88.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/7.628, allocations: 37.59 kB / 3.8 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=46): time 3.266e-06/7.628, allocations: 7.156 kB / 3.8 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.006233/7.634, allocations: 1.82 MB / 3.802 GB, free: 87.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/7.634, allocations: 110 kB / 3.802 GB, free: 87.87 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004585/7.635, allocations: 390.5 kB / 3.803 GB, free: 87.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/7.635, allocations: 25.7 kB / 3.803 GB, free: 87.72 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/7.635, allocations: 277.2 kB / 3.803 GB, free: 87.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/7.635, allocations: 167.8 kB / 3.803 GB, free: 87.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/7.635, allocations: 0 / 3.803 GB, free: 87.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001046/7.635, allocations: 366.4 kB / 3.803 GB, free: 87.17 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/7.636, allocations: 206.7 kB / 3.804 GB, free: 87.17 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/7.636, allocations: 369.8 kB / 3.804 GB, free: 86.98 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/7.637, allocations: 345.5 kB / 3.804 GB, free: 86.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/7.637, allocations: 2.906 kB / 3.804 GB, free: 86.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003198/7.64, allocations: 1.133 MB / 3.805 GB, free: 86.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003817/7.641, allocations: 1.832 MB / 3.807 GB, free: 84.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/7.641, allocations: 3 kB / 3.807 GB, free: 84.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/7.642, allocations: 317.7 kB / 3.808 GB, free: 84.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/7.643, allocations: 138.1 kB / 3.808 GB, free: 84.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/7.644, allocations: 1.021 MB / 3.809 GB, free: 84.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008266/7.645, allocations: 87.91 kB / 3.809 GB, free: 84.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/7.645, allocations: 38.91 kB / 3.809 GB, free: 84.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/7.645, allocations: 4.688 kB / 3.809 GB, free: 84.45 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002049/7.647, allocations: 0.7593 MB / 3.81 GB, free: 84.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/7.647, allocations: 3.5 kB / 3.81 GB, free: 84.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009418/7.648, allocations: 269.2 kB / 3.81 GB, free: 84.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/7.649, allocations: 146 kB / 3.81 GB, free: 84.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/7.65, allocations: 0.9155 MB / 3.811 GB, free: 83.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/7.65, allocations: 83.48 kB / 3.811 GB, free: 83.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/7.651, allocations: 35.39 kB / 3.811 GB, free: 83.89 MB / 0.5417 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.000263/7.651, allocations: 123 kB / 3.811 GB, free: 83.78 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008502/7.652, allocations: 270 kB / 3.811 GB, free: 83.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/7.655, allocations: 2.262 MB / 3.814 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/7.655, allocations: 23.25 kB / 3.814 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/7.655, allocations: 0 / 3.814 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/7.655, allocations: 3.797 kB / 3.814 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/7.659, allocations: 3.085 MB / 3.817 GB, free: 83.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/7.659, allocations: 2.812 kB / 3.817 GB, free: 83.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005503/7.66, allocations: 136.5 kB / 3.817 GB, free: 83.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002902/7.66, allocations: 91.89 kB / 3.817 GB, free: 83.17 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/7.66, allocations: 13.09 kB / 3.817 GB, free: 83.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006935/7.661, allocations: 1.174 MB / 3.818 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/7.661, allocations: 0 / 3.818 GB, free: 82.13 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003269/7.664, allocations: 2.338 MB / 3.82 GB, free: 81.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/7.664, allocations: 282.8 kB / 3.821 GB, free: 81.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/7.664, allocations: 3.781 kB / 3.821 GB, free: 81.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005665/7.665, allocations: 66.25 kB / 3.821 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/7.665, allocations: 65.33 kB / 3.821 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.945e-05/7.665, allocations: 35.38 kB / 3.821 GB, free: 81.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0004579/7.666, allocations: 407.4 kB / 3.821 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006261/7.672, allocations: 1.381 MB / 3.822 GB, free: 81.55 MB / 0.5417 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.008933/7.681, allocations: 1.892 MB / 3.824 GB, free: 81.35 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002596/7.684, allocations: 1.431 MB / 3.826 GB, free: 81.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/7.684, allocations: 4.062 kB / 3.826 GB, free: 81.31 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/7.685, allocations: 0.8983 MB / 3.827 GB, free: 81.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/7.687, allocations: 255.9 kB / 3.827 GB, free: 81.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/7.69, allocations: 1.707 MB / 3.828 GB, free: 80.87 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006686/7.69, allocations: 1.131 MB / 3.83 GB, free: 80.15 MB / 0.5417 GB Notification: Performance of SimCode: time 8.92e-07/7.69, allocations: 0 / 3.83 GB, free: 80.15 MB / 0.5417 GB Notification: Performance of Templates: time 0.06135/7.752, allocations: 44.6 MB / 3.873 GB, free: 77.45 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches