Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 107.9 kB / 17.09 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 190.9 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1912/0.1912, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB 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.001358/0.001358, allocations: 68.27 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.0927, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.02707/0.1198, allocations: 28.67 MB / 0.5165 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2233/0.3431, allocations: 16.94 MB / 0.5331 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004858/0.3437, allocations: 12.78 kB / 0.5331 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.3444, allocations: 262.5 kB / 0.5333 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008878/0.3533, allocations: 3.807 MB / 0.5371 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006655/0.3599, allocations: 2.648 MB / 0.5397 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.3615, allocations: 1.007 MB / 0.5406 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004312/0.3619, allocations: 288.5 kB / 0.5409 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008076/0.3627, allocations: 480.9 kB / 0.5414 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.3632, allocations: 305.5 kB / 0.5417 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.3632, allocations: 38.66 kB / 0.5417 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01532/0.3786, allocations: 7.399 MB / 0.5489 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.3788, allocations: 113.6 kB / 0.549 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.3792, allocations: 259.8 kB / 0.5493 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009053/0.3882, allocations: 4.589 MB / 0.5538 GB, free: 2.277 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3883, allocations: 0 / 0.5538 GB, free: 2.277 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3883, allocations: 4 kB / 0.5538 GB, free: 2.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.3883, allocations: 0 / 0.5538 GB, free: 2.273 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.003428/0.3917, allocations: 1.344 MB / 0.5551 GB, free: 1.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3918, allocations: 11.58 kB / 0.5551 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.394, allocations: 235.7 kB / 0.5553 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.3945, allocations: 410.7 kB / 0.5557 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.3946, allocations: 33.75 kB / 0.5557 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.3946, allocations: 30.44 kB / 0.5558 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.3963, allocations: 0.663 MB / 0.5564 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3963, allocations: 1.375 kB / 0.5564 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/0.3963, allocations: 13.38 kB / 0.5564 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.3964, allocations: 9.625 kB / 0.5564 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3983, allocations: 0.6133 MB / 0.557 GB, free: 0.5742 MB / 414.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.003125/0.4014, allocations: 2.828 MB / 0.5598 GB, free: 14.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.4032, allocations: 0.4923 MB / 0.5603 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.4037, allocations: 204.4 kB / 0.5605 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04687/0.4506, allocations: 24.43 MB / 0.5843 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.4507, allocations: 34.56 kB / 0.5844 GB, free: 9.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.445e-06/0.4507, allocations: 0 / 0.5844 GB, free: 9.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003357/0.4541, allocations: 0.8442 MB / 0.5852 GB, free: 8.266 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4541, allocations: 105.4 kB / 0.5853 GB, free: 8.141 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.4546, allocations: 381.5 kB / 0.5856 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.4547, allocations: 41.55 kB / 0.5857 GB, free: 7.719 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.4548, allocations: 220.1 kB / 0.5859 GB, free: 7.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.4549, allocations: 90.69 kB / 0.586 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4551, allocations: 85.91 kB / 0.5861 GB, free: 7.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4552, allocations: 350.7 kB / 0.5864 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005615/0.4558, allocations: 170 kB / 0.5866 GB, free: 6.801 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.4564, allocations: 268.1 kB / 0.5868 GB, free: 6.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.4575, allocations: 406 kB / 0.5872 GB, free: 6.078 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4575, allocations: 4 kB / 0.5872 GB, free: 6.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001391/0.4589, allocations: 492.7 kB / 0.5877 GB, free: 5.602 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.459, allocations: 8.031 kB / 0.5877 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.459, allocations: 4 kB / 0.5877 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.459, allocations: 4 kB / 0.5877 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.4595, allocations: 102.2 kB / 0.5878 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.4595, allocations: 8 kB / 0.5878 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.46, allocations: 67.55 kB / 0.5879 GB, free: 5.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.69e-05/0.4601, allocations: 19.98 kB / 0.5879 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006768/0.4607, allocations: 280.7 kB / 0.5882 GB, free: 5.121 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005992/0.4614, allocations: 267 kB / 0.5884 GB, free: 4.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001084/0.4624, allocations: 396.8 kB / 0.5888 GB, free: 4.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.4625, allocations: 3.938 kB / 0.5888 GB, free: 4.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001377/0.4638, allocations: 489.8 kB / 0.5893 GB, free: 3.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.4639, allocations: 8 kB / 0.5893 GB, free: 3.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4639, allocations: 8.609 kB / 0.5893 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/0.4639, allocations: 4 kB / 0.5893 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.4643, allocations: 105.5 kB / 0.5894 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4644, allocations: 4 kB / 0.5894 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.4648, allocations: 59.67 kB / 0.5894 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.4649, allocations: 19.62 kB / 0.5895 GB, free: 3.738 MB / 446.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.0001497/0.465, allocations: 202.8 kB / 0.5896 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.831e-05/0.4651, allocations: 43.53 kB / 0.5897 GB, free: 3.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.4679, allocations: 1.954 MB / 0.5916 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4679, allocations: 3.984 kB / 0.5916 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4679, allocations: 0 / 0.5916 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.4682, allocations: 207.7 kB / 0.5918 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.4683, allocations: 19.84 kB / 0.5918 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.4687, allocations: 51.88 kB / 0.5919 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.4688, allocations: 35.94 kB / 0.5919 GB, free: 1.215 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001906/0.4707, allocations: 1.151 MB / 0.593 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001817/0.4726, allocations: 1.203 MB / 0.5942 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007716/0.4734, allocations: 0.5124 MB / 0.5947 GB, free: 14.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004566/0.4738, allocations: 374.8 kB / 0.5951 GB, free: 13.97 MB / 462.1 MB Notification: Performance of Backend: time 5.31e-07/0.4738, allocations: 0 / 0.5951 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009775/0.4836, allocations: 1.961 MB / 0.597 GB, free: 12.18 MB / 462.1 MB Notification: Performance of SimCode: time 0.002301/0.4859, allocations: 1.725 MB / 0.5987 GB, free: 10.41 MB / 462.1 MB Notification: Performance of Templates: time 0.06703/0.553, allocations: 47.26 MB / 0.6448 GB, free: 11.19 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveVaporizing/TestValveVaporizing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches