Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001098/0.001099, allocations: 198.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 91.98 kB / 286.7 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 45.15 MB / 383.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.828e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.459/6.587, allocations: 2.788 GB / 3.292 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/6.587, allocations: 89.08 kB / 3.292 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.397/7.984, allocations: 440.4 MB / 3.722 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503e-06/7.984, allocations: 0 / 3.722 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.114e-05/7.984, allocations: 26.92 kB / 3.722 GB, free: 59.07 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.005692/7.99, allocations: 1.779 MB / 3.724 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/7.99, allocations: 11.53 kB / 3.724 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002633/7.992, allocations: 330.2 kB / 3.724 GB, free: 58.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/7.993, allocations: 0.5829 MB / 3.725 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/7.994, allocations: 27.81 kB / 3.725 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-05/7.994, allocations: 31.66 kB / 3.725 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009205/7.995, allocations: 0.5615 MB / 3.726 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/7.996, allocations: 0.6859 MB / 3.726 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/7.996, allocations: 3.938 kB / 3.726 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/7.996, allocations: 7.5 kB / 3.726 GB, free: 57.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-05/7.996, allocations: 23.25 kB / 3.726 GB, free: 57.05 MB / 0.5261 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.07423/8.07, allocations: 48.71 MB / 3.774 GB, free: 23.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/8.071, allocations: 460.4 kB / 3.774 GB, free: 22.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/8.071, allocations: 205.9 kB / 3.775 GB, free: 22.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04424/8.116, allocations: 26.73 MB / 3.801 GB, free: 16.05 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/8.116, allocations: 34.56 kB / 3.801 GB, free: 16.01 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 2.384e-06/8.116, allocations: 4 kB / 3.801 GB, free: 16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.00299/8.119, allocations: 0.8639 MB / 3.802 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/8.119, allocations: 118.8 kB / 3.802 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/8.119, allocations: 411.8 kB / 3.802 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/8.12, allocations: 25.7 kB / 3.802 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/8.12, allocations: 355.7 kB / 3.802 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/8.12, allocations: 151.9 kB / 3.803 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/8.12, allocations: 0 / 3.803 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001412/8.12, allocations: 366.6 kB / 3.803 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/8.12, allocations: 176.5 kB / 3.803 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/8.121, allocations: 359.5 kB / 3.803 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/8.122, allocations: 326.9 kB / 3.804 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/8.122, allocations: 4 kB / 3.804 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001851/8.124, allocations: 0.7841 MB / 3.805 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007109/8.124, allocations: 2.009 MB / 3.806 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/8.124, allocations: 4 kB / 3.806 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/8.126, allocations: 282 kB / 3.807 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/8.126, allocations: 146.2 kB / 3.807 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/8.127, allocations: 0.8837 MB / 3.808 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/8.128, allocations: 128 kB / 3.808 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/8.128, allocations: 39.33 kB / 3.808 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/8.128, allocations: 9.719 kB / 3.808 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/8.13, allocations: 0.6551 MB / 3.809 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/8.13, allocations: 11.94 kB / 3.809 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007541/8.131, allocations: 169.8 kB / 3.809 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/8.131, allocations: 161.5 kB / 3.809 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008305/8.132, allocations: 0.7328 MB / 3.81 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007367/8.133, allocations: 107 kB / 3.81 GB, free: 7.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.823e-05/8.133, allocations: 35.8 kB / 3.81 GB, free: 7.188 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (59): * Single equations (assignments): 58 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002014/8.133, allocations: 124.5 kB / 3.81 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/8.133, allocations: 59.34 kB / 3.81 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/8.136, allocations: 2.511 MB / 3.812 GB, free: 4.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/8.136, allocations: 35.61 kB / 3.812 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/8.136, allocations: 3.953 kB / 3.812 GB, free: 4.727 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/8.136, allocations: 7.891 kB / 3.812 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/8.137, allocations: 1.152 MB / 3.814 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/8.137, allocations: 4 kB / 3.814 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000242/8.138, allocations: 59.11 kB / 3.814 GB, free: 3.684 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/8.139, allocations: 1.173 MB / 3.815 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/8.139, allocations: 7.406 kB / 3.815 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/8.141, allocations: 1.708 MB / 3.816 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/8.141, allocations: 0 / 3.816 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002633/8.144, allocations: 1.864 MB / 3.818 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004388/8.144, allocations: 287.3 kB / 3.819 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/8.144, allocations: 0 / 3.819 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/8.145, allocations: 76.58 kB / 3.819 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/8.145, allocations: 52.33 kB / 3.819 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/8.145, allocations: 23.22 kB / 3.819 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005019/8.146, allocations: 381.2 kB / 3.819 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/8.146, allocations: 4 kB / 3.819 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005852/8.151, allocations: 1.407 MB / 3.82 GB, free: 13.34 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.007477/8.159, allocations: 1.806 MB / 3.822 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002433/8.161, allocations: 1.098 MB / 3.823 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/8.161, allocations: 4.188 kB / 3.823 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007928/8.162, allocations: 0.6251 MB / 3.824 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/8.164, allocations: 266.2 kB / 3.824 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/8.166, allocations: 1.516 MB / 3.826 GB, free: 8.676 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005724/8.167, allocations: 1.112 MB / 3.827 GB, free: 7.691 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001184/8.168, allocations: 0.7417 MB / 3.827 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/8.168, allocations: 43.44 kB / 3.827 GB, free: 7.027 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/8.168, allocations: 4 kB / 3.827 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of Templates: time 0.35/8.518, allocations: 38.19 MB / 3.865 GB, free: 90.55 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches