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.001717/0.001717, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.002286/0.002286, allocations: 209.1 kB / 23.74 MB, free: 4.543 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.625/1.625, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.232/0.232, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] 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.002555/0.002555, allocations: 66.83 kB / 468.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1454, allocations: 61.05 MB / 0.5174 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.3128/0.4581, allocations: 25.76 MB / 0.5425 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01564/0.4738, allocations: 11.77 MB / 0.554 GB, free: 8.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.4741, allocations: 18.41 kB / 0.554 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000812/0.475, allocations: 229.2 kB / 0.5543 GB, free: 8.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.4877, allocations: 3.634 MB / 0.5578 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008732/0.4964, allocations: 2.341 MB / 0.5601 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.498, allocations: 0.9036 MB / 0.561 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000459/0.4985, allocations: 209.1 kB / 0.5612 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008873/0.4994, allocations: 436.7 kB / 0.5616 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.4998, allocations: 270.6 kB / 0.5619 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.4998, allocations: 32.53 kB / 0.5619 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01755/0.5174, allocations: 6.894 MB / 0.5686 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.5177, allocations: 109.4 kB / 0.5687 GB, free: 4.332 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005004/0.5182, allocations: 184.9 kB / 0.5689 GB, free: 4.234 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.5318, allocations: 4.397 MB / 0.5732 GB, free: 1.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5318, allocations: 5.094 kB / 0.5732 GB, free: 1.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5318, allocations: 0 / 0.5732 GB, free: 1.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.5319, allocations: 0 / 0.5732 GB, free: 1.438 MB / 414.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.004909/0.5368, allocations: 1.184 MB / 0.5744 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.5368, allocations: 14.14 kB / 0.5744 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.5387, allocations: 209.4 kB / 0.5746 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.5395, allocations: 323.3 kB / 0.5749 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.5395, allocations: 27.34 kB / 0.5749 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.5396, allocations: 26.31 kB / 0.5749 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.5414, allocations: 0.7364 MB / 0.5756 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.5415, allocations: 5 kB / 0.5757 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.317e-05/0.5415, allocations: 16.56 kB / 0.5757 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.5415, allocations: 7.906 kB / 0.5757 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.5433, allocations: 0.5207 MB / 0.5762 GB, free: 15.38 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.003634/0.5469, allocations: 1.848 MB / 0.578 GB, free: 13.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.5486, allocations: 436.9 kB / 0.5784 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.5491, allocations: 179.2 kB / 0.5786 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05014/0.5992, allocations: 12.72 MB / 0.591 GB, free: 6.844 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.5993, allocations: 34.56 kB / 0.591 GB, free: 6.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 3.095e-06/0.5993, allocations: 0 / 0.591 GB, free: 6.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003044/0.6023, allocations: 0.7974 MB / 0.5918 GB, free: 5.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/0.6024, allocations: 110.8 kB / 0.5919 GB, free: 5.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.6028, allocations: 276.1 kB / 0.5922 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.6029, allocations: 33.7 kB / 0.5922 GB, free: 5.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.6031, allocations: 208.5 kB / 0.5924 GB, free: 5.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.6032, allocations: 83.27 kB / 0.5925 GB, free: 5.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.6033, allocations: 77.58 kB / 0.5926 GB, free: 5.172 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6035, allocations: 338.8 kB / 0.5929 GB, free: 4.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.6039, allocations: 139.9 kB / 0.593 GB, free: 4.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.6044, allocations: 288.3 kB / 0.5933 GB, free: 4.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.6052, allocations: 365.1 kB / 0.5936 GB, free: 3.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6052, allocations: 0 / 0.5936 GB, free: 3.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001064/0.6063, allocations: 417.9 kB / 0.594 GB, free: 3.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.6063, allocations: 11.98 kB / 0.5941 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6063, allocations: 4 kB / 0.5941 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.6063, allocations: 4 kB / 0.5941 GB, free: 3.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.6067, allocations: 79.89 kB / 0.5941 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.6067, allocations: 7.938 kB / 0.5941 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.607, allocations: 48.06 kB / 0.5942 GB, free: 3.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.851e-05/0.6071, allocations: 19.98 kB / 0.5942 GB, free: 3.391 MB / 430.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.0002256/0.6073, allocations: 153.8 kB / 0.5944 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.6074, allocations: 31.81 kB / 0.5944 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002747/0.6101, allocations: 1.971 MB / 0.5963 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.786e-05/0.6102, allocations: 31.94 kB / 0.5963 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6102, allocations: 5.688 kB / 0.5963 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.6102, allocations: 0 / 0.5963 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.6114, allocations: 0.8711 MB / 0.5972 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.6114, allocations: 0 / 0.5972 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.6117, allocations: 72.95 kB / 0.5973 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.6117, allocations: 4 kB / 0.5973 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.6117, allocations: 8 kB / 0.5973 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.6117, allocations: 0 / 0.5973 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6117, allocations: 0 / 0.5973 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/0.6134, allocations: 1.112 MB / 0.5984 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.6136, allocations: 95.03 kB / 0.5985 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/0.6137, allocations: 27.78 kB / 0.5985 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.614, allocations: 26.66 kB / 0.5985 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6141, allocations: 35.88 kB / 0.5985 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.6142, allocations: 23.92 kB / 0.5986 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003944/0.6146, allocations: 299.1 kB / 0.5989 GB, free: 14.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6146, allocations: 0 / 0.5989 GB, free: 14.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004732/0.6193, allocations: 1.002 MB / 0.5998 GB, free: 13.57 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.007798/0.6271, allocations: 1.165 MB / 0.601 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.6287, allocations: 0.6029 MB / 0.6016 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6287, allocations: 0 / 0.6016 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007654/0.6294, allocations: 418.2 kB / 0.602 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.6307, allocations: 198.5 kB / 0.6021 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.6334, allocations: 1.58 MB / 0.6037 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.6338, allocations: 370.2 kB / 0.604 GB, free: 9.215 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.634, allocations: 39.44 kB / 0.6041 GB, free: 9.176 MB / 446.1 MB Notification: Performance of SimCode: time 1.703e-06/0.634, allocations: 0 / 0.6041 GB, free: 9.176 MB / 446.1 MB Notification: Performance of Templates: time 0.04629/0.6803, allocations: 23.99 MB / 0.6275 GB, free: 1.176 MB / 462.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: 10.91191088501364]