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.001039/0.001039, allocations: 180.3 kB / 18.09 MB, free: 3.746 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.401/1.401, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009314/0.0009315, allocations: 101.2 kB / 293.3 MB, free: 10.77 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.3724/0.3724, allocations: 44.14 MB / 388.5 MB, free: 38.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004004/0.0004004, allocations: 11.98 kB / 461.1 MB, free: 1.559 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3842, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.546/5.93, allocations: 2.789 GB / 3.3 GB, free: 64.35 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/5.93, allocations: 91.94 kB / 3.3 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.126/9.056, allocations: 0.7342 GB / 4.034 GB, free: 39.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/9.056, allocations: 0 / 4.034 GB, free: 39.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001992/9.056, allocations: 35.67 kB / 4.034 GB, free: 39.84 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.01374/9.07, allocations: 2.878 MB / 4.037 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/9.07, allocations: 8.969 kB / 4.037 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/9.076, allocations: 0.6522 MB / 4.038 GB, free: 38.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/9.08, allocations: 1.009 MB / 4.039 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/9.08, allocations: 100.4 kB / 4.039 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007136/9.081, allocations: 109.7 kB / 4.039 GB, free: 38.08 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/9.088, allocations: 2.032 MB / 4.041 GB, free: 37.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-05/9.088, allocations: 11.12 kB / 4.041 GB, free: 37.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004087/9.089, allocations: 53.62 kB / 4.041 GB, free: 37.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.548e-05/9.089, allocations: 39.64 kB / 4.041 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/9.094, allocations: 1.881 MB / 4.043 GB, free: 37.66 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01342/9.108, allocations: 9.489 MB / 4.052 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004879/9.113, allocations: 1.648 MB / 4.054 GB, free: 31.23 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/9.114, allocations: 0.6231 MB / 4.054 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04543/9.159, allocations: 24.25 MB / 4.078 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.412e-05/9.16, allocations: 49.09 kB / 4.078 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=94): time 6.382e-06/9.16, allocations: 0 / 4.078 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94): time 0.0139/9.173, allocations: 3.483 MB / 4.081 GB, free: 31.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/9.174, allocations: 166.8 kB / 4.081 GB, free: 31.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/9.176, allocations: 0.8887 MB / 4.082 GB, free: 31.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003235/9.176, allocations: 51.31 kB / 4.082 GB, free: 31.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006198/9.177, allocations: 0.5876 MB / 4.083 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005284/9.177, allocations: 318.5 kB / 4.083 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/9.177, allocations: 21.53 kB / 4.083 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002274/9.178, allocations: 346 kB / 4.084 GB, free: 30.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/9.179, allocations: 0.508 MB / 4.084 GB, free: 30.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/9.181, allocations: 0.8436 MB / 4.085 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/9.184, allocations: 1.343 MB / 4.086 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/9.184, allocations: 2.969 kB / 4.086 GB, free: 30.02 MB / 0.5573 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004547/9.188, allocations: 1.652 MB / 4.088 GB, free: 29.86 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003298/9.189, allocations: 384.9 kB / 4.088 GB, free: 29.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/9.189, allocations: 10.03 kB / 4.088 GB, free: 29.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/9.192, allocations: 0.5758 MB / 4.089 GB, free: 29.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/9.193, allocations: 289.5 kB / 4.089 GB, free: 29.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/9.195, allocations: 1.568 MB / 4.091 GB, free: 28.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/9.198, allocations: 243.9 kB / 4.091 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/9.198, allocations: 70.23 kB / 4.091 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/9.198, allocations: 3.844 kB / 4.091 GB, free: 28.25 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003462/9.201, allocations: 1.355 MB / 4.092 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.709e-05/9.201, allocations: 11.84 kB / 4.092 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/9.201, allocations: 20.09 kB / 4.092 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/9.204, allocations: 447.3 kB / 4.093 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.392e-05/9.204, allocations: 22.78 kB / 4.093 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/9.206, allocations: 225.4 kB / 4.093 GB, free: 28.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/9.206, allocations: 61.03 kB / 4.093 GB, free: 28.13 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 () * Number of clocked 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.001652/9.208, allocations: 392.7 kB / 4.093 GB, free: 27.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007405/9.208, allocations: 120.3 kB / 4.093 GB, free: 27.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/9.219, allocations: 5.904 MB / 4.099 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.869e-05/9.219, allocations: 80.84 kB / 4.099 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/9.219, allocations: 0 / 4.099 GB, free: 27.24 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/9.219, allocations: 11.02 kB / 4.099 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/9.231, allocations: 8.041 MB / 4.107 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/9.231, allocations: 7.516 kB / 4.107 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/9.232, allocations: 219.8 kB / 4.107 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/9.236, allocations: 1.645 MB / 4.109 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/9.236, allocations: 26.44 kB / 4.109 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/9.239, allocations: 2.637 MB / 4.112 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/9.24, allocations: 1.25 kB / 4.112 GB, free: 25.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006657/9.246, allocations: 3.797 MB / 4.115 GB, free: 24.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/9.248, allocations: 0.5558 MB / 4.116 GB, free: 24.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004686/9.248, allocations: 25.56 kB / 4.116 GB, free: 24.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/9.25, allocations: 177.4 kB / 4.116 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/9.25, allocations: 105.8 kB / 4.116 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/9.25, allocations: 41.89 kB / 4.116 GB, free: 24.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00177/9.252, allocations: 0.8027 MB / 4.117 GB, free: 24.37 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/9.252, allocations: 4 kB / 4.117 GB, free: 24.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0103/9.262, allocations: 1.882 MB / 4.119 GB, free: 24.09 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 () * Number of clocked 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.01273/9.275, allocations: 2.116 MB / 4.121 GB, free: 23.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00789/9.283, allocations: 2.719 MB / 4.123 GB, free: 22.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/9.283, allocations: 1.5 kB / 4.123 GB, free: 22.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003251/9.286, allocations: 1.598 MB / 4.125 GB, free: 22.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004787/9.291, allocations: 0.6211 MB / 4.126 GB, free: 22.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/9.302, allocations: 5.515 MB / 4.131 GB, free: 18.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/9.304, allocations: 1.593 MB / 4.133 GB, free: 18.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002717/9.307, allocations: 1.367 MB / 4.134 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003908/9.307, allocations: 111.4 kB / 4.134 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/9.307, allocations: 0 / 4.134 GB, free: 18.07 MB / 0.5573 GB Notification: Performance of Templates: time 0.4762/9.783, allocations: 64.71 MB / 4.197 GB, free: 69.86 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/jenkins1/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