Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001521/0.001521, allocations: 101.3 kB / 16.27 MB, free: 6.344 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.001484/0.001484, allocations: 193.9 kB / 17.2 MB, free: 5.945 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.591/1.591, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2499/0.2499, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.002021/0.002021, allocations: 76.69 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1431, allocations: 57.78 MB / 440.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5301/0.6733, allocations: 187.7 MB / 0.6135 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01109/0.6844, allocations: 7.022 MB / 0.6204 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.6859, allocations: 14.06 kB / 0.6204 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.6875, allocations: 340 kB / 0.6207 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008794/0.6964, allocations: 2.386 MB / 0.623 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.6995, allocations: 0.9367 MB / 0.6239 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003415/0.703, allocations: 1.693 MB / 0.6256 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008812/0.7039, allocations: 453 kB / 0.626 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.7059, allocations: 0.8396 MB / 0.6268 GB, free: 10 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006894/0.7066, allocations: 0.4903 MB / 0.6273 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.887e-05/0.7067, allocations: 52 kB / 0.6274 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.7107, allocations: 1.416 MB / 0.6288 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.7109, allocations: 167.4 kB / 0.6289 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000547/0.7115, allocations: 374.4 kB / 0.6293 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.7152, allocations: 1.738 MB / 0.631 GB, free: 5.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.7152, allocations: 0 / 0.631 GB, free: 5.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7153, allocations: 0 / 0.631 GB, free: 5.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.7153, allocations: 0 / 0.631 GB, free: 5.766 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002284/0.7176, allocations: 1.141 MB / 0.6321 GB, free: 4.574 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.7176, allocations: 15.89 kB / 0.6321 GB, free: 4.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.7188, allocations: 159.8 kB / 0.6323 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.7196, allocations: 0.4925 MB / 0.6327 GB, free: 3.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.7197, allocations: 29 kB / 0.6328 GB, free: 3.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.586e-05/0.7198, allocations: 48 kB / 0.6328 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.721, allocations: 0.6361 MB / 0.6334 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.721, allocations: 3.938 kB / 0.6334 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/0.7211, allocations: 31.94 kB / 0.6335 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.7211, allocations: 12 kB / 0.6335 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008742/0.722, allocations: 495.6 kB / 0.6339 GB, free: 2.578 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.003536/0.7255, allocations: 2.681 MB / 0.6366 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.7262, allocations: 329.5 kB / 0.6369 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.7265, allocations: 152.8 kB / 0.637 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.728, allocations: 1.304 MB / 0.6383 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.728, allocations: 42.56 kB / 0.6383 GB, free: 13.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.685e-06/0.728, allocations: 0 / 0.6383 GB, free: 13.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.001664/0.7297, allocations: 0.6976 MB / 0.639 GB, free: 12.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.7298, allocations: 162.2 kB / 0.6392 GB, free: 12.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.7305, allocations: 0.5223 MB / 0.6397 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.7305, allocations: 33.7 kB / 0.6397 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.7308, allocations: 295.7 kB / 0.64 GB, free: 11.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.7309, allocations: 134.1 kB / 0.6401 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.7311, allocations: 110.2 kB / 0.6402 GB, free: 11.62 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7313, allocations: 362.8 kB / 0.6406 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.7315, allocations: 145 kB / 0.6407 GB, free: 11.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.7319, allocations: 322.9 kB / 0.641 GB, free: 10.72 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.7326, allocations: 470.6 kB / 0.6415 GB, free: 10.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.7326, allocations: 9.562 kB / 0.6415 GB, free: 10.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009757/0.7336, allocations: 0.5679 MB / 0.642 GB, free: 9.613 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.7337, allocations: 12 kB / 0.642 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7337, allocations: 4 kB / 0.6421 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.7352, allocations: 244.5 kB / 0.6423 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/0.7356, allocations: 115.8 kB / 0.6424 GB, free: 9.242 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004882/0.7361, allocations: 0.5798 MB / 0.643 GB, free: 8.637 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.7365, allocations: 59.36 kB / 0.643 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-05/0.7366, allocations: 56.05 kB / 0.6431 GB, free: 8.523 MB / 462.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.0002991/0.7369, allocations: 198.6 kB / 0.6433 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.737, allocations: 63.25 kB / 0.6433 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.7387, allocations: 0.744 MB / 0.644 GB, free: 7.488 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.7387, allocations: 4 kB / 0.6441 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.7387, allocations: 0 / 0.6441 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.7387, allocations: 3.984 kB / 0.6441 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.7402, allocations: 1.016 MB / 0.645 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.7402, allocations: 3.984 kB / 0.6451 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.7404, allocations: 47.98 kB / 0.6451 GB, free: 6.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00307/0.7435, allocations: 448.3 kB / 0.6455 GB, free: 5.895 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.7435, allocations: 12 kB / 0.6455 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004774/0.744, allocations: 0.5914 MB / 0.6461 GB, free: 5.266 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.744, allocations: 4.031 kB / 0.6461 GB, free: 5.262 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.7448, allocations: 0.497 MB / 0.6466 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.745, allocations: 140.2 kB / 0.6467 GB, free: 4.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.7451, allocations: 12 kB / 0.6467 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.7455, allocations: 15.98 kB / 0.6468 GB, free: 4.543 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.7456, allocations: 35.84 kB / 0.6468 GB, free: 4.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.7456, allocations: 19.98 kB / 0.6468 GB, free: 4.488 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005324/0.7461, allocations: 434.8 kB / 0.6472 GB, free: 4.066 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.345e-06/0.7462, allocations: 0 / 0.6472 GB, free: 4.066 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001235/0.7474, allocations: 343.6 kB / 0.6476 GB, free: 3.73 MB / 462.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.001244/0.7486, allocations: 463.5 kB / 0.648 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009142/0.7496, allocations: 388.2 kB / 0.6484 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7496, allocations: 0 / 0.6484 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.7499, allocations: 153.9 kB / 0.6485 GB, free: 2.746 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.7519, allocations: 414.5 kB / 0.6489 GB, free: 2.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.7536, allocations: 0.9415 MB / 0.6498 GB, free: 1.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.7542, allocations: 0.8676 MB / 0.6507 GB, free: 476 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001004/0.7552, allocations: 233 kB / 0.6509 GB, free: 240 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.7554, allocations: 79.42 kB / 0.651 GB, free: 160 kB / 462.1 MB Notification: Performance of SimCode: time 1.853e-06/0.7554, allocations: 0 / 0.651 GB, free: 160 kB / 462.1 MB Notification: Performance of Templates: time 0.0341/0.7895, allocations: 17.99 MB / 0.6685 GB, free: 14.21 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches