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.001955/0.001955, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.002561/0.002561, allocations: 219.4 kB / 22.99 MB, free: 4.965 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.471/1.471, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.2235/0.2235, allocations: 44.26 MB / 330.3 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.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.002695/0.002695, allocations: 69 kB / 468 MB, free: 3.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1462, allocations: 61.05 MB / 0.5166 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.3147/0.4609, allocations: 25.76 MB / 0.5418 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01769/0.4786, allocations: 11.77 MB / 0.5533 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.4791, allocations: 14.06 kB / 0.5533 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008905/0.48, allocations: 225.4 kB / 0.5535 GB, free: 8.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.4941, allocations: 3.639 MB / 0.5571 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008043/0.5022, allocations: 2.345 MB / 0.5594 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001491/0.5036, allocations: 0.9012 MB / 0.5603 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.5041, allocations: 209.1 kB / 0.5605 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000854/0.5049, allocations: 432.7 kB / 0.5609 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.5053, allocations: 278.7 kB / 0.5611 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-05/0.5054, allocations: 33.53 kB / 0.5612 GB, free: 6.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01671/0.5221, allocations: 6.896 MB / 0.5679 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.5223, allocations: 101.3 kB / 0.568 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.5226, allocations: 184.2 kB / 0.5682 GB, free: 4.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01232/0.535, allocations: 4.402 MB / 0.5725 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.535, allocations: 1.5 kB / 0.5725 GB, free: 1.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.535, allocations: 0 / 0.5725 GB, free: 1.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.535, allocations: 0 / 0.5725 GB, free: 1.453 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.004709/0.5397, allocations: 1.183 MB / 0.5736 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.5397, allocations: 8.938 kB / 0.5736 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.5415, allocations: 214.3 kB / 0.5738 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.5421, allocations: 324.1 kB / 0.5741 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.5422, allocations: 29.47 kB / 0.5742 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.5422, allocations: 27.28 kB / 0.5742 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.5438, allocations: 0.7327 MB / 0.5749 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.5439, allocations: 5.031 kB / 0.5749 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/0.5439, allocations: 20.41 kB / 0.5749 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.5439, allocations: 7.5 kB / 0.5749 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.5456, allocations: 0.5209 MB / 0.5755 GB, free: 15.39 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.003161/0.5487, allocations: 1.849 MB / 0.5773 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.5504, allocations: 437.3 kB / 0.5777 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.5509, allocations: 176.1 kB / 0.5778 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04862/0.5996, allocations: 12.72 MB / 0.5903 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/0.5996, allocations: 34.56 kB / 0.5903 GB, free: 6.809 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 2.394e-06/0.5996, allocations: 0 / 0.5903 GB, free: 6.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003087/0.6027, allocations: 0.7935 MB / 0.5911 GB, free: 6.008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.728e-05/0.6028, allocations: 110.8 kB / 0.5912 GB, free: 5.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.6032, allocations: 276.1 kB / 0.5914 GB, free: 5.594 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.6032, allocations: 37.7 kB / 0.5915 GB, free: 5.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.6034, allocations: 208.4 kB / 0.5917 GB, free: 5.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.565e-05/0.6035, allocations: 87.25 kB / 0.5918 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6036, allocations: 73.64 kB / 0.5918 GB, free: 5.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6038, allocations: 338.8 kB / 0.5922 GB, free: 4.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.6042, allocations: 135.9 kB / 0.5923 GB, free: 4.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.6047, allocations: 296.3 kB / 0.5926 GB, free: 4.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.6056, allocations: 361.1 kB / 0.5929 GB, free: 3.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6056, allocations: 0 / 0.5929 GB, free: 3.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001052/0.6066, allocations: 417.9 kB / 0.5933 GB, free: 3.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.6067, allocations: 8 kB / 0.5933 GB, free: 3.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.6067, allocations: 6.75 kB / 0.5933 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.6067, allocations: 8 kB / 0.5933 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.607, allocations: 79.88 kB / 0.5934 GB, free: 3.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.607, allocations: 7.938 kB / 0.5934 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.6073, allocations: 43.75 kB / 0.5935 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.6074, allocations: 16 kB / 0.5935 GB, free: 3.402 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.0002105/0.6076, allocations: 157.8 kB / 0.5936 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.701e-05/0.6077, allocations: 36.7 kB / 0.5937 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.6105, allocations: 1.974 MB / 0.5956 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.6105, allocations: 27.95 kB / 0.5956 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6105, allocations: 3.938 kB / 0.5956 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6105, allocations: 3.984 kB / 0.5956 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.6116, allocations: 0.864 MB / 0.5965 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6116, allocations: 3.938 kB / 0.5965 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.6119, allocations: 71.88 kB / 0.5965 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.676e-06/0.6119, allocations: 4 kB / 0.5965 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.6119, allocations: 12.8 kB / 0.5966 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6119, allocations: 0 / 0.5966 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6119, allocations: 0 / 0.5966 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.6136, allocations: 1.113 MB / 0.5976 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.6137, allocations: 87.16 kB / 0.5977 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/0.6138, allocations: 27.78 kB / 0.5977 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.6141, allocations: 26.84 kB / 0.5978 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.6142, allocations: 35.88 kB / 0.5978 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.762e-05/0.6142, allocations: 15.94 kB / 0.5978 GB, free: 14.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003647/0.6146, allocations: 299.1 kB / 0.5981 GB, free: 14.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6146, allocations: 0 / 0.5981 GB, free: 14.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004387/0.619, allocations: 1.006 MB / 0.5991 GB, free: 13.58 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.004866/0.6238, allocations: 1.176 MB / 0.6002 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.6252, allocations: 0.5945 MB / 0.6008 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.6252, allocations: 4 kB / 0.6008 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007096/0.6259, allocations: 418.9 kB / 0.6012 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.627, allocations: 191.7 kB / 0.6014 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.6295, allocations: 1.543 MB / 0.6029 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.6299, allocations: 378.1 kB / 0.6033 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00048/0.6304, allocations: 265.6 kB / 0.6035 GB, free: 9.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.6305, allocations: 47.36 kB / 0.6036 GB, free: 8.957 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.6305, allocations: 0 / 0.6036 GB, free: 8.957 MB / 446.1 MB Notification: Performance of Templates: time 0.0639/0.6944, allocations: 39.93 MB / 0.6426 GB, free: 1.027 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveDiscrete/TestValveDiscrete.csv","/var/lib/jenkins/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: 8.001913392916322]