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.0008109/0.0008111, allocations: 94.41 kB / 17.35 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.0008258/0.0008259, allocations: 170.2 kB / 18.25 MB, free: 5.508 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.417/1.417, allocations: 223.3 MB / 242.3 MB, free: 220 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.2159/0.2159, allocations: 44.25 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003331, allocations: 8 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 61.93 MB / 472.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5544/0.6916, allocations: 176.6 MB / 0.6337 GB, free: 2.043 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007951/0.6996, allocations: 4.635 MB / 0.6382 GB, free: 13.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.7004, allocations: 19.88 kB / 0.6382 GB, free: 13.38 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.7015, allocations: 302.4 kB / 0.6385 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004948/0.7064, allocations: 1.575 MB / 0.6401 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.7089, allocations: 0.8546 MB / 0.6409 GB, free: 10.66 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.7118, allocations: 2.179 MB / 0.643 GB, free: 8.469 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006132/0.7124, allocations: 378.5 kB / 0.6434 GB, free: 8.098 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.714, allocations: 0.7745 MB / 0.6442 GB, free: 7.32 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007054/0.7147, allocations: 0.5058 MB / 0.6446 GB, free: 6.812 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.7148, allocations: 32 kB / 0.6447 GB, free: 6.781 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.7177, allocations: 1.197 MB / 0.6458 GB, free: 5.582 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.718, allocations: 147.5 kB / 0.646 GB, free: 5.438 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.7184, allocations: 376 kB / 0.6463 GB, free: 5.062 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.7213, allocations: 1.582 MB / 0.6479 GB, free: 3.477 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.7214, allocations: 3.984 kB / 0.6479 GB, free: 3.473 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.7214, allocations: 0 / 0.6479 GB, free: 3.473 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.7214, allocations: 0 / 0.6479 GB, free: 3.473 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.002434/0.7238, allocations: 0.951 MB / 0.6488 GB, free: 2.469 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.7239, allocations: 8.031 kB / 0.6488 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.7251, allocations: 151.2 kB / 0.649 GB, free: 2.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007846/0.7259, allocations: 492.4 kB / 0.6494 GB, free: 1.793 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.947e-05/0.7259, allocations: 37 kB / 0.6495 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.726, allocations: 40 kB / 0.6495 GB, free: 1.715 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.7273, allocations: 0.6517 MB / 0.6502 GB, free: 1.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.7273, allocations: 3.938 kB / 0.6502 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.817e-05/0.7274, allocations: 20 kB / 0.6502 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.7274, allocations: 8 kB / 0.6502 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000893/0.7283, allocations: 0.4996 MB / 0.6507 GB, free: 500 kB / 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.00336/0.7317, allocations: 2.652 MB / 0.6533 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007594/0.7325, allocations: 318.8 kB / 0.6536 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.7328, allocations: 160.8 kB / 0.6537 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/0.7334, allocations: 453.4 kB / 0.6542 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.7334, allocations: 38.56 kB / 0.6542 GB, free: 12.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 3.987e-06/0.7334, allocations: 0 / 0.6542 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001695/0.7351, allocations: 0.7093 MB / 0.6549 GB, free: 11.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.7352, allocations: 162.2 kB / 0.655 GB, free: 11.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006672/0.7359, allocations: 0.5184 MB / 0.6555 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.736, allocations: 33.7 kB / 0.6556 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.7363, allocations: 307.5 kB / 0.6559 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.7364, allocations: 122.2 kB / 0.656 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.7365, allocations: 45.7 kB / 0.656 GB, free: 10.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.7367, allocations: 358.8 kB / 0.6564 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.737, allocations: 149 kB / 0.6565 GB, free: 10.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.7374, allocations: 326.9 kB / 0.6568 GB, free: 9.703 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.7381, allocations: 478.7 kB / 0.6573 GB, free: 9.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.7382, allocations: 0 / 0.6573 GB, free: 9.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009913/0.7392, allocations: 0.5752 MB / 0.6578 GB, free: 8.586 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.7392, allocations: 12.56 kB / 0.6579 GB, free: 8.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7392, allocations: 4 kB / 0.6579 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001606/0.7408, allocations: 296.5 kB / 0.6581 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.7412, allocations: 116.7 kB / 0.6583 GB, free: 8.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005457/0.7418, allocations: 0.5913 MB / 0.6588 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/0.7423, allocations: 67.36 kB / 0.6589 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.7424, allocations: 55.98 kB / 0.6589 GB, free: 7.426 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.0003294/0.7427, allocations: 193.7 kB / 0.6591 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.7428, allocations: 59.34 kB / 0.6592 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.745, allocations: 1.107 MB / 0.6603 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.745, allocations: 4 kB / 0.6603 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.745, allocations: 0 / 0.6603 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.745, allocations: 3.984 kB / 0.6603 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.7465, allocations: 1.008 MB / 0.6613 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.7465, allocations: 4 kB / 0.6613 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.7467, allocations: 55.91 kB / 0.6613 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003238/0.75, allocations: 0.5316 MB / 0.6618 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.75, allocations: 15.98 kB / 0.6619 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004295/0.7505, allocations: 0.5991 MB / 0.6624 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.7505, allocations: 4.031 kB / 0.6624 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/0.7513, allocations: 0.5125 MB / 0.6629 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002452/0.7515, allocations: 168.2 kB / 0.6631 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-05/0.7516, allocations: 8 kB / 0.6631 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.752, allocations: 31.92 kB / 0.6631 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.341e-05/0.7521, allocations: 27.91 kB / 0.6632 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.7521, allocations: 19.98 kB / 0.6632 GB, free: 2.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006032/0.7527, allocations: 438.8 kB / 0.6636 GB, free: 2.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7528, allocations: 3.938 kB / 0.6636 GB, free: 2.457 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001074/0.7538, allocations: 295.7 kB / 0.6639 GB, free: 2.168 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.0009422/0.7548, allocations: 392 kB / 0.6643 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008381/0.7556, allocations: 391.8 kB / 0.6646 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7556, allocations: 0 / 0.6646 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.756, allocations: 153.4 kB / 0.6648 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.7581, allocations: 399.1 kB / 0.6652 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.7597, allocations: 1.159 MB / 0.6663 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.7602, allocations: 0.8715 MB / 0.6671 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001341/0.7616, allocations: 0.5714 MB / 0.6677 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.7619, allocations: 87.41 kB / 0.6678 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.7619, allocations: 0 / 0.6678 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.02787/0.7898, allocations: 16.37 MB / 0.6838 GB, free: 13.88 MB / 0.5138 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/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