Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 230.7 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 107.5 kB / 281.6 MB, free: 5.266 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.1982/0.1982, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.622e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.312/6.432, allocations: 2.788 GB / 3.283 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/6.432, allocations: 84.19 kB / 3.283 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.708/9.14, allocations: 0.7641 GB / 4.047 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/9.14, allocations: 0 / 4.047 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001827/9.14, allocations: 43.84 kB / 4.047 GB, free: 14.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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01149/9.152, allocations: 2.709 MB / 4.049 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/9.152, allocations: 11.98 kB / 4.049 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006191/9.158, allocations: 0.6498 MB / 4.05 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/9.161, allocations: 0.9757 MB / 4.051 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/9.161, allocations: 44 kB / 4.051 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/9.161, allocations: 64 kB / 4.051 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002323/9.164, allocations: 1.094 MB / 4.052 GB, free: 8.461 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002535/9.166, allocations: 1.313 MB / 4.054 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/9.166, allocations: 3.938 kB / 4.054 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002067/9.167, allocations: 11.95 kB / 4.054 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/9.167, allocations: 42.02 kB / 4.054 GB, free: 6.938 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.5903/9.757, allocations: 88.41 MB / 4.14 GB, free: 27.79 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/9.759, allocations: 0.8094 MB / 4.141 GB, free: 27.75 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006628/9.759, allocations: 410.3 kB / 4.141 GB, free: 27.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04928/9.809, allocations: 24.34 MB / 4.165 GB, free: 28.09 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.999e-05/9.809, allocations: 45.81 kB / 4.165 GB, free: 28.05 MB / 0.573 GB Notification: Performance of pre-optimization done (n=86): time 3.086e-06/9.809, allocations: 0 / 4.165 GB, free: 28.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=86): time 0.006664/9.816, allocations: 1.688 MB / 4.167 GB, free: 27.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/9.816, allocations: 169.8 kB / 4.167 GB, free: 27.78 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/9.817, allocations: 0.6972 MB / 4.167 GB, free: 27.64 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001948/9.818, allocations: 29.27 kB / 4.167 GB, free: 27.61 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005635/9.818, allocations: 0.6056 MB / 4.168 GB, free: 27.37 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003955/9.819, allocations: 284.6 kB / 4.168 GB, free: 27.22 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/9.819, allocations: 0 / 4.168 GB, free: 27.22 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001852/9.819, allocations: 344.4 kB / 4.169 GB, free: 26.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/9.819, allocations: 333.9 kB / 4.169 GB, free: 26.92 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007714/9.82, allocations: 0.6595 MB / 4.17 GB, free: 26.53 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002301/9.823, allocations: 0.5771 MB / 4.17 GB, free: 26.51 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/9.823, allocations: 2.438 kB / 4.17 GB, free: 26.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003921/9.826, allocations: 1.388 MB / 4.171 GB, free: 26.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001854/9.828, allocations: 3.756 MB / 4.175 GB, free: 22.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/9.828, allocations: 11.06 kB / 4.175 GB, free: 22.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/9.83, allocations: 325 kB / 4.175 GB, free: 22.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/9.831, allocations: 295 kB / 4.176 GB, free: 22.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/9.834, allocations: 1.62 MB / 4.177 GB, free: 21.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/9.836, allocations: 247.5 kB / 4.178 GB, free: 21.33 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/9.836, allocations: 64.09 kB / 4.178 GB, free: 21.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/9.836, allocations: 4.469 kB / 4.178 GB, free: 21.33 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002852/9.839, allocations: 1.024 MB / 4.179 GB, free: 21.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/9.839, allocations: 13.62 kB / 4.179 GB, free: 21.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/9.839, allocations: 15.88 kB / 4.179 GB, free: 21.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/9.841, allocations: 451.3 kB / 4.179 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.791e-05/9.841, allocations: 21.53 kB / 4.179 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/9.843, allocations: 220.6 kB / 4.179 GB, free: 21.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/9.843, allocations: 58.81 kB / 4.179 GB, free: 21.26 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,source.medium.phase,source1.medium.phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004416/9.843, allocations: 143.5 kB / 4.18 GB, free: 21.15 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/9.844, allocations: 116.5 kB / 4.18 GB, free: 21.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006441/9.85, allocations: 4.669 MB / 4.184 GB, free: 20.66 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-05/9.85, allocations: 73.42 kB / 4.184 GB, free: 20.65 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/9.85, allocations: 4.062 kB / 4.184 GB, free: 20.65 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/9.85, allocations: 10.22 kB / 4.184 GB, free: 20.65 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00963/9.86, allocations: 6.424 MB / 4.191 GB, free: 20.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/9.86, allocations: 0 / 4.191 GB, free: 20.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/9.861, allocations: 180.5 kB / 4.191 GB, free: 20.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002437/9.863, allocations: 1.721 MB / 4.192 GB, free: 19.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/9.863, allocations: 14.75 kB / 4.192 GB, free: 19.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/9.867, allocations: 2.963 MB / 4.195 GB, free: 18.89 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/9.867, allocations: 0 / 4.195 GB, free: 18.89 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004851/9.871, allocations: 3.215 MB / 4.198 GB, free: 18.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/9.873, allocations: 470.6 kB / 4.199 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005088/9.873, allocations: 0 / 4.199 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/9.875, allocations: 156.3 kB / 4.199 GB, free: 18.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/9.875, allocations: 93.67 kB / 4.199 GB, free: 18.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/9.875, allocations: 42.05 kB / 4.199 GB, free: 18.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001227/9.876, allocations: 0.6461 MB / 4.2 GB, free: 18.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/9.876, allocations: 0 / 4.2 GB, free: 18.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.009832/9.886, allocations: 1.798 MB / 4.202 GB, free: 17.96 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 ($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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,sink.medium.phase,pump.heatTransfer.states[1].phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/9.898, allocations: 2.295 MB / 4.204 GB, free: 17.61 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00498/9.903, allocations: 1.997 MB / 4.206 GB, free: 17.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/9.903, allocations: 3.406 kB / 4.206 GB, free: 17.56 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/9.905, allocations: 1.19 MB / 4.207 GB, free: 17.54 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003565/9.909, allocations: 0.5128 MB / 4.207 GB, free: 17.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007192/9.916, allocations: 2.925 MB / 4.21 GB, free: 16.84 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/9.918, allocations: 1.532 MB / 4.212 GB, free: 16.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003384/9.922, allocations: 1.552 MB / 4.213 GB, free: 16.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/9.922, allocations: 84.44 kB / 4.213 GB, free: 16.01 MB / 0.573 GB Notification: Performance of SimCode: time 1.573e-06/9.922, allocations: 0 / 4.213 GB, free: 16.01 MB / 0.573 GB Notification: Performance of Templates: time 0.08585/10.01, allocations: 52.51 MB / 4.265 GB, free: 1.738 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestControlledPump/TestControlledPump.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches