Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009921/0.000992, allocations: 95.97 kB / 292.2 MB, free: 10.92 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.4118/0.4118, allocations: 44.22 MB / 387.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 15.98 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4194, allocations: 61.9 MB / 0.5096 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.63/8.049, allocations: 2.787 GB / 3.297 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/8.05, allocations: 94.38 kB / 3.297 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.808/9.858, allocations: 444.9 MB / 3.731 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/9.858, allocations: 1.094 kB / 3.731 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.654e-05/9.858, allocations: 15.47 kB / 3.731 GB, free: 58.73 MB / 0.5261 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.008747/9.866, allocations: 1.838 MB / 3.733 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/9.867, allocations: 15.3 kB / 3.733 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/9.87, allocations: 322.7 kB / 3.734 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/9.872, allocations: 0.5656 MB / 3.734 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/9.872, allocations: 48.47 kB / 3.734 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002533/9.872, allocations: 60.94 kB / 3.734 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/9.875, allocations: 0.9909 MB / 3.735 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/9.875, allocations: 4.781 kB / 3.735 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/9.875, allocations: 27.06 kB / 3.735 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-05/9.875, allocations: 24.95 kB / 3.735 GB, free: 57.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002882/9.878, allocations: 0.906 MB / 3.736 GB, free: 57.52 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006382/9.885, allocations: 4.456 MB / 3.74 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/9.887, allocations: 0.7867 MB / 3.741 GB, free: 54.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09517/9.982, allocations: 55.56 MB / 3.795 GB, free: 35.96 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/9.982, allocations: 38.72 kB / 3.795 GB, free: 35.92 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 4.568e-06/9.982, allocations: 4 kB / 3.795 GB, free: 35.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006647/9.989, allocations: 2.344 MB / 3.798 GB, free: 35.38 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.667e-05/9.989, allocations: 107.1 kB / 3.798 GB, free: 35.26 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/9.99, allocations: 477.7 kB / 3.798 GB, free: 35.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/9.99, allocations: 37.17 kB / 3.798 GB, free: 35.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/9.99, allocations: 321 kB / 3.799 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/9.99, allocations: 178.8 kB / 3.799 GB, free: 34.83 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/9.99, allocations: 13.28 kB / 3.799 GB, free: 34.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001923/9.99, allocations: 375.8 kB / 3.799 GB, free: 34.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/9.991, allocations: 263.7 kB / 3.799 GB, free: 34.51 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006308/9.992, allocations: 428.1 kB / 3.8 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/9.992, allocations: 305.4 kB / 3.8 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/9.992, allocations: 3.688 kB / 3.8 GB, free: 34.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002117/9.994, allocations: 0.9767 MB / 3.801 GB, free: 34.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008051/9.995, allocations: 1.833 MB / 3.803 GB, free: 32.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/9.995, allocations: 7.906 kB / 3.803 GB, free: 32.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/9.997, allocations: 440.5 kB / 3.803 GB, free: 32.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/9.998, allocations: 134.1 kB / 3.803 GB, free: 32.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/9.999, allocations: 0.9235 MB / 3.804 GB, free: 31.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007387/10, allocations: 89.78 kB / 3.804 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/10, allocations: 36.45 kB / 3.804 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/10, allocations: 9.297 kB / 3.804 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001877/10, allocations: 0.8544 MB / 3.805 GB, free: 31.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/10, allocations: 6.953 kB / 3.805 GB, free: 31.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/10, allocations: 326.2 kB / 3.806 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/10, allocations: 131.2 kB / 3.806 GB, free: 31.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/10, allocations: 0.8852 MB / 3.807 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007145/10.01, allocations: 86.23 kB / 3.807 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/10.01, allocations: 34.69 kB / 3.807 GB, free: 31.11 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 () * Number of clocked 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.0005457/10.01, allocations: 284.6 kB / 3.807 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/10.01, allocations: 71.16 kB / 3.807 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/10.01, allocations: 2.76 MB / 3.81 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/10.01, allocations: 34.98 kB / 3.81 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/10.01, allocations: 3.25 kB / 3.81 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/10.01, allocations: 3.234 kB / 3.81 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/10.01, allocations: 3.829 MB / 3.814 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/10.01, allocations: 2.625 kB / 3.814 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005286/10.01, allocations: 149.6 kB / 3.814 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004105/10.01, allocations: 108.1 kB / 3.814 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/10.01, allocations: 17.08 kB / 3.814 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007396/10.02, allocations: 1.131 MB / 3.815 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/10.02, allocations: 0 / 3.815 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/10.02, allocations: 2.303 MB / 3.817 GB, free: 28.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005024/10.02, allocations: 363.2 kB / 3.818 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/10.02, allocations: 13.28 kB / 3.818 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/10.02, allocations: 69.38 kB / 3.818 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/10.02, allocations: 55.52 kB / 3.818 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/10.02, allocations: 29.42 kB / 3.818 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006988/10.02, allocations: 0.5664 MB / 3.818 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/10.02, allocations: 0 / 3.818 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006643/10.03, allocations: 1.422 MB / 3.82 GB, free: 28.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.009144/10.04, allocations: 1.745 MB / 3.821 GB, free: 27.81 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003126/10.04, allocations: 1.418 MB / 3.823 GB, free: 27.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/10.04, allocations: 0 / 3.823 GB, free: 27.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/10.04, allocations: 0.7419 MB / 3.823 GB, free: 27.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/10.04, allocations: 339.4 kB / 3.824 GB, free: 27.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/10.05, allocations: 2.974 MB / 3.827 GB, free: 26.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/10.05, allocations: 1.15 MB / 3.828 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001149/10.05, allocations: 0.6608 MB / 3.828 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/10.05, allocations: 64.75 kB / 3.829 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of SimCode: time 8.61e-07/10.05, allocations: 0 / 3.829 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of Templates: time 0.06231/10.11, allocations: 44.16 MB / 3.872 GB, free: 14 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches