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.005894/0.005894, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.00127/0.00127, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.716/1.716, allocations: 205.1 MB / 222.6 MB, free: 4.934 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4009/0.4009, allocations: 43.5 MB / 313.5 MB, free: 8.367 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.001339/0.001339, allocations: 59.91 kB / 382 MB, free: 8.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1662, allocations: 57.79 MB / 439.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5419/0.7082, allocations: 185.9 MB / 0.6111 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.7192, allocations: 7.214 MB / 0.6181 GB, free: 11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.7205, allocations: 19.88 kB / 0.6181 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.7217, allocations: 294.4 kB / 0.6184 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006711/0.7285, allocations: 2.063 MB / 0.6204 GB, free: 8.633 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002638/0.7311, allocations: 0.8474 MB / 0.6213 GB, free: 7.793 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002848/0.734, allocations: 2.192 MB / 0.6234 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006343/0.7346, allocations: 384.5 kB / 0.6238 GB, free: 5.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.7365, allocations: 0.7745 MB / 0.6245 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008437/0.7374, allocations: 0.5058 MB / 0.625 GB, free: 3.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-05/0.7375, allocations: 28 kB / 0.6251 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.7416, allocations: 1.369 MB / 0.6264 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.7418, allocations: 159.4 kB / 0.6265 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.7423, allocations: 354.4 kB / 0.6269 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.7458, allocations: 1.722 MB / 0.6286 GB, free: 320 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7458, allocations: 0 / 0.6286 GB, free: 320 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.7458, allocations: 0 / 0.6286 GB, free: 320 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.7459, allocations: 0 / 0.6286 GB, free: 320 kB / 494.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.3164/1.062, allocations: 1.136 MB / 0.6297 GB, free: 160.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.062, allocations: 16.72 kB / 0.6297 GB, free: 160.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/1.063, allocations: 152.7 kB / 0.6298 GB, free: 160.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008231/1.064, allocations: 0.4929 MB / 0.6303 GB, free: 160.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/1.064, allocations: 30.91 kB / 0.6303 GB, free: 160.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/1.064, allocations: 44.62 kB / 0.6304 GB, free: 160.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.066, allocations: 0.6411 MB / 0.631 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.066, allocations: 4.281 kB / 0.631 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.112e-05/1.066, allocations: 28.38 kB / 0.631 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/1.066, allocations: 8.812 kB / 0.631 GB, free: 160 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/1.067, allocations: 0.4883 MB / 0.6315 GB, free: 160 MB / 494.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.003081/1.07, allocations: 2.67 MB / 0.6341 GB, free: 158.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/1.07, allocations: 319.9 kB / 0.6344 GB, free: 158.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/1.071, allocations: 154.8 kB / 0.6346 GB, free: 158.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/1.072, allocations: 1.309 MB / 0.6359 GB, free: 157 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/1.072, allocations: 43.59 kB / 0.6359 GB, free: 157 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.614e-06/1.072, allocations: 0 / 0.6359 GB, free: 157 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001723/1.074, allocations: 0.7033 MB / 0.6366 GB, free: 156.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/1.074, allocations: 164.4 kB / 0.6368 GB, free: 156.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006089/1.074, allocations: 0.5157 MB / 0.6373 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/1.074, allocations: 34.92 kB / 0.6373 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/1.075, allocations: 302.6 kB / 0.6376 GB, free: 156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/1.075, allocations: 118.6 kB / 0.6377 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/1.075, allocations: 117.4 kB / 0.6378 GB, free: 155.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/1.075, allocations: 362.8 kB / 0.6381 GB, free: 155.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/1.075, allocations: 152.7 kB / 0.6383 GB, free: 155.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/1.076, allocations: 314.4 kB / 0.6386 GB, free: 155.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/1.076, allocations: 485.6 kB / 0.6391 GB, free: 154.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.076, allocations: 2.719 kB / 0.6391 GB, free: 154.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009388/1.077, allocations: 0.5639 MB / 0.6396 GB, free: 154.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/1.077, allocations: 8.562 kB / 0.6396 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.077, allocations: 5.375 kB / 0.6396 GB, free: 154.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/1.079, allocations: 241.3 kB / 0.6399 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/1.079, allocations: 117.1 kB / 0.64 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004071/1.08, allocations: 0.5917 MB / 0.6405 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/1.08, allocations: 63.78 kB / 0.6406 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/1.08, allocations: 51.19 kB / 0.6407 GB, free: 154.1 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.0003454/1.081, allocations: 198.8 kB / 0.6408 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.081, allocations: 58.22 kB / 0.6409 GB, free: 153.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/1.082, allocations: 0.7391 MB / 0.6416 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/1.082, allocations: 6.516 kB / 0.6416 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.082, allocations: 1.312 kB / 0.6416 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.082, allocations: 2.781 kB / 0.6416 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/1.084, allocations: 1.016 MB / 0.6426 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.084, allocations: 3.031 kB / 0.6426 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/1.084, allocations: 58.25 kB / 0.6427 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003203/1.087, allocations: 439.6 kB / 0.6431 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/1.087, allocations: 9.656 kB / 0.6431 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003669/1.088, allocations: 0.5924 MB / 0.6437 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.088, allocations: 0.7031 kB / 0.6437 GB, free: 152.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/1.088, allocations: 0.5093 MB / 0.6442 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/1.089, allocations: 146.1 kB / 0.6443 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.089, allocations: 13.39 kB / 0.6443 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/1.089, allocations: 23.53 kB / 0.6444 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/1.089, allocations: 30.88 kB / 0.6444 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/1.089, allocations: 27.05 kB / 0.6444 GB, free: 151.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005206/1.09, allocations: 435 kB / 0.6448 GB, free: 151.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.09, allocations: 0 / 0.6448 GB, free: 151.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001148/1.091, allocations: 338.2 kB / 0.6452 GB, free: 151.6 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.001068/1.092, allocations: 462.8 kB / 0.6456 GB, free: 151.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008138/1.093, allocations: 377.8 kB / 0.646 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.093, allocations: 3.219 kB / 0.646 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/1.093, allocations: 150 kB / 0.6461 GB, free: 151.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/1.095, allocations: 385.5 kB / 0.6465 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/1.097, allocations: 1.128 MB / 0.6476 GB, free: 150.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/1.097, allocations: 0.8649 MB / 0.6484 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009165/1.098, allocations: 227.1 kB / 0.6486 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/1.098, allocations: 80.67 kB / 0.6487 GB, free: 149.8 MB / 494.1 MB Notification: Performance of SimCode: time 6.42e-07/1.098, allocations: 0 / 0.6487 GB, free: 149.8 MB / 494.1 MB Notification: Performance of Templates: time 0.03951/1.138, allocations: 17.38 MB / 0.6657 GB, free: 146.8 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches