Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 201.9 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008273, allocations: 90.06 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1966/0.1966, allocations: 45.14 MB / 383.7 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.685e-05, allocations: 4 kB / 453.2 MB, free: 75.8 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/5.983, allocations: 2.789 GB / 3.293 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/5.984, allocations: 83.27 kB / 3.293 GB, free: 57.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.809/8.793, allocations: 0.7642 GB / 4.058 GB, free: 58.7 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.844e-06/8.793, allocations: 0 / 4.058 GB, free: 58.7 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001198/8.793, allocations: 44.06 kB / 4.058 GB, free: 58.69 MB / 0.5573 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.01082/8.804, allocations: 2.712 MB / 4.06 GB, free: 57.44 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/8.804, allocations: 7.875 kB / 4.06 GB, free: 57.44 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005218/8.809, allocations: 0.672 MB / 4.061 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/8.811, allocations: 0.9692 MB / 4.062 GB, free: 57.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/8.811, allocations: 54.28 kB / 4.062 GB, free: 57.03 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/8.811, allocations: 62.31 kB / 4.062 GB, free: 57.03 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001865/8.813, allocations: 1.09 MB / 4.063 GB, free: 57.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/8.815, allocations: 1.313 MB / 4.064 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/8.815, allocations: 5.156 kB / 4.064 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/8.815, allocations: 3.938 kB / 4.064 GB, free: 56.63 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.388e-05/8.815, allocations: 50.42 kB / 4.064 GB, free: 56.62 MB / 0.5573 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.165/8.98, allocations: 97.26 MB / 4.159 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/8.982, allocations: 0.8126 MB / 4.16 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007925/8.983, allocations: 411.8 kB / 4.161 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04697/9.03, allocations: 26.9 MB / 4.187 GB, free: 15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/9.03, allocations: 46.28 kB / 4.187 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 2.385e-06/9.03, allocations: 0 / 4.187 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.005948/9.036, allocations: 1.684 MB / 4.189 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/9.036, allocations: 165.6 kB / 4.189 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/9.038, allocations: 0.6975 MB / 4.189 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/9.038, allocations: 29.7 kB / 4.189 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/9.038, allocations: 0.6096 MB / 4.19 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000337/9.038, allocations: 280 kB / 4.19 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/9.039, allocations: 0 / 4.19 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001772/9.039, allocations: 344.1 kB / 4.191 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/9.039, allocations: 341.1 kB / 4.191 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007403/9.04, allocations: 0.6542 MB / 4.192 GB, free: 11.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002229/9.042, allocations: 0.5793 MB / 4.192 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/9.042, allocations: 4 kB / 4.192 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003689/9.046, allocations: 1.391 MB / 4.193 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00154/9.048, allocations: 3.745 MB / 4.197 GB, free: 6.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.974e-05/9.048, allocations: 8.781 kB / 4.197 GB, free: 6.445 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/9.049, allocations: 332.7 kB / 4.197 GB, free: 6.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/9.05, allocations: 294 kB / 4.198 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/9.052, allocations: 1.608 MB / 4.199 GB, free: 4.672 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/9.054, allocations: 247.2 kB / 4.2 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/9.054, allocations: 73.5 kB / 4.2 GB, free: 4.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/9.054, allocations: 4 kB / 4.2 GB, free: 4.426 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002518/9.057, allocations: 1.025 MB / 4.201 GB, free: 3.828 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/9.057, allocations: 8 kB / 4.201 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/9.057, allocations: 20 kB / 4.201 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/9.059, allocations: 452.9 kB / 4.201 GB, free: 3.473 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/9.059, allocations: 23.55 kB / 4.201 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/9.06, allocations: 210.8 kB / 4.201 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/9.061, allocations: 66.62 kB / 4.201 GB, free: 3.246 MB / 0.6042 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.0003791/9.061, allocations: 133.4 kB / 4.201 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000326/9.061, allocations: 114.6 kB / 4.202 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/9.067, allocations: 4.699 MB / 4.206 GB, free: 496 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.636e-05/9.067, allocations: 66.2 kB / 4.206 GB, free: 476 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/9.068, allocations: 0 / 4.206 GB, free: 476 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/9.068, allocations: 7.828 kB / 4.206 GB, free: 472 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3876/9.455, allocations: 6.42 MB / 4.213 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/9.455, allocations: 0 / 4.213 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/9.456, allocations: 185.6 kB / 4.213 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002319/9.458, allocations: 1.713 MB / 4.214 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/9.458, allocations: 14.88 kB / 4.214 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/9.461, allocations: 2.975 MB / 4.217 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/9.461, allocations: 3.656 kB / 4.217 GB, free: 104.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004491/9.466, allocations: 3.202 MB / 4.22 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/9.467, allocations: 473.4 kB / 4.221 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/9.467, allocations: 3.938 kB / 4.221 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/9.468, allocations: 151.9 kB / 4.221 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/9.468, allocations: 97.86 kB / 4.221 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.181e-05/9.468, allocations: 39.3 kB / 4.221 GB, free: 104.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009331/9.469, allocations: 0.6461 MB / 4.222 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/9.469, allocations: 0 / 4.222 GB, free: 104.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007611/9.477, allocations: 1.813 MB / 4.224 GB, free: 104.1 MB / 0.6042 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.01005/9.487, allocations: 2.301 MB / 4.226 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003843/9.491, allocations: 2.006 MB / 4.228 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/9.491, allocations: 1.031 kB / 4.228 GB, free: 103.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/9.492, allocations: 1.195 MB / 4.229 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/9.495, allocations: 0.4989 MB / 4.229 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004284/9.5, allocations: 2.936 MB / 4.232 GB, free: 103.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/9.5, allocations: 1.523 MB / 4.234 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002761/9.503, allocations: 1.554 MB / 4.235 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/9.503, allocations: 89.39 kB / 4.235 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of SimCode: time 1.974e-06/9.503, allocations: 0 / 4.235 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.06712/9.571, allocations: 52.56 MB / 4.287 GB, free: 100.5 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches