Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001129/0.001129, 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.001276/0.001277, 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.318/1.318, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.205/0.205, allocations: 43.52 MB / 314.8 MB, free: 464 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.001562/0.001562, allocations: 67.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 57.78 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.02767/0.1301, allocations: 28.14 MB / 0.516 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0146/0.1447, allocations: 13.31 MB / 0.529 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.145, allocations: 7.938 kB / 0.529 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006491/0.1456, allocations: 250.4 kB / 0.5293 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2074/0.3531, allocations: 3.647 MB / 0.5328 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005726/0.3589, allocations: 2.368 MB / 0.5351 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.36, allocations: 0.8951 MB / 0.536 GB, free: 4.898 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.3604, allocations: 246.9 kB / 0.5362 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.3612, allocations: 447.2 kB / 0.5367 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.3616, allocations: 273.8 kB / 0.5369 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.753e-05/0.3617, allocations: 33.28 kB / 0.537 GB, free: 4.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0139/0.3756, allocations: 7.221 MB / 0.544 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3757, allocations: 103 kB / 0.5441 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003378/0.3761, allocations: 218.1 kB / 0.5443 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008563/0.3847, allocations: 4.407 MB / 0.5486 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3847, allocations: 0 / 0.5486 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3847, allocations: 1.594 kB / 0.5486 GB, free: 4.719 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.3847, allocations: 1.094 kB / 0.5486 GB, free: 4.719 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003244/0.388, allocations: 1.245 MB / 0.5498 GB, free: 3.996 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.388, allocations: 13.48 kB / 0.5499 GB, free: 3.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.3897, allocations: 213.2 kB / 0.5501 GB, free: 3.969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.3902, allocations: 377.9 kB / 0.5504 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3903, allocations: 28.38 kB / 0.5504 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.3903, allocations: 25.91 kB / 0.5505 GB, free: 3.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.3918, allocations: 0.6083 MB / 0.5511 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3918, allocations: 1.094 kB / 0.5511 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.044e-05/0.3919, allocations: 13.94 kB / 0.5511 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3919, allocations: 8.219 kB / 0.5511 GB, free: 3.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.3935, allocations: 0.5421 MB / 0.5516 GB, free: 3.586 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.002401/0.3959, allocations: 2.628 MB / 0.5542 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.3974, allocations: 460.7 kB / 0.5546 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004508/0.3979, allocations: 204.6 kB / 0.5548 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.048/0.4459, allocations: 24.3 MB / 0.5785 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.446, allocations: 38.69 kB / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 3.416e-06/0.446, allocations: 0 / 0.5786 GB, free: 14.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.003038/0.449, allocations: 0.8207 MB / 0.5794 GB, free: 13.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.4491, allocations: 110.8 kB / 0.5795 GB, free: 13.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.4494, allocations: 315 kB / 0.5798 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.4495, allocations: 29.64 kB / 0.5798 GB, free: 13.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.4496, allocations: 197.7 kB / 0.58 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.4497, allocations: 84.94 kB / 0.5801 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.4498, allocations: 71.62 kB / 0.5802 GB, free: 12.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.45, allocations: 350.4 kB / 0.5805 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.4504, allocations: 144.4 kB / 0.5806 GB, free: 12.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.4509, allocations: 246.1 kB / 0.5809 GB, free: 12.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008599/0.4517, allocations: 372.8 kB / 0.5812 GB, free: 12.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4517, allocations: 0 / 0.5812 GB, free: 12.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001052/0.4528, allocations: 458.4 kB / 0.5817 GB, free: 11.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4528, allocations: 4 kB / 0.5817 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.4528, allocations: 9.734 kB / 0.5817 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4529, allocations: 4 kB / 0.5817 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.4532, allocations: 87.72 kB / 0.5818 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.4532, allocations: 7.938 kB / 0.5818 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.4536, allocations: 51.34 kB / 0.5818 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4536, allocations: 19.67 kB / 0.5818 GB, free: 11.5 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: 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.000177/0.4538, allocations: 165.5 kB / 0.582 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.4539, allocations: 38.81 kB / 0.582 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.4563, allocations: 1.898 MB / 0.5839 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4563, allocations: 0 / 0.5839 GB, free: 9.746 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4563, allocations: 7.938 kB / 0.5839 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.4565, allocations: 171.8 kB / 0.5841 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.4566, allocations: 19.75 kB / 0.5841 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.4569, allocations: 43.94 kB / 0.5841 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.457, allocations: 35.42 kB / 0.5841 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001625/0.4587, allocations: 1.091 MB / 0.5852 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001517/0.4602, allocations: 1.168 MB / 0.5864 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006618/0.4609, allocations: 0.5049 MB / 0.5868 GB, free: 6.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003404/0.4612, allocations: 327.1 kB / 0.5872 GB, free: 6.363 MB / 446.1 MB Notification: Performance of Backend: time 7.11e-07/0.4612, allocations: 0 / 0.5872 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007877/0.4691, allocations: 1.673 MB / 0.5888 GB, free: 4.844 MB / 446.1 MB Notification: Performance of SimCode: time 0.001989/0.4711, allocations: 1.614 MB / 0.5904 GB, free: 3.199 MB / 446.1 MB Notification: Performance of Templates: time 0.05922/0.5303, allocations: 44.25 MB / 0.6336 GB, free: 7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Valves/TestValveLinear/TestValveLinear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches