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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 110 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 188 kB / 22.98 MB, free: 5.016 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.575/1.575, allocations: 207.6 MB / 233.7 MB, free: 10.02 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.2299/0.2299, allocations: 44.23 MB / 330.2 MB, free: 9.652 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 72.34 kB / 467.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.131, allocations: 61.04 MB / 0.5166 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.3374/0.4684, allocations: 28.52 MB / 0.5444 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01672/0.4851, allocations: 13.39 MB / 0.5575 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006097/0.4857, allocations: 18.75 kB / 0.5575 GB, free: 7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009641/0.4867, allocations: 247.8 kB / 0.5578 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.5002, allocations: 3.665 MB / 0.5614 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008064/0.5082, allocations: 2.385 MB / 0.5637 GB, free: 5.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.5099, allocations: 0.9083 MB / 0.5646 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004433/0.5104, allocations: 212.9 kB / 0.5648 GB, free: 4.523 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008817/0.5112, allocations: 462.7 kB / 0.5652 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.5116, allocations: 279.4 kB / 0.5655 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.5117, allocations: 33.78 kB / 0.5655 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01883/0.5305, allocations: 7.252 MB / 0.5726 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.5307, allocations: 104.3 kB / 0.5727 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.5312, allocations: 229.6 kB / 0.5729 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01624/0.5474, allocations: 4.416 MB / 0.5772 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5474, allocations: 0 / 0.5772 GB, free: 14.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5474, allocations: 0 / 0.5772 GB, free: 14.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.5474, allocations: 1.062 kB / 0.5772 GB, free: 14.52 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.005411/0.5528, allocations: 1.198 MB / 0.5784 GB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5529, allocations: 13.09 kB / 0.5784 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001824/0.5547, allocations: 218.4 kB / 0.5786 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.5554, allocations: 323.2 kB / 0.5789 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.5555, allocations: 26.41 kB / 0.5789 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.899e-05/0.5555, allocations: 27.03 kB / 0.579 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.5572, allocations: 0.5917 MB / 0.5796 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.5572, allocations: 5.969 kB / 0.5796 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.5573, allocations: 13.56 kB / 0.5796 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.5573, allocations: 12.59 kB / 0.5796 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.5594, allocations: 0.5462 MB / 0.5801 GB, free: 12.61 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.003502/0.5629, allocations: 2.511 MB / 0.5826 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.5646, allocations: 454.8 kB / 0.583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005089/0.5651, allocations: 189.1 kB / 0.5832 GB, free: 9.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04758/0.6127, allocations: 12.67 MB / 0.5956 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.6127, allocations: 38.56 kB / 0.5956 GB, free: 2.387 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.6127, allocations: 0 / 0.5956 GB, free: 2.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.003243/0.6159, allocations: 0.8099 MB / 0.5964 GB, free: 1.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.616, allocations: 114.8 kB / 0.5965 GB, free: 1.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.6165, allocations: 312.5 kB / 0.5968 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.6166, allocations: 29.7 kB / 0.5968 GB, free: 1.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.6168, allocations: 208.5 kB / 0.597 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.6169, allocations: 91.25 kB / 0.5971 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.617, allocations: 69.64 kB / 0.5972 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6172, allocations: 342.8 kB / 0.5975 GB, free: 380 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.6176, allocations: 152.9 kB / 0.5976 GB, free: 228 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.6182, allocations: 251.1 kB / 0.5979 GB, free: 15.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/0.6192, allocations: 377.3 kB / 0.5982 GB, free: 15.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6192, allocations: 0 / 0.5982 GB, free: 15.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001267/0.6205, allocations: 450 kB / 0.5987 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6205, allocations: 4 kB / 0.5987 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6205, allocations: 4 kB / 0.5987 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.6205, allocations: 4 kB / 0.5987 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.621, allocations: 92.12 kB / 0.5988 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.621, allocations: 4 kB / 0.5988 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004424/0.6214, allocations: 61.56 kB / 0.5988 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.6214, allocations: 15.94 kB / 0.5988 GB, free: 14.91 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: 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.0002553/0.6217, allocations: 157.8 kB / 0.599 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6218, allocations: 39.81 kB / 0.599 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.6249, allocations: 1.989 MB / 0.601 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-05/0.6249, allocations: 31.89 kB / 0.601 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.6249, allocations: 0 / 0.601 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6249, allocations: 6 kB / 0.601 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.6264, allocations: 1.022 MB / 0.602 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6264, allocations: 0 / 0.602 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.6268, allocations: 79.86 kB / 0.6021 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.6268, allocations: 0 / 0.6021 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.6268, allocations: 12 kB / 0.6021 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.6268, allocations: 7.938 kB / 0.6021 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6268, allocations: 0 / 0.6021 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.6291, allocations: 1.132 MB / 0.6032 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.6294, allocations: 91.11 kB / 0.6033 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.6295, allocations: 19.84 kB / 0.6033 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.6298, allocations: 35.91 kB / 0.6034 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6299, allocations: 35.94 kB / 0.6034 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.63, allocations: 11.98 kB / 0.6034 GB, free: 10.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.6304, allocations: 327.1 kB / 0.6037 GB, free: 9.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6304, allocations: 0 / 0.6037 GB, free: 9.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004574/0.635, allocations: 1.002 MB / 0.6047 GB, free: 8.844 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.007702/0.6427, allocations: 1.168 MB / 0.6058 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.6444, allocations: 0.6102 MB / 0.6064 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.6444, allocations: 0 / 0.6064 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007794/0.6451, allocations: 433.6 kB / 0.6068 GB, free: 6.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.6465, allocations: 222.9 kB / 0.6071 GB, free: 6.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.649, allocations: 1.564 MB / 0.6086 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.6496, allocations: 0.9638 MB / 0.6095 GB, free: 3.855 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.6501, allocations: 273.5 kB / 0.6098 GB, free: 3.594 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.6502, allocations: 39.42 kB / 0.6098 GB, free: 3.555 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.6502, allocations: 0 / 0.6098 GB, free: 3.555 MB / 446.1 MB Notification: Performance of Templates: time 0.06382/0.7141, allocations: 40.27 MB / 0.6491 GB, free: 11.27 MB / 494.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins/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: 8.150042960420251]