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.001342/0.001342, allocations: 79.27 kB / 20.52 MB, free: 1.281 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.001542/0.001542, allocations: 163 kB / 23.76 MB, free: 4.469 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.369/1.369, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.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.2211/0.2211, allocations: 32.37 MB / 270.1 MB, free: 2.707 MB / 254.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.002658/0.002658, allocations: 67.91 kB / 407.8 MB, free: 5.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1269, allocations: 61.05 MB / 468.8 MB, free: 8.281 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.2814/0.4083, allocations: 25.78 MB / 494.6 MB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.4205, allocations: 11.76 MB / 0.4945 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.4208, allocations: 17.94 kB / 0.4945 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.4216, allocations: 229.5 kB / 0.4947 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008536/0.4301, allocations: 3.638 MB / 0.4983 GB, free: 27.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005866/0.436, allocations: 2.339 MB / 0.5005 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.4371, allocations: 0.8988 MB / 0.5014 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.4375, allocations: 220.8 kB / 0.5016 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006771/0.4382, allocations: 436.2 kB / 0.5021 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.4385, allocations: 261 kB / 0.5023 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.4385, allocations: 33.25 kB / 0.5023 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01473/0.4533, allocations: 6.888 MB / 0.5091 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4535, allocations: 100 kB / 0.5092 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.4538, allocations: 184.6 kB / 0.5093 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01805/0.4719, allocations: 4.41 MB / 0.5136 GB, free: 22.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4719, allocations: 0 / 0.5136 GB, free: 22.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.886e-06/0.4719, allocations: 0 / 0.5136 GB, free: 22.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.4719, allocations: 0 / 0.5136 GB, free: 22.21 MB / 446.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.006056/0.4779, allocations: 1.184 MB / 0.5148 GB, free: 21.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.478, allocations: 10.41 kB / 0.5148 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.48, allocations: 214.4 kB / 0.515 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000782/0.4808, allocations: 321.2 kB / 0.5153 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.4808, allocations: 26.78 kB / 0.5153 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.102e-05/0.4809, allocations: 31.75 kB / 0.5154 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.4825, allocations: 0.7366 MB / 0.5161 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4825, allocations: 1.344 kB / 0.5161 GB, free: 20.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.4826, allocations: 13.22 kB / 0.5161 GB, free: 20.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4826, allocations: 6.906 kB / 0.5161 GB, free: 20.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.4842, allocations: 0.5252 MB / 0.5166 GB, free: 20.44 MB / 446.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.002534/0.4867, allocations: 1.841 MB / 0.5184 GB, free: 18.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.4882, allocations: 450.6 kB / 0.5189 GB, free: 18.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.4886, allocations: 180.1 kB / 0.519 GB, free: 18.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04655/0.5352, allocations: 12.7 MB / 0.5314 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.5352, allocations: 41.3 kB / 0.5315 GB, free: 13.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/0.5352, allocations: 5.375 kB / 0.5315 GB, free: 13.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.002871/0.5381, allocations: 0.7837 MB / 0.5322 GB, free: 13.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.5381, allocations: 110.8 kB / 0.5323 GB, free: 12.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000303/0.5384, allocations: 280.1 kB / 0.5326 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.5385, allocations: 33.7 kB / 0.5326 GB, free: 12.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.5386, allocations: 212.5 kB / 0.5328 GB, free: 12.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.205e-05/0.5386, allocations: 79.23 kB / 0.5329 GB, free: 12.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/0.5387, allocations: 69.69 kB / 0.533 GB, free: 12.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.5388, allocations: 350.8 kB / 0.5333 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.5391, allocations: 139.9 kB / 0.5335 GB, free: 11.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004005/0.5395, allocations: 286.2 kB / 0.5337 GB, free: 11.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000675/0.5402, allocations: 362.6 kB / 0.5341 GB, free: 11.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5402, allocations: 0 / 0.5341 GB, free: 11.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008489/0.5411, allocations: 417.9 kB / 0.5345 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5411, allocations: 8 kB / 0.5345 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5411, allocations: 0 / 0.5345 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5411, allocations: 4 kB / 0.5345 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.5414, allocations: 87.88 kB / 0.5346 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5414, allocations: 8.25 kB / 0.5346 GB, free: 10.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.5417, allocations: 51.69 kB / 0.5346 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.5417, allocations: 16 kB / 0.5346 GB, free: 10.42 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.0001467/0.5419, allocations: 158 kB / 0.5348 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.542, allocations: 31.81 kB / 0.5348 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/0.5439, allocations: 1.988 MB / 0.5368 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.139e-05/0.5439, allocations: 31.94 kB / 0.5368 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5439, allocations: 3.938 kB / 0.5368 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5439, allocations: 4 kB / 0.5368 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000701/0.5446, allocations: 0.8602 MB / 0.5376 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.5446, allocations: 8.609 kB / 0.5376 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.5449, allocations: 67.88 kB / 0.5377 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5449, allocations: 4 kB / 0.5377 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5449, allocations: 8 kB / 0.5377 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5449, allocations: 2.438 kB / 0.5377 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5449, allocations: 0 / 0.5377 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.5461, allocations: 1.118 MB / 0.5388 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.5462, allocations: 79.22 kB / 0.5389 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.5463, allocations: 27.78 kB / 0.5389 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.5465, allocations: 27.97 kB / 0.5389 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.5466, allocations: 35.94 kB / 0.539 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.5467, allocations: 15.94 kB / 0.539 GB, free: 5.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002433/0.5469, allocations: 303.1 kB / 0.5393 GB, free: 5.594 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5469, allocations: 0 / 0.5393 GB, free: 5.594 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004298/0.5512, allocations: 1.002 MB / 0.5403 GB, free: 4.59 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.008306/0.5595, allocations: 1.178 MB / 0.5414 GB, free: 3.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.5607, allocations: 0.6026 MB / 0.542 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5607, allocations: 0 / 0.542 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000546/0.5613, allocations: 418.2 kB / 0.5424 GB, free: 2.414 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.5624, allocations: 185.8 kB / 0.5426 GB, free: 2.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.5643, allocations: 1.565 MB / 0.5441 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.5645, allocations: 370.1 kB / 0.5445 GB, free: 272 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003668/0.5649, allocations: 265.4 kB / 0.5447 GB, free: 8 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.565, allocations: 40.55 kB / 0.5448 GB, free: 15.96 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.565, allocations: 3.938 kB / 0.5448 GB, free: 15.96 MB / 462.1 MB Notification: Performance of Templates: time 0.06239/0.6274, allocations: 39.09 MB / 0.5829 GB, free: 8.867 MB / 494.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 -s ida -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: 7.910383303067647]