Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.001281/0.001281, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001468/0.001468, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 46.97 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 68.08 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3032, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.03327/0.3365, allocations: 26.38 MB / 0.5876 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02281/0.3593, allocations: 15.13 MB / 0.6024 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004882/0.3598, allocations: 27.75 kB / 0.6024 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007639/0.3606, allocations: 238.4 kB / 0.6026 GB, free: 10.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.3707, allocations: 3.817 MB / 0.6063 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007276/0.378, allocations: 2.624 MB / 0.6089 GB, free: 3.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001475/0.3795, allocations: 1.025 MB / 0.6099 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.3799, allocations: 249.7 kB / 0.6101 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000874/0.3808, allocations: 478.1 kB / 0.6106 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004177/0.3812, allocations: 326.6 kB / 0.6109 GB, free: 1.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.3813, allocations: 40 kB / 0.611 GB, free: 1.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.3953, allocations: 7.34 MB / 0.6181 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.3956, allocations: 119.6 kB / 0.6182 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.396, allocations: 219 kB / 0.6184 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.4069, allocations: 4.599 MB / 0.6229 GB, free: 5.418 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4069, allocations: 0 / 0.6229 GB, free: 5.418 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4069, allocations: 0 / 0.6229 GB, free: 5.418 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.4069, allocations: 0 / 0.6229 GB, free: 5.418 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00368/0.4106, allocations: 1.308 MB / 0.6242 GB, free: 4.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4106, allocations: 12.03 kB / 0.6242 GB, free: 4.059 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.4126, allocations: 228.4 kB / 0.6244 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007297/0.4133, allocations: 357.8 kB / 0.6248 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.4133, allocations: 33 kB / 0.6248 GB, free: 3.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.4134, allocations: 28 kB / 0.6248 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.4154, allocations: 0.8038 MB / 0.6256 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4154, allocations: 0 / 0.6256 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/0.4155, allocations: 16 kB / 0.6256 GB, free: 2.504 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.4155, allocations: 8 kB / 0.6257 GB, free: 2.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.4176, allocations: 0.6228 MB / 0.6263 GB, free: 1.871 MB / 462.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.003328/0.4209, allocations: 1.942 MB / 0.6282 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.4228, allocations: 486.3 kB / 0.6286 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/0.4234, allocations: 180.7 kB / 0.6288 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0487/0.4721, allocations: 13.25 MB / 0.6417 GB, free: 1.938 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4721, allocations: 34.5 kB / 0.6418 GB, free: 1.895 MB / 478.1 MB Notification: Performance of pre-optimization done (n=27): time 2.765e-06/0.4721, allocations: 0 / 0.6418 GB, free: 1.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=27): time 0.003573/0.4757, allocations: 0.8366 MB / 0.6426 GB, free: 1.051 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.4758, allocations: 106.8 kB / 0.6427 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/0.4762, allocations: 329.6 kB / 0.643 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.4762, allocations: 29.7 kB / 0.643 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.4764, allocations: 236.2 kB / 0.6432 GB, free: 332 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.65e-05/0.4765, allocations: 95.2 kB / 0.6433 GB, free: 236 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4767, allocations: 77.95 kB / 0.6434 GB, free: 152 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4768, allocations: 354.7 kB / 0.6437 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.4774, allocations: 178 kB / 0.6439 GB, free: 15.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007191/0.4782, allocations: 320.6 kB / 0.6442 GB, free: 15.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.4794, allocations: 407.8 kB / 0.6446 GB, free: 14.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4794, allocations: 0 / 0.6446 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001447/0.4808, allocations: 497.2 kB / 0.6451 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4809, allocations: 12.06 kB / 0.6451 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4809, allocations: 0 / 0.6451 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4809, allocations: 4 kB / 0.6451 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004997/0.4814, allocations: 99.86 kB / 0.6452 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4814, allocations: 8 kB / 0.6452 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.4818, allocations: 67.73 kB / 0.6453 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.4819, allocations: 19.98 kB / 0.6453 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007147/0.4826, allocations: 272.3 kB / 0.6455 GB, free: 13.85 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007017/0.4833, allocations: 319.9 kB / 0.6459 GB, free: 13.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001179/0.4845, allocations: 394 kB / 0.6462 GB, free: 13.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.838e-06/0.4845, allocations: 3.938 kB / 0.6462 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001454/0.4859, allocations: 485.2 kB / 0.6467 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.486, allocations: 7.984 kB / 0.6467 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.486, allocations: 4 kB / 0.6467 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.643e-06/0.486, allocations: 7.938 kB / 0.6467 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.4864, allocations: 103.9 kB / 0.6468 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.4864, allocations: 4.281 kB / 0.6468 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.4868, allocations: 59.8 kB / 0.6469 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.4869, allocations: 16 kB / 0.6469 GB, free: 12.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001823/0.4871, allocations: 204.8 kB / 0.6471 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.4872, allocations: 39.7 kB / 0.6471 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/0.4903, allocations: 2.028 MB / 0.6491 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4903, allocations: 0 / 0.6491 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4903, allocations: 0 / 0.6491 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.4905, allocations: 131 kB / 0.6492 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.4906, allocations: 23.89 kB / 0.6493 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.4911, allocations: 55.88 kB / 0.6493 GB, free: 9.883 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.4912, allocations: 35.94 kB / 0.6493 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002122/0.4933, allocations: 1.157 MB / 0.6505 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002026/0.4953, allocations: 1.231 MB / 0.6517 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007953/0.4961, allocations: 425.8 kB / 0.6521 GB, free: 7.016 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004081/0.4965, allocations: 334.9 kB / 0.6524 GB, free: 6.688 MB / 494.1 MB Notification: Performance of Backend: time 3.7e-07/0.4965, allocations: 0 / 0.6524 GB, free: 6.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007437/0.5039, allocations: 1.948 MB / 0.6543 GB, free: 4.73 MB / 494.1 MB Notification: Performance of SimCode: time 0.002273/0.5062, allocations: 1.704 MB / 0.656 GB, free: 2.977 MB / 494.1 MB Notification: Performance of Templates: time 0.06656/0.5728, allocations: 47.61 MB / 0.7025 GB, free: 3.504 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.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.995091263001086]