Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008693, allocations: 99.38 kB / 18.01 MB, free: 5.602 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.00101/0.00101, allocations: 184.4 kB / 18.91 MB, free: 4.734 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.355/1.355, allocations: 223.3 MB / 243 MB, free: 164 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1944/0.1944, allocations: 44.25 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005389/0.0005388, allocations: 15.94 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 61.92 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4396/0.5611, allocations: 176.6 MB / 0.6343 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007115/0.5682, allocations: 4.635 MB / 0.6389 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000843/0.5691, allocations: 19.81 kB / 0.6389 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.5703, allocations: 294.4 kB / 0.6392 GB, free: 12.98 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.5751, allocations: 1.574 MB / 0.6407 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.5774, allocations: 0.8577 MB / 0.6415 GB, free: 10.55 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.58, allocations: 2.182 MB / 0.6437 GB, free: 8.367 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000737/0.5808, allocations: 390.2 kB / 0.644 GB, free: 7.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.5825, allocations: 0.7629 MB / 0.6448 GB, free: 7.223 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009382/0.5835, allocations: 0.5019 MB / 0.6453 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.5837, allocations: 28 kB / 0.6453 GB, free: 6.691 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.5862, allocations: 1.197 MB / 0.6465 GB, free: 5.492 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.5865, allocations: 151.4 kB / 0.6466 GB, free: 5.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.587, allocations: 380 kB / 0.647 GB, free: 4.965 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.5887, allocations: 1.146 MB / 0.6481 GB, free: 3.816 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.5887, allocations: 4 kB / 0.6481 GB, free: 3.812 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5887, allocations: 0 / 0.6481 GB, free: 3.812 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.5888, allocations: 0 / 0.6481 GB, free: 3.812 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002126/0.5909, allocations: 0.9495 MB / 0.649 GB, free: 2.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.5909, allocations: 12.03 kB / 0.649 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.5922, allocations: 151.2 kB / 0.6492 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007655/0.593, allocations: 492.4 kB / 0.6497 GB, free: 2.133 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.593, allocations: 36.94 kB / 0.6497 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.5931, allocations: 43.94 kB / 0.6497 GB, free: 2.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.5943, allocations: 0.6478 MB / 0.6504 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5943, allocations: 7.938 kB / 0.6504 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.5944, allocations: 19.94 kB / 0.6504 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.5944, allocations: 12 kB / 0.6504 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/0.5954, allocations: 0.4957 MB / 0.6509 GB, free: 0.8242 MB / 478.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.003143/0.5985, allocations: 2.641 MB / 0.6535 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.5992, allocations: 332.7 kB / 0.6538 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.5995, allocations: 156.9 kB / 0.6539 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004417/0.6, allocations: 445.5 kB / 0.6544 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.6, allocations: 38.56 kB / 0.6544 GB, free: 12.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.074e-06/0.6, allocations: 4 kB / 0.6544 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001664/0.6017, allocations: 0.7132 MB / 0.6551 GB, free: 12.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.6018, allocations: 162.2 kB / 0.6553 GB, free: 11.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.6024, allocations: 0.5223 MB / 0.6558 GB, free: 11.46 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.6025, allocations: 33.7 kB / 0.6558 GB, free: 11.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.6027, allocations: 299.6 kB / 0.6561 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.6029, allocations: 122.2 kB / 0.6562 GB, free: 11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.6029, allocations: 45.69 kB / 0.6562 GB, free: 10.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6031, allocations: 362.8 kB / 0.6566 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.6034, allocations: 149 kB / 0.6567 GB, free: 10.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.6038, allocations: 322.9 kB / 0.657 GB, free: 10.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.6045, allocations: 478.8 kB / 0.6575 GB, free: 9.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6045, allocations: 0 / 0.6575 GB, free: 9.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001021/0.6055, allocations: 0.5752 MB / 0.6581 GB, free: 8.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6056, allocations: 11.94 kB / 0.6581 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6056, allocations: 4 kB / 0.6581 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/0.6072, allocations: 297 kB / 0.6584 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.6076, allocations: 119.8 kB / 0.6585 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000428/0.608, allocations: 0.5874 MB / 0.659 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.6085, allocations: 71.42 kB / 0.6591 GB, free: 7.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/0.6086, allocations: 52 kB / 0.6592 GB, free: 7.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002641/0.6088, allocations: 189.6 kB / 0.6593 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.609, allocations: 63.33 kB / 0.6594 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/0.611, allocations: 1.108 MB / 0.6605 GB, free: 6.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.611, allocations: 4 kB / 0.6605 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.611, allocations: 0 / 0.6605 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6111, allocations: 0 / 0.6605 GB, free: 6.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.6125, allocations: 1.019 MB / 0.6615 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.6125, allocations: 4 kB / 0.6615 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.6127, allocations: 52.11 kB / 0.6615 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/0.616, allocations: 0.5392 MB / 0.6621 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.6161, allocations: 12 kB / 0.6621 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004243/0.6165, allocations: 0.5914 MB / 0.6627 GB, free: 4.051 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.6165, allocations: 12.09 kB / 0.6627 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007413/0.6173, allocations: 0.5087 MB / 0.6632 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.6175, allocations: 168.2 kB / 0.6633 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6176, allocations: 8 kB / 0.6633 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.618, allocations: 27.97 kB / 0.6634 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.6181, allocations: 35.84 kB / 0.6634 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.6182, allocations: 16 kB / 0.6634 GB, free: 3.223 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005709/0.6187, allocations: 438.8 kB / 0.6638 GB, free: 2.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6187, allocations: 0 / 0.6638 GB, free: 2.797 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000974/0.6197, allocations: 299.7 kB / 0.6641 GB, free: 2.504 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.6209, allocations: 390.8 kB / 0.6645 GB, free: 2.117 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008768/0.6217, allocations: 385 kB / 0.6649 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6218, allocations: 0 / 0.6649 GB, free: 1.742 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.6221, allocations: 151.8 kB / 0.665 GB, free: 1.594 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.6243, allocations: 386.5 kB / 0.6654 GB, free: 1.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.6261, allocations: 1.196 MB / 0.6665 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.6266, allocations: 0.8676 MB / 0.6674 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.627, allocations: 135.3 kB / 0.6675 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.627, allocations: 4 kB / 0.6675 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.0238/0.6508, allocations: 15.41 MB / 0.6826 GB, free: 15.59 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches