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.001532/0.001532, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001828/0.001828, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.37/1.37, allocations: 222.9 MB / 242.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2092/0.2092, allocations: 44.18 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.28 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1062, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3753/0.4816, allocations: 179 MB / 0.6332 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006749/0.4883, allocations: 4.639 MB / 0.6377 GB, free: 9.316 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000778/0.4892, allocations: 15.88 kB / 0.6377 GB, free: 9.301 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.4903, allocations: 298.4 kB / 0.638 GB, free: 9.008 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004554/0.4949, allocations: 1.635 MB / 0.6396 GB, free: 7.371 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002297/0.4972, allocations: 0.8693 MB / 0.6405 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.4994, allocations: 1.703 MB / 0.6421 GB, free: 4.801 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000738/0.5001, allocations: 435 kB / 0.6425 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.5018, allocations: 0.8527 MB / 0.6434 GB, free: 3.52 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008275/0.5026, allocations: 0.5136 MB / 0.6439 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.5028, allocations: 56 kB / 0.6439 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.5052, allocations: 1.264 MB / 0.6452 GB, free: 1.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002657/0.5055, allocations: 187.4 kB / 0.6453 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007243/0.5062, allocations: 378.3 kB / 0.6457 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.5087, allocations: 1.173 MB / 0.6468 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5087, allocations: 0 / 0.6468 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5087, allocations: 0 / 0.6468 GB, free: 15.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.27e-05/0.5087, allocations: 0 / 0.6468 GB, free: 15.95 MB / 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.002402/0.5112, allocations: 1.107 MB / 0.6479 GB, free: 14.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5112, allocations: 12.03 kB / 0.6479 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.5125, allocations: 155.1 kB / 0.6481 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.5132, allocations: 496.3 kB / 0.6486 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.5133, allocations: 33 kB / 0.6486 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.5133, allocations: 40 kB / 0.6486 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.5145, allocations: 0.64 MB / 0.6492 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.5146, allocations: 7.938 kB / 0.6493 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/0.5146, allocations: 24 kB / 0.6493 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.5147, allocations: 12 kB / 0.6493 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/0.5156, allocations: 0.4956 MB / 0.6498 GB, free: 12.81 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.003279/0.5189, allocations: 2.641 MB / 0.6524 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006995/0.5196, allocations: 330.2 kB / 0.6527 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.5199, allocations: 156.9 kB / 0.6528 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004498/0.5204, allocations: 441.5 kB / 0.6532 GB, free: 8.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.5204, allocations: 43.94 kB / 0.6533 GB, free: 8.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.274e-06/0.5204, allocations: 0 / 0.6533 GB, free: 8.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001677/0.5221, allocations: 0.7102 MB / 0.654 GB, free: 8.184 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.5222, allocations: 158.2 kB / 0.6541 GB, free: 7.992 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.5228, allocations: 0.5223 MB / 0.6546 GB, free: 7.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.797e-05/0.5229, allocations: 33.7 kB / 0.6547 GB, free: 7.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.5231, allocations: 307.5 kB / 0.655 GB, free: 7.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.5232, allocations: 122.2 kB / 0.6551 GB, free: 6.992 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.5234, allocations: 122.1 kB / 0.6552 GB, free: 6.867 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5236, allocations: 366.8 kB / 0.6555 GB, free: 6.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.5239, allocations: 145 kB / 0.6557 GB, free: 6.355 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.5243, allocations: 319 kB / 0.656 GB, free: 5.969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006884/0.525, allocations: 473.9 kB / 0.6564 GB, free: 5.441 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.525, allocations: 3.938 kB / 0.6564 GB, free: 5.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001048/0.5261, allocations: 0.5674 MB / 0.657 GB, free: 4.859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.5261, allocations: 11.94 kB / 0.657 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5261, allocations: 4 kB / 0.657 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.5277, allocations: 241.1 kB / 0.6572 GB, free: 4.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.5281, allocations: 123.9 kB / 0.6574 GB, free: 4.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004743/0.5286, allocations: 0.5874 MB / 0.6579 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.5291, allocations: 63.42 kB / 0.658 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5292, allocations: 51.44 kB / 0.658 GB, free: 3.762 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.0003002/0.5295, allocations: 197.7 kB / 0.6582 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.5296, allocations: 67.31 kB / 0.6583 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.5317, allocations: 1.093 MB / 0.6594 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.5317, allocations: 4 kB / 0.6594 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.5317, allocations: 0 / 0.6594 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5317, allocations: 0 / 0.6594 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.5333, allocations: 1.015 MB / 0.6604 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.5333, allocations: 3.984 kB / 0.6604 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.5335, allocations: 60.72 kB / 0.6604 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003319/0.5368, allocations: 440.3 kB / 0.6608 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.088e-05/0.5369, allocations: 12 kB / 0.6608 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004551/0.5374, allocations: 0.6042 MB / 0.6614 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.5374, allocations: 7.969 kB / 0.6614 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.5382, allocations: 0.4928 MB / 0.6619 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.5384, allocations: 132.4 kB / 0.6621 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.5386, allocations: 23.83 kB / 0.6621 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.5391, allocations: 23.98 kB / 0.6621 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.5391, allocations: 31.84 kB / 0.6621 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.5392, allocations: 24.05 kB / 0.6622 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006324/0.5398, allocations: 438.8 kB / 0.6626 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5398, allocations: 0 / 0.6626 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001005/0.5409, allocations: 295.8 kB / 0.6629 GB, free: 14.64 MB / 0.4981 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.001061/0.5419, allocations: 391.3 kB / 0.6632 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009385/0.5429, allocations: 392.9 kB / 0.6636 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5429, allocations: 0 / 0.6636 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.5432, allocations: 147.8 kB / 0.6637 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.5452, allocations: 404.8 kB / 0.6641 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.5471, allocations: 1.168 MB / 0.6653 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.5476, allocations: 0.8637 MB / 0.6661 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000476/0.5481, allocations: 135.3 kB / 0.6662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of SimCode: time 5.92e-07/0.5481, allocations: 4 kB / 0.6662 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.0239/0.572, allocations: 15.48 MB / 0.6814 GB, free: 11.68 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