Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 113.9 kB / 18.46 MB, free: 4.617 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.001118/0.001118, allocations: 186.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1954/0.1954, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3083, allocations: 60.82 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02933/0.3377, allocations: 28.15 MB / 0.5471 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3531, allocations: 13.3 MB / 0.56 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.3535, allocations: 11.94 kB / 0.56 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.3543, allocations: 254.3 kB / 0.5603 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.3643, allocations: 3.662 MB / 0.5639 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006351/0.3707, allocations: 2.38 MB / 0.5662 GB, free: 12.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.3719, allocations: 0.9041 MB / 0.5671 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.3724, allocations: 244.8 kB / 0.5673 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009102/0.3733, allocations: 454.1 kB / 0.5677 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.3737, allocations: 274.9 kB / 0.568 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.666e-05/0.3738, allocations: 32 kB / 0.568 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/0.388, allocations: 7.231 MB / 0.5751 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.3881, allocations: 95.66 kB / 0.5752 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.3884, allocations: 223 kB / 0.5754 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009664/0.3981, allocations: 4.413 MB / 0.5797 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3981, allocations: 0 / 0.5797 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3982, allocations: 0 / 0.5797 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.3982, allocations: 0 / 0.5797 GB, free: 14.36 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.002971/0.4012, allocations: 1.247 MB / 0.5809 GB, free: 13.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4012, allocations: 11.97 kB / 0.5809 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.403, allocations: 208.3 kB / 0.5811 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/0.4036, allocations: 383.2 kB / 0.5815 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.4037, allocations: 25.03 kB / 0.5815 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.4037, allocations: 28.38 kB / 0.5816 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.4053, allocations: 0.5939 MB / 0.5821 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4054, allocations: 0 / 0.5821 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.4054, allocations: 12 kB / 0.5821 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.4054, allocations: 11.94 kB / 0.5822 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.4072, allocations: 0.5445 MB / 0.5827 GB, free: 11.18 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.002988/0.4102, allocations: 2.636 MB / 0.5853 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.4118, allocations: 458.2 kB / 0.5857 GB, free: 7.844 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.4123, allocations: 196.7 kB / 0.5859 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04984/0.4621, allocations: 24.32 MB / 0.6096 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4622, allocations: 30.56 kB / 0.6097 GB, free: 12.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=25): time 2.845e-06/0.4622, allocations: 0 / 0.6097 GB, free: 12.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=25): time 0.003202/0.4654, allocations: 0.8284 MB / 0.6105 GB, free: 11.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.4655, allocations: 106.8 kB / 0.6106 GB, free: 11.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.4659, allocations: 316.4 kB / 0.6109 GB, free: 11.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.4659, allocations: 29.7 kB / 0.6109 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.4661, allocations: 204.2 kB / 0.6111 GB, free: 10.87 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/0.4662, allocations: 86.83 kB / 0.6112 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.4663, allocations: 69.59 kB / 0.6113 GB, free: 10.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4665, allocations: 350.8 kB / 0.6116 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.4669, allocations: 143.9 kB / 0.6117 GB, free: 10.21 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/0.4674, allocations: 247 kB / 0.612 GB, free: 9.934 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009047/0.4684, allocations: 373 kB / 0.6123 GB, free: 9.535 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4684, allocations: 0 / 0.6123 GB, free: 9.535 MB / 478.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001131/0.4695, allocations: 449.8 kB / 0.6127 GB, free: 9.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4695, allocations: 12.03 kB / 0.6128 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4696, allocations: 0 / 0.6128 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4696, allocations: 8 kB / 0.6128 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.47, allocations: 87.81 kB / 0.6128 GB, free: 8.984 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.47, allocations: 4 kB / 0.6129 GB, free: 8.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.4703, allocations: 47.7 kB / 0.6129 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.4703, allocations: 16 kB / 0.6129 GB, free: 8.918 MB / 478.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.0001947/0.4706, allocations: 165.7 kB / 0.6131 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.4706, allocations: 31.62 kB / 0.6131 GB, free: 8.715 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.4732, allocations: 1.912 MB / 0.615 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.4732, allocations: 3.938 kB / 0.615 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.4732, allocations: 3.984 kB / 0.615 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.4734, allocations: 163.7 kB / 0.6151 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.4735, allocations: 27.78 kB / 0.6152 GB, free: 6.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.4738, allocations: 43.94 kB / 0.6152 GB, free: 6.531 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.4739, allocations: 31.95 kB / 0.6152 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00171/0.4756, allocations: 1.097 MB / 0.6163 GB, free: 5.391 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001599/0.4773, allocations: 1.168 MB / 0.6174 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006721/0.4779, allocations: 0.4986 MB / 0.6179 GB, free: 3.711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003753/0.4783, allocations: 331.1 kB / 0.6182 GB, free: 3.387 MB / 478.1 MB Notification: Performance of Backend: time 1.422e-06/0.4783, allocations: 0 / 0.6182 GB, free: 3.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007136/0.4855, allocations: 1.666 MB / 0.6199 GB, free: 1.723 MB / 478.1 MB Notification: Performance of SimCode: time 0.002202/0.4877, allocations: 1.616 MB / 0.6214 GB, free: 64 kB / 478.1 MB Notification: Performance of Templates: time 0.06177/0.5495, allocations: 43.97 MB / 0.6644 GB, free: 4.133 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches