Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001477/0.001477, allocations: 118.6 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.4 MB / 246.5 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2329/0.2329, allocations: 46.11 MB / 343.8 MB, free: 11.5 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002333/0.002333, allocations: 84.34 kB / 417.1 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1332, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4665/0.5998, allocations: 181.9 MB / 0.646 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007479/0.6073, allocations: 4.663 MB / 0.6506 GB, free: 8.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009167/0.6084, allocations: 19.88 kB / 0.6506 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.6096, allocations: 294.4 kB / 0.6509 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005493/0.6151, allocations: 1.641 MB / 0.6525 GB, free: 6.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.6176, allocations: 0.8766 MB / 0.6533 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.62, allocations: 1.714 MB / 0.655 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000623/0.6206, allocations: 430.2 kB / 0.6554 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.6222, allocations: 0.8565 MB / 0.6562 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006809/0.6229, allocations: 0.5214 MB / 0.6567 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.623, allocations: 56 kB / 0.6568 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.6257, allocations: 1.271 MB / 0.658 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.6259, allocations: 179.4 kB / 0.6582 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004495/0.6264, allocations: 382.3 kB / 0.6586 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.6289, allocations: 1.64 MB / 0.6602 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6289, allocations: 0 / 0.6602 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6289, allocations: 0 / 0.6602 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.629, allocations: 0 / 0.6602 GB, free: 14.98 MB / 0.4981 GB 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.002161/0.6311, allocations: 1.11 MB / 0.6613 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6312, allocations: 8.031 kB / 0.6613 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.6325, allocations: 167 kB / 0.6614 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.6334, allocations: 496.4 kB / 0.6619 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.6335, allocations: 29 kB / 0.6619 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.6335, allocations: 44 kB / 0.662 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.6348, allocations: 0.6517 MB / 0.6626 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.6348, allocations: 3.938 kB / 0.6626 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.6349, allocations: 24 kB / 0.6626 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.6349, allocations: 15.94 kB / 0.6626 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009112/0.6358, allocations: 499.6 kB / 0.6631 GB, free: 11.82 MB / 0.4981 GB 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.003444/0.6393, allocations: 2.652 MB / 0.6657 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007297/0.64, allocations: 326.7 kB / 0.666 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.6403, allocations: 160.8 kB / 0.6662 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/0.6408, allocations: 433.5 kB / 0.6666 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.6409, allocations: 42.5 kB / 0.6666 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.6409, allocations: 0 / 0.6666 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001788/0.6427, allocations: 0.7054 MB / 0.6673 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.6428, allocations: 162.1 kB / 0.6675 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.6435, allocations: 0.5223 MB / 0.668 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.6436, allocations: 33.7 kB / 0.668 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.6438, allocations: 299.6 kB / 0.6683 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.644, allocations: 130.1 kB / 0.6684 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.6442, allocations: 118.2 kB / 0.6685 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.6444, allocations: 362.8 kB / 0.6689 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.6448, allocations: 149 kB / 0.669 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.6453, allocations: 322.9 kB / 0.6693 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007848/0.6461, allocations: 470.7 kB / 0.6698 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6461, allocations: 0 / 0.6698 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001081/0.6472, allocations: 0.5751 MB / 0.6703 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.6472, allocations: 15.92 kB / 0.6704 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6472, allocations: 4 kB / 0.6704 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/0.6488, allocations: 241.2 kB / 0.6706 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.6492, allocations: 123.8 kB / 0.6707 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006614/0.6499, allocations: 0.5836 MB / 0.6713 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.6504, allocations: 59.42 kB / 0.6713 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.6506, allocations: 58.69 kB / 0.6714 GB, free: 2.758 MB / 0.4981 GB 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.0003732/0.6509, allocations: 197.6 kB / 0.6716 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6511, allocations: 63.25 kB / 0.6716 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.6535, allocations: 1.1 MB / 0.6727 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.6535, allocations: 4 kB / 0.6727 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6535, allocations: 0 / 0.6727 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.6535, allocations: 0 / 0.6727 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.6552, allocations: 1.01 MB / 0.6737 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.6552, allocations: 4 kB / 0.6737 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.6554, allocations: 56.78 kB / 0.6738 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003277/0.6587, allocations: 436.3 kB / 0.6742 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.6587, allocations: 12 kB / 0.6742 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004946/0.6592, allocations: 0.603 MB / 0.6748 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6592, allocations: 4 kB / 0.6748 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.6601, allocations: 0.5006 MB / 0.6753 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.6602, allocations: 140.4 kB / 0.6754 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6603, allocations: 11.94 kB / 0.6754 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.6607, allocations: 31.89 kB / 0.6754 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/0.6608, allocations: 27.91 kB / 0.6755 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.6609, allocations: 19.98 kB / 0.6755 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000595/0.6615, allocations: 447 kB / 0.6759 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6615, allocations: 0 / 0.6759 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009295/0.6624, allocations: 299.8 kB / 0.6762 GB, free: 13.62 MB / 0.5137 GB 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.0009501/0.6634, allocations: 396.2 kB / 0.6766 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008797/0.6642, allocations: 389.7 kB / 0.677 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6643, allocations: 0 / 0.677 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.6646, allocations: 157.2 kB / 0.6771 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.6666, allocations: 410.2 kB / 0.6775 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.6683, allocations: 1.118 MB / 0.6786 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.6688, allocations: 0.8754 MB / 0.6794 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001384/0.6702, allocations: 0.5637 MB / 0.68 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.6705, allocations: 95.39 kB / 0.6801 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.6705, allocations: 4 kB / 0.6801 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of Templates: time 0.02954/0.7001, allocations: 17.08 MB / 0.6968 GB, free: 8.641 MB / 0.5294 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches