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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001224, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 93.28 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.181/0.181, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.46e-05, allocations: 7.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09173, allocations: 63.24 MB / 0.5114 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/5.353, allocations: 2.788 GB / 3.3 GB, free: 404 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/5.353, allocations: 89.27 kB / 3.3 GB, free: 360 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.317/6.67, allocations: 443.8 MB / 3.733 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.683e-06/6.67, allocations: 0 / 3.733 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.791e-05/6.67, allocations: 16 kB / 3.733 GB, free: 4.102 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.005172/6.676, allocations: 1.754 MB / 3.735 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/6.676, allocations: 8.031 kB / 3.735 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002207/6.678, allocations: 334.8 kB / 3.735 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/6.679, allocations: 0.5539 MB / 3.736 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/6.679, allocations: 53.25 kB / 3.736 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/6.679, allocations: 60.69 kB / 3.736 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/6.681, allocations: 0.9649 MB / 3.737 GB, free: 236 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/6.681, allocations: 11.89 kB / 3.737 GB, free: 224 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/6.681, allocations: 24 kB / 3.737 GB, free: 200 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/6.681, allocations: 21.31 kB / 3.737 GB, free: 176 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2921/6.973, allocations: 0.8027 MB / 3.737 GB, free: 74.09 MB / 0.5417 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.005182/6.978, allocations: 4.442 MB / 3.742 GB, free: 71.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/6.98, allocations: 0.7154 MB / 3.743 GB, free: 71.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/6.98, allocations: 224.5 kB / 3.743 GB, free: 71.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09167/7.072, allocations: 62.01 MB / 3.803 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/7.072, allocations: 38.41 kB / 3.803 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.364e-06/7.072, allocations: 4 kB / 3.803 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.004709/7.077, allocations: 1.862 MB / 3.805 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/7.077, allocations: 106.8 kB / 3.805 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/7.077, allocations: 465.5 kB / 3.806 GB, free: 30.08 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/7.077, allocations: 36.7 kB / 3.806 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/7.077, allocations: 324.4 kB / 3.806 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/7.077, allocations: 182.6 kB / 3.806 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/7.078, allocations: 10.81 kB / 3.806 GB, free: 29.82 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/7.078, allocations: 375.3 kB / 3.807 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/7.078, allocations: 185.7 kB / 3.807 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/7.078, allocations: 362.8 kB / 3.807 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/7.079, allocations: 239.4 kB / 3.807 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/7.079, allocations: 3.812 kB / 3.807 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001394/7.08, allocations: 0.805 MB / 3.808 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000311/7.08, allocations: 1.835 MB / 3.81 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/7.08, allocations: 6.906 kB / 3.81 GB, free: 27.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/7.082, allocations: 399 kB / 3.81 GB, free: 27.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/7.082, allocations: 134.1 kB / 3.81 GB, free: 27.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007355/7.083, allocations: 0.8774 MB / 3.811 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/7.084, allocations: 87 kB / 3.811 GB, free: 26.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.78e-05/7.084, allocations: 41.52 kB / 3.811 GB, free: 26.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/7.084, allocations: 4.469 kB / 3.811 GB, free: 26.73 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/7.085, allocations: 0.696 MB / 3.812 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/7.085, allocations: 2.906 kB / 3.812 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008878/7.086, allocations: 285.4 kB / 3.812 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/7.086, allocations: 137 kB / 3.813 GB, free: 26.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006125/7.087, allocations: 0.83 MB / 3.813 GB, free: 26.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005766/7.088, allocations: 84.23 kB / 3.813 GB, free: 26.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/7.088, allocations: 36.7 kB / 3.813 GB, free: 26.15 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.0001399/7.088, allocations: 143.2 kB / 3.814 GB, free: 26.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/7.088, allocations: 65.38 kB / 3.814 GB, free: 26.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/7.09, allocations: 2.667 MB / 3.816 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/7.09, allocations: 35.75 kB / 3.816 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.09, allocations: 3.953 kB / 3.816 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/7.09, allocations: 0 / 3.816 GB, free: 25.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/7.094, allocations: 3.729 MB / 3.82 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/7.094, allocations: 6.812 kB / 3.82 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/7.094, allocations: 148.8 kB / 3.82 GB, free: 25.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/7.094, allocations: 98.34 kB / 3.82 GB, free: 25.26 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/7.094, allocations: 15.78 kB / 3.82 GB, free: 25.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004712/7.095, allocations: 1.131 MB / 3.821 GB, free: 24.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/7.095, allocations: 0 / 3.821 GB, free: 24.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/7.097, allocations: 2.103 MB / 3.823 GB, free: 23.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000371/7.097, allocations: 366.8 kB / 3.824 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/7.097, allocations: 22.33 kB / 3.824 GB, free: 23.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/7.098, allocations: 70.17 kB / 3.824 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/7.098, allocations: 54.23 kB / 3.824 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/7.098, allocations: 25.31 kB / 3.824 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005366/7.099, allocations: 0.5527 MB / 3.824 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/7.099, allocations: 0 / 3.824 GB, free: 23.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004945/7.103, allocations: 1.432 MB / 3.826 GB, free: 23.66 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 () * 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.006942/7.11, allocations: 1.73 MB / 3.827 GB, free: 23.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001901/7.112, allocations: 1.225 MB / 3.829 GB, free: 23.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/7.112, allocations: 3.5 kB / 3.829 GB, free: 23.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007328/7.113, allocations: 0.6771 MB / 3.829 GB, free: 23.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/7.115, allocations: 334.4 kB / 3.83 GB, free: 23.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/7.117, allocations: 1.835 MB / 3.831 GB, free: 22.92 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/7.117, allocations: 1.154 MB / 3.833 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009736/7.118, allocations: 0.6819 MB / 3.833 GB, free: 22.17 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/7.118, allocations: 58.95 kB / 3.833 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of SimCode: time 4.01e-07/7.118, allocations: 0 / 3.833 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of Templates: time 0.05191/7.17, allocations: 46.81 MB / 3.879 GB, free: 19.61 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