Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.002031/0.002031, allocations: 100.4 kB / 20.45 MB, free: 1.395 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.003294/0.003294, allocations: 217.5 kB / 23.75 MB, free: 4.559 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.593/1.593, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2289/0.2289, allocations: 44.26 MB / 331.1 MB, free: 9.316 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.TestValveLinear,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.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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.TestValveLinear") [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.002322/0.002322, allocations: 67.91 kB / 468.8 MB, free: 3.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1381, allocations: 61.04 MB / 0.5174 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.3223/0.4604, allocations: 25.78 MB / 0.5426 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.4764, allocations: 11.77 MB / 0.554 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005166/0.4769, allocations: 13.53 kB / 0.5541 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008215/0.4777, allocations: 224.5 kB / 0.5543 GB, free: 8.648 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01283/0.4905, allocations: 3.648 MB / 0.5578 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007809/0.4983, allocations: 2.34 MB / 0.5601 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001589/0.4999, allocations: 0.9089 MB / 0.561 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004589/0.5004, allocations: 206.3 kB / 0.5612 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/0.5013, allocations: 438.3 kB / 0.5616 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.5018, allocations: 275 kB / 0.5619 GB, free: 6.383 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.5019, allocations: 38.25 kB / 0.5619 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0203/0.5222, allocations: 6.893 MB / 0.5687 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.5225, allocations: 105.2 kB / 0.5688 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000558/0.5231, allocations: 190.8 kB / 0.5689 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01463/0.5377, allocations: 4.406 MB / 0.5732 GB, free: 1.414 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.5377, allocations: 0 / 0.5732 GB, free: 1.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5377, allocations: 1.125 kB / 0.5732 GB, free: 1.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5377, allocations: 0 / 0.5732 GB, free: 1.414 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.004346/0.5421, allocations: 1.195 MB / 0.5744 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.5421, allocations: 13.22 kB / 0.5744 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.5438, allocations: 210.3 kB / 0.5746 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.5445, allocations: 322.7 kB / 0.5749 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.555e-05/0.5445, allocations: 26.62 kB / 0.575 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.5446, allocations: 28.09 kB / 0.575 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.5463, allocations: 0.7415 MB / 0.5757 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.5463, allocations: 7.938 kB / 0.5757 GB, free: 15.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.5463, allocations: 16.78 kB / 0.5757 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.5463, allocations: 8.125 kB / 0.5757 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.5481, allocations: 0.5388 MB / 0.5763 GB, free: 15.33 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.003329/0.5514, allocations: 1.85 MB / 0.5781 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.5531, allocations: 454.3 kB / 0.5785 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.5536, allocations: 190.5 kB / 0.5787 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04781/0.6014, allocations: 12.71 MB / 0.5911 GB, free: 6.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/0.6015, allocations: 43.38 kB / 0.5911 GB, free: 6.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.6015, allocations: 0 / 0.5911 GB, free: 6.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003237/0.6047, allocations: 0.8131 MB / 0.5919 GB, free: 5.898 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.6048, allocations: 110.8 kB / 0.592 GB, free: 5.766 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.6052, allocations: 284.3 kB / 0.5923 GB, free: 5.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/0.6053, allocations: 33.69 kB / 0.5923 GB, free: 5.441 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.6055, allocations: 208.4 kB / 0.5925 GB, free: 5.234 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.6056, allocations: 95.2 kB / 0.5926 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.6057, allocations: 73.62 kB / 0.5927 GB, free: 5.062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.6059, allocations: 338.8 kB / 0.593 GB, free: 4.723 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004642/0.6064, allocations: 143.9 kB / 0.5932 GB, free: 4.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/0.607, allocations: 312.3 kB / 0.5935 GB, free: 4.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009706/0.608, allocations: 369.1 kB / 0.5938 GB, free: 3.832 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.608, allocations: 0 / 0.5938 GB, free: 3.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001217/0.6092, allocations: 445.8 kB / 0.5942 GB, free: 3.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.6092, allocations: 8.312 kB / 0.5942 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6092, allocations: 8 kB / 0.5942 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.6093, allocations: 4 kB / 0.5943 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.6097, allocations: 85.62 kB / 0.5943 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.6097, allocations: 7.938 kB / 0.5943 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.61, allocations: 43.81 kB / 0.5944 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.6101, allocations: 23.92 kB / 0.5944 GB, free: 3.215 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: 4 (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.000275/0.6104, allocations: 161.7 kB / 0.5946 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.6105, allocations: 31.81 kB / 0.5946 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.6135, allocations: 1.998 MB / 0.5965 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-05/0.6135, allocations: 27.95 kB / 0.5966 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.6135, allocations: 3.938 kB / 0.5966 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6135, allocations: 0 / 0.5966 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.6147, allocations: 0.8672 MB / 0.5974 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.6147, allocations: 0 / 0.5974 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.615, allocations: 83.92 kB / 0.5975 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.6151, allocations: 0 / 0.5975 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.6151, allocations: 7.938 kB / 0.5975 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6151, allocations: 7.5 kB / 0.5975 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6151, allocations: 0 / 0.5975 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.6169, allocations: 1.136 MB / 0.5986 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.6171, allocations: 87.16 kB / 0.5987 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.6171, allocations: 23.84 kB / 0.5987 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.6174, allocations: 31.91 kB / 0.5988 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.6176, allocations: 31.94 kB / 0.5988 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.6176, allocations: 23.92 kB / 0.5988 GB, free: 14.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003815/0.618, allocations: 299.1 kB / 0.5991 GB, free: 14.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.618, allocations: 0 / 0.5991 GB, free: 14.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004429/0.6224, allocations: 1.002 MB / 0.6001 GB, free: 13.34 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: 18 ($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) * 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.007214/0.6296, allocations: 1.179 MB / 0.6012 GB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.6313, allocations: 0.6107 MB / 0.6018 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6313, allocations: 0 / 0.6018 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.6321, allocations: 429 kB / 0.6022 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6334, allocations: 196.7 kB / 0.6024 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.6361, allocations: 1.593 MB / 0.604 GB, free: 9.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.6366, allocations: 370.2 kB / 0.6043 GB, free: 8.938 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.6367, allocations: 43.42 kB / 0.6044 GB, free: 8.895 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6367, allocations: 0 / 0.6044 GB, free: 8.895 MB / 446.1 MB Notification: Performance of Templates: time 0.04456/0.6813, allocations: 24.05 MB / 0.6279 GB, free: 0.8359 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.990507567301393]