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.001294/0.001293, allocations: 112.7 kB / 17.09 MB, free: 5.988 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.001266/0.001266, allocations: 194 kB / 18.02 MB, free: 5.066 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.418/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2586/0.2586, allocations: 43.52 MB / 314.8 MB, free: 452 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.001595/0.001595, allocations: 63.91 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 57.79 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing): time 0.03057/0.133, allocations: 28.67 MB / 0.5165 GB, free: 15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2447/0.3778, allocations: 16.93 MB / 0.5331 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.3783, allocations: 21.19 kB / 0.5331 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.3791, allocations: 258 kB / 0.5333 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009995/0.3892, allocations: 3.814 MB / 0.5371 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007477/0.3967, allocations: 2.66 MB / 0.5397 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.3984, allocations: 1.005 MB / 0.5406 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006832/0.3991, allocations: 290.5 kB / 0.5409 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.4003, allocations: 481.8 kB / 0.5414 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.4011, allocations: 304.9 kB / 0.5417 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.4013, allocations: 36.84 kB / 0.5417 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/0.4196, allocations: 7.399 MB / 0.5489 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.4199, allocations: 117 kB / 0.549 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006302/0.4205, allocations: 257.6 kB / 0.5493 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01289/0.4334, allocations: 4.59 MB / 0.5538 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4335, allocations: 3.062 kB / 0.5538 GB, free: 2.258 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4335, allocations: 4 kB / 0.5538 GB, free: 2.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.753e-05/0.4335, allocations: 0 / 0.5538 GB, free: 2.254 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.00561/0.4391, allocations: 1.335 MB / 0.5551 GB, free: 1.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.4392, allocations: 16.17 kB / 0.5551 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00225/0.4415, allocations: 233.3 kB / 0.5553 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008958/0.4424, allocations: 413.6 kB / 0.5557 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.4424, allocations: 33 kB / 0.5558 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-05/0.4425, allocations: 32.38 kB / 0.5558 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.4446, allocations: 0.655 MB / 0.5564 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.4446, allocations: 4 kB / 0.5564 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.609e-05/0.4447, allocations: 14.72 kB / 0.5564 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.4447, allocations: 9.031 kB / 0.5564 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.4469, allocations: 0.6157 MB / 0.557 GB, free: 0.5586 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.004112/0.451, allocations: 2.831 MB / 0.5598 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.453, allocations: 0.4902 MB / 0.5603 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.4536, allocations: 197.8 kB / 0.5605 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05198/0.5056, allocations: 24.43 MB / 0.5843 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5057, allocations: 34.56 kB / 0.5844 GB, free: 9.105 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.334e-06/0.5057, allocations: 3.094 kB / 0.5844 GB, free: 9.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.003616/0.5093, allocations: 0.8389 MB / 0.5852 GB, free: 8.262 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.5094, allocations: 110.8 kB / 0.5853 GB, free: 8.129 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.5099, allocations: 381.5 kB / 0.5857 GB, free: 7.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.5099, allocations: 33.7 kB / 0.5857 GB, free: 7.711 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.5102, allocations: 224.1 kB / 0.5859 GB, free: 7.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.5103, allocations: 93.58 kB / 0.586 GB, free: 7.398 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.5104, allocations: 81.91 kB / 0.5861 GB, free: 7.312 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5106, allocations: 350.7 kB / 0.5864 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/0.5112, allocations: 170 kB / 0.5866 GB, free: 6.793 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.5119, allocations: 271.8 kB / 0.5868 GB, free: 6.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/0.5131, allocations: 407.2 kB / 0.5872 GB, free: 6.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5131, allocations: 0 / 0.5872 GB, free: 6.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001502/0.5146, allocations: 487.3 kB / 0.5877 GB, free: 5.598 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5146, allocations: 12.33 kB / 0.5877 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.5146, allocations: 4 kB / 0.5877 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.5147, allocations: 8 kB / 0.5877 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.5152, allocations: 106 kB / 0.5878 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.5152, allocations: 4 kB / 0.5878 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.5157, allocations: 67.55 kB / 0.5879 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.5158, allocations: 16 kB / 0.5879 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007663/0.5166, allocations: 283.6 kB / 0.5882 GB, free: 5.113 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006803/0.5172, allocations: 263.8 kB / 0.5884 GB, free: 4.812 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001147/0.5184, allocations: 403.2 kB / 0.5888 GB, free: 4.395 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.677e-06/0.5184, allocations: 3.938 kB / 0.5888 GB, free: 4.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001427/0.5199, allocations: 480.1 kB / 0.5893 GB, free: 3.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5199, allocations: 8 kB / 0.5893 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5199, allocations: 4 kB / 0.5893 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.5199, allocations: 4 kB / 0.5893 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.5204, allocations: 110.5 kB / 0.5894 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5204, allocations: 7.984 kB / 0.5894 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.5209, allocations: 60.8 kB / 0.5895 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.5209, allocations: 16 kB / 0.5895 GB, free: 3.73 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.0001715/0.5211, allocations: 207.4 kB / 0.5897 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.5212, allocations: 47.53 kB / 0.5897 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/0.524, allocations: 1.946 MB / 0.5916 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.524, allocations: 3.281 kB / 0.5916 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.524, allocations: 4 kB / 0.5916 GB, free: 1.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.5243, allocations: 211.6 kB / 0.5918 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-05/0.5244, allocations: 19.84 kB / 0.5918 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.5249, allocations: 51.88 kB / 0.5919 GB, free: 1.242 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.525, allocations: 35.95 kB / 0.5919 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001978/0.527, allocations: 1.142 MB / 0.593 GB, free: 60 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00187/0.5289, allocations: 1.206 MB / 0.5942 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008249/0.5297, allocations: 0.5134 MB / 0.5947 GB, free: 14.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000442/0.5301, allocations: 370.8 kB / 0.5951 GB, free: 13.97 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.5302, allocations: 0 / 0.5951 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009636/0.5398, allocations: 1.977 MB / 0.597 GB, free: 12.16 MB / 462.1 MB Notification: Performance of SimCode: time 0.002388/0.5422, allocations: 1.724 MB / 0.5987 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Templates: time 0.06626/0.6085, allocations: 46.87 MB / 0.6445 GB, free: 11.55 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