Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002086/0.002092, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.254/2.254, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 100 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3012/0.3012, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.742e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4015, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.235/8.637, allocations: 2.781 GB / 3.247 GB, free: 7.684 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004223/8.637, allocations: 84.52 kB / 3.247 GB, free: 7.641 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.516/11.15, allocations: 435.2 MB / 3.672 GB, free: 57.48 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.613e-06/11.15, allocations: 1.031 kB / 3.672 GB, free: 57.48 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.162e-05/11.15, allocations: 20.72 kB / 3.672 GB, free: 57.48 MB / 0.4952 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.007433/11.16, allocations: 1.738 MB / 3.674 GB, free: 56.77 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/11.16, allocations: 9.156 kB / 3.674 GB, free: 56.77 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/11.16, allocations: 334.1 kB / 3.674 GB, free: 56.73 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/11.17, allocations: 0.5688 MB / 3.675 GB, free: 56.5 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.296e-05/11.17, allocations: 23.03 kB / 3.675 GB, free: 56.5 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/11.17, allocations: 31.09 kB / 3.675 GB, free: 56.5 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001356/11.17, allocations: 0.5432 MB / 3.675 GB, free: 56.5 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/11.17, allocations: 0.6614 MB / 3.676 GB, free: 56.3 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/11.17, allocations: 5.344 kB / 3.676 GB, free: 56.3 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/11.17, allocations: 6.766 kB / 3.676 GB, free: 56.3 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/11.17, allocations: 33.5 kB / 3.676 GB, free: 56.3 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.05402/11.22, allocations: 19.55 MB / 3.695 GB, free: 44.23 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/11.22, allocations: 415.8 kB / 3.695 GB, free: 44.21 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/11.22, allocations: 212.5 kB / 3.696 GB, free: 44.2 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1441/11.37, allocations: 48.15 MB / 3.743 GB, free: 30.05 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/11.37, allocations: 38.12 kB / 3.743 GB, free: 30.02 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=46): time 2.515e-06/11.37, allocations: 0 / 3.743 GB, free: 30.02 MB / 0.5108 GB Notification: Performance of matching and sorting (n=50): time 0.008718/11.38, allocations: 1.833 MB / 3.744 GB, free: 29.61 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/11.38, allocations: 109.6 kB / 3.744 GB, free: 29.48 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/11.38, allocations: 381 kB / 3.745 GB, free: 29.36 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/11.38, allocations: 28.11 kB / 3.745 GB, free: 29.33 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002311/11.38, allocations: 377.8 kB / 3.745 GB, free: 29.08 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/11.38, allocations: 168.2 kB / 3.745 GB, free: 28.97 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/11.38, allocations: 5.031 kB / 3.745 GB, free: 28.97 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001453/11.38, allocations: 332.5 kB / 3.746 GB, free: 28.66 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/11.38, allocations: 190.3 kB / 3.746 GB, free: 28.66 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/11.38, allocations: 350.7 kB / 3.746 GB, free: 28.46 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/11.38, allocations: 326.5 kB / 3.747 GB, free: 28.45 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/11.38, allocations: 0 / 3.747 GB, free: 28.45 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003443/11.38, allocations: 0.8318 MB / 3.747 GB, free: 28.38 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007195/11.39, allocations: 1.84 MB / 3.749 GB, free: 26.46 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/11.39, allocations: 7.938 kB / 3.749 GB, free: 26.46 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/11.39, allocations: 313.9 kB / 3.749 GB, free: 26.44 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008749/11.39, allocations: 129.7 kB / 3.75 GB, free: 26.44 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/11.39, allocations: 0.9732 MB / 3.751 GB, free: 25.91 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/11.39, allocations: 89.11 kB / 3.751 GB, free: 25.89 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/11.39, allocations: 38.19 kB / 3.751 GB, free: 25.89 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/11.39, allocations: 5.688 kB / 3.751 GB, free: 25.89 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003489/11.4, allocations: 0.7147 MB / 3.751 GB, free: 25.87 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/11.4, allocations: 7.969 kB / 3.751 GB, free: 25.86 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/11.4, allocations: 263.4 kB / 3.752 GB, free: 25.85 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/11.4, allocations: 143.5 kB / 3.752 GB, free: 25.85 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/11.4, allocations: 0.8442 MB / 3.753 GB, free: 25.32 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/11.4, allocations: 73.39 kB / 3.753 GB, free: 25.31 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.78e-05/11.4, allocations: 31.98 kB / 3.753 GB, free: 25.31 MB / 0.5108 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.0002744/11.4, allocations: 129.1 kB / 3.753 GB, free: 25.19 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/11.4, allocations: 55 kB / 3.753 GB, free: 25.16 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004021/11.41, allocations: 2.251 MB / 3.755 GB, free: 24.87 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/11.41, allocations: 29.58 kB / 3.755 GB, free: 24.87 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/11.41, allocations: 0 / 3.755 GB, free: 24.87 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/11.41, allocations: 7.516 kB / 3.755 GB, free: 24.86 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/11.41, allocations: 3.131 MB / 3.758 GB, free: 24.46 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/11.41, allocations: 0 / 3.758 GB, free: 24.46 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/11.41, allocations: 150.9 kB / 3.758 GB, free: 24.46 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003885/11.41, allocations: 91.97 kB / 3.758 GB, free: 24.45 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/11.41, allocations: 13.17 kB / 3.758 GB, free: 24.44 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/11.41, allocations: 1.155 MB / 3.759 GB, free: 23.4 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/11.41, allocations: 2.062 kB / 3.76 GB, free: 23.4 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/11.42, allocations: 1.869 MB / 3.761 GB, free: 23.12 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006419/11.42, allocations: 349 kB / 3.762 GB, free: 22.94 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/11.42, allocations: 3.5 kB / 3.762 GB, free: 22.94 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/11.42, allocations: 56.48 kB / 3.762 GB, free: 22.93 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/11.42, allocations: 64.33 kB / 3.762 GB, free: 22.93 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/11.42, allocations: 18.66 kB / 3.762 GB, free: 22.93 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0007916/11.42, allocations: 495.3 kB / 3.762 GB, free: 22.83 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.81e-07/11.42, allocations: 0 / 3.762 GB, free: 22.83 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.006489/11.43, allocations: 1.369 MB / 3.764 GB, free: 22.63 MB / 0.5108 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: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01002/11.44, allocations: 1.808 MB / 3.765 GB, free: 22.25 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003194/11.44, allocations: 1.062 MB / 3.766 GB, free: 22.22 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/11.44, allocations: 7.5 kB / 3.766 GB, free: 22.22 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/11.44, allocations: 0.5814 MB / 3.767 GB, free: 22.22 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/11.44, allocations: 269.1 kB / 3.767 GB, free: 22.2 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/11.45, allocations: 1.652 MB / 3.769 GB, free: 21.7 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/11.45, allocations: 1.115 MB / 3.77 GB, free: 20.98 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/11.45, allocations: 64.94 kB / 3.77 GB, free: 20.97 MB / 0.5108 GB Notification: Performance of SimCode: time 8.62e-07/11.45, allocations: 0 / 3.77 GB, free: 20.97 MB / 0.5108 GB Notification: Performance of Templates: time 0.07436/11.52, allocations: 39.97 MB / 3.809 GB, free: 11.81 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches