Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 108.9 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 215.1 kB / 23.76 MB, free: 4.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.25 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 67.89 kB / 468.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 61.04 MB / 0.5174 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.2135/0.3203, allocations: 28.5 MB / 0.5452 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.3332, allocations: 13.39 MB / 0.5583 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.3336, allocations: 18.78 kB / 0.5583 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.3343, allocations: 246.5 kB / 0.5585 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01021/0.3445, allocations: 3.663 MB / 0.5621 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00624/0.3508, allocations: 2.382 MB / 0.5644 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.352, allocations: 0.9072 MB / 0.5653 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.3523, allocations: 208.2 kB / 0.5655 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007033/0.353, allocations: 457.6 kB / 0.566 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.3534, allocations: 277.6 kB / 0.5662 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.3534, allocations: 32.84 kB / 0.5663 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/0.367, allocations: 7.252 MB / 0.5733 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.3672, allocations: 105.6 kB / 0.5734 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.3675, allocations: 224.2 kB / 0.5737 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00988/0.3773, allocations: 4.41 MB / 0.578 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3773, allocations: 4 kB / 0.578 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3773, allocations: 0 / 0.578 GB, free: 14.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3773, allocations: 1.219 kB / 0.578 GB, free: 14.46 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003625/0.381, allocations: 1.19 MB / 0.5791 GB, free: 13.61 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.381, allocations: 14.06 kB / 0.5791 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.3827, allocations: 214 kB / 0.5793 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.3833, allocations: 323.1 kB / 0.5797 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.3833, allocations: 30.88 kB / 0.5797 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.3833, allocations: 27.31 kB / 0.5797 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.3848, allocations: 0.5868 MB / 0.5803 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3848, allocations: 2.203 kB / 0.5803 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.401e-05/0.3849, allocations: 16.34 kB / 0.5803 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3849, allocations: 7.062 kB / 0.5803 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.3864, allocations: 0.5246 MB / 0.5808 GB, free: 12.57 MB / 430.1 MB 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.003098/0.3895, allocations: 2.506 MB / 0.5833 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.391, allocations: 452 kB / 0.5837 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.3914, allocations: 178.7 kB / 0.5839 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04129/0.4327, allocations: 12.66 MB / 0.5962 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.4328, allocations: 34.56 kB / 0.5963 GB, free: 2.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/0.4328, allocations: 4 kB / 0.5963 GB, free: 2.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.002835/0.4356, allocations: 0.7903 MB / 0.597 GB, free: 1.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/0.4357, allocations: 110.8 kB / 0.5971 GB, free: 1.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.4361, allocations: 316.4 kB / 0.5974 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.4361, allocations: 29.7 kB / 0.5975 GB, free: 1.109 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.4363, allocations: 200.6 kB / 0.5977 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.4363, allocations: 95.19 kB / 0.5978 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.4365, allocations: 65.69 kB / 0.5978 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4366, allocations: 354.7 kB / 0.5982 GB, free: 400 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.437, allocations: 135.9 kB / 0.5983 GB, free: 264 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.4374, allocations: 234.9 kB / 0.5985 GB, free: 15.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.4382, allocations: 357.1 kB / 0.5989 GB, free: 15.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.4382, allocations: 5.188 kB / 0.5989 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009607/0.4392, allocations: 420.9 kB / 0.5993 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4392, allocations: 8 kB / 0.5993 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4392, allocations: 4 kB / 0.5993 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4392, allocations: 4 kB / 0.5993 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.4395, allocations: 88.73 kB / 0.5994 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.4396, allocations: 7.938 kB / 0.5994 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003019/0.4399, allocations: 47.75 kB / 0.5994 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.4399, allocations: 12 kB / 0.5994 GB, free: 15.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (Opening.y,SinkP1.medium.phase,SourceP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.4401, allocations: 161.7 kB / 0.5996 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.4402, allocations: 39.77 kB / 0.5996 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/0.4427, allocations: 1.963 MB / 0.6015 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.414e-05/0.4427, allocations: 40.95 kB / 0.6016 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.4427, allocations: 4 kB / 0.6016 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4427, allocations: 0 / 0.6016 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4438, allocations: 1.011 MB / 0.6026 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4438, allocations: 0 / 0.6026 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.4441, allocations: 71.88 kB / 0.6026 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4441, allocations: 8 kB / 0.6026 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.4441, allocations: 11.98 kB / 0.6027 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4441, allocations: 3.938 kB / 0.6027 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4441, allocations: 0 / 0.6027 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.4456, allocations: 1.12 MB / 0.6037 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.4458, allocations: 87.2 kB / 0.6038 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.987e-05/0.4459, allocations: 26.78 kB / 0.6039 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.4461, allocations: 27.91 kB / 0.6039 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4462, allocations: 38.19 kB / 0.6039 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.4462, allocations: 8 kB / 0.6039 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003648/0.4466, allocations: 323.1 kB / 0.6042 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4466, allocations: 4 kB / 0.6042 GB, free: 10 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003645/0.4503, allocations: 1.002 MB / 0.6052 GB, free: 9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase,Opening.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005563/0.4558, allocations: 1.172 MB / 0.6064 GB, free: 7.836 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.4571, allocations: 0.5992 MB / 0.6069 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4571, allocations: 0 / 0.6069 GB, free: 7.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.4577, allocations: 418.2 kB / 0.6073 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.4588, allocations: 221.3 kB / 0.6076 GB, free: 6.621 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002239/0.461, allocations: 1.588 MB / 0.6091 GB, free: 4.996 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.4616, allocations: 0.9677 MB / 0.6101 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4617, allocations: 39.44 kB / 0.6101 GB, free: 3.965 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4617, allocations: 0 / 0.6101 GB, free: 3.965 MB / 446.1 MB Notification: Performance of Templates: time 0.0362/0.4979, allocations: 23.99 MB / 0.6335 GB, free: 11.96 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.484128304990008]