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.001639/0.001639, allocations: 180.3 kB / 14.15 MB, free: 1.176 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.331/1.331, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008096/0.0008097, allocations: 95.8 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1774/0.1774, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.274e-05/2.277e-05, allocations: 4.219 kB / 451.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.968/6.085, allocations: 2.789 GB / 3.29 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/6.085, allocations: 87.86 kB / 3.29 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.631/8.716, allocations: 0.7707 GB / 4.061 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.216e-06/8.716, allocations: 0 / 4.061 GB, free: 36.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001179/8.716, allocations: 37.59 kB / 4.061 GB, free: 36.98 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01118/8.728, allocations: 2.707 MB / 4.064 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/8.728, allocations: 9.75 kB / 4.064 GB, free: 35.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/8.733, allocations: 0.6524 MB / 4.064 GB, free: 35.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/8.736, allocations: 0.9767 MB / 4.065 GB, free: 35.58 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/8.736, allocations: 96.56 kB / 4.065 GB, free: 35.58 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/8.736, allocations: 111.3 kB / 4.065 GB, free: 35.58 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004042/8.74, allocations: 1.942 MB / 4.067 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/8.74, allocations: 6.25 kB / 4.067 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/8.74, allocations: 54.52 kB / 4.067 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.685e-05/8.741, allocations: 38.83 kB / 4.067 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/8.744, allocations: 1.625 MB / 4.069 GB, free: 35.16 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.01062/8.755, allocations: 9.495 MB / 4.078 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/8.758, allocations: 1.441 MB / 4.08 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/8.759, allocations: 456.4 kB / 4.08 GB, free: 28.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04217/8.801, allocations: 24.33 MB / 4.104 GB, free: 29.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.341e-05/8.801, allocations: 48.78 kB / 4.104 GB, free: 29.87 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=94): time 3.657e-06/8.801, allocations: 0 / 4.104 GB, free: 29.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94): time 0.005925/8.807, allocations: 2.032 MB / 4.106 GB, free: 29.74 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.502e-05/8.808, allocations: 168 kB / 4.106 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/8.809, allocations: 0.7732 MB / 4.107 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.571e-05/8.809, allocations: 40.58 kB / 4.107 GB, free: 29.36 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000315/8.809, allocations: 0.5918 MB / 4.108 GB, free: 29.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/8.809, allocations: 316.5 kB / 4.108 GB, free: 28.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/8.809, allocations: 24.06 kB / 4.108 GB, free: 28.89 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001372/8.809, allocations: 348.2 kB / 4.108 GB, free: 28.59 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/8.81, allocations: 341.1 kB / 4.108 GB, free: 28.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/8.811, allocations: 0.6687 MB / 4.109 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/8.811, allocations: 421.5 kB / 4.11 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/8.811, allocations: 3.031 kB / 4.11 GB, free: 28.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001862/8.813, allocations: 1.279 MB / 4.111 GB, free: 28.06 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001341/8.814, allocations: 3.746 MB / 4.114 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/8.814, allocations: 12.25 kB / 4.114 GB, free: 24.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/8.816, allocations: 467.5 kB / 4.115 GB, free: 24.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009331/8.817, allocations: 287.1 kB / 4.115 GB, free: 24.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/8.819, allocations: 1.466 MB / 4.117 GB, free: 23.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/8.821, allocations: 244.8 kB / 4.117 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/8.821, allocations: 76.69 kB / 4.117 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/8.821, allocations: 4.688 kB / 4.117 GB, free: 23.03 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/8.822, allocations: 1.005 MB / 4.118 GB, free: 23.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/8.822, allocations: 9.125 kB / 4.118 GB, free: 23.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/8.822, allocations: 19.09 kB / 4.118 GB, free: 23.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/8.824, allocations: 458.3 kB / 4.118 GB, free: 23.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/8.824, allocations: 21.88 kB / 4.118 GB, free: 23.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/8.826, allocations: 216.6 kB / 4.119 GB, free: 22.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/8.826, allocations: 63.09 kB / 4.119 GB, free: 22.96 MB / 0.5573 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 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].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.0003433/8.826, allocations: 180.5 kB / 4.119 GB, free: 22.85 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/8.826, allocations: 131.5 kB / 4.119 GB, free: 22.79 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/8.831, allocations: 5.722 MB / 4.125 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.463e-05/8.831, allocations: 83.39 kB / 4.125 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/8.831, allocations: 2.906 kB / 4.125 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/8.831, allocations: 10.52 kB / 4.125 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007814/8.839, allocations: 7.83 MB / 4.132 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/8.839, allocations: 0 / 4.132 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000761/8.84, allocations: 225.6 kB / 4.132 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/8.843, allocations: 1.9 MB / 4.134 GB, free: 21.35 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/8.843, allocations: 29.42 kB / 4.134 GB, free: 21.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/8.845, allocations: 2.651 MB / 4.137 GB, free: 20.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/8.845, allocations: 2.766 kB / 4.137 GB, free: 20.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/8.849, allocations: 3.533 MB / 4.14 GB, free: 19.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/8.85, allocations: 0.5581 MB / 4.141 GB, free: 19.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/8.85, allocations: 26.58 kB / 4.141 GB, free: 19.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/8.852, allocations: 177.1 kB / 4.141 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/8.852, allocations: 114.8 kB / 4.141 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/8.852, allocations: 39.56 kB / 4.141 GB, free: 19.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001013/8.853, allocations: 0.7843 MB / 4.142 GB, free: 19.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/8.853, allocations: 0 / 4.142 GB, free: 19.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006867/8.86, allocations: 1.884 MB / 4.144 GB, free: 19.11 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: 48 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.008735/8.868, allocations: 2.133 MB / 4.146 GB, free: 18.73 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004246/8.873, allocations: 2.241 MB / 4.148 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/8.873, allocations: 0 / 4.148 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/8.874, allocations: 1.421 MB / 4.15 GB, free: 18.65 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/8.878, allocations: 0.5991 MB / 4.15 GB, free: 18.64 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/8.883, allocations: 3.45 MB / 4.154 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009571/8.884, allocations: 1.643 MB / 4.155 GB, free: 17.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002352/8.886, allocations: 1.425 MB / 4.157 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/8.886, allocations: 93.34 kB / 4.157 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/8.886, allocations: 0 / 4.157 GB, free: 17.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.08518/8.971, allocations: 66.16 MB / 4.221 GB, free: 13.16 MB / 0.5573 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