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.001398/0.001398, allocations: 118.5 kB / 17.08 MB, free: 5.992 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.001128/0.001129, allocations: 196.2 kB / 18.01 MB, free: 5.07 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.508/1.508, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2218/0.2218, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 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.001529/0.001529, allocations: 68.27 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1186, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4852/0.6039, allocations: 187.7 MB / 0.6718 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009506/0.6135, allocations: 7.028 MB / 0.6787 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007636/0.6143, allocations: 15.88 kB / 0.6787 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.6153, allocations: 337.7 kB / 0.679 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006865/0.6222, allocations: 2.375 MB / 0.6814 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.6248, allocations: 0.955 MB / 0.6823 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.6273, allocations: 1.695 MB / 0.684 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.6279, allocations: 446 kB / 0.6844 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.6295, allocations: 0.8448 MB / 0.6852 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.6302, allocations: 0.4903 MB / 0.6857 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.6303, allocations: 56 kB / 0.6857 GB, free: 480 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.6338, allocations: 1.501 MB / 0.6872 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.634, allocations: 175.4 kB / 0.6874 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.6345, allocations: 378.3 kB / 0.6877 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003281/0.6378, allocations: 1.738 MB / 0.6894 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.6378, allocations: 4 kB / 0.6894 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6378, allocations: 0 / 0.6894 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6379, allocations: 0 / 0.6894 GB, free: 12.68 MB / 0.5294 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.002136/0.64, allocations: 1.141 MB / 0.6905 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.64, allocations: 11.89 kB / 0.6906 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.6413, allocations: 163 kB / 0.6907 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.6422, allocations: 0.5081 MB / 0.6912 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.6422, allocations: 33 kB / 0.6912 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/0.6423, allocations: 44 kB / 0.6913 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.6436, allocations: 0.6361 MB / 0.6919 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.6436, allocations: 0 / 0.6919 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.6437, allocations: 27.94 kB / 0.6919 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6437, allocations: 12 kB / 0.6919 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.6447, allocations: 495.5 kB / 0.6924 GB, free: 9.48 MB / 0.5294 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.003311/0.648, allocations: 2.668 MB / 0.695 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.6486, allocations: 322.7 kB / 0.6953 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.6489, allocations: 160.7 kB / 0.6955 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001268/0.6502, allocations: 1.3 MB / 0.6968 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.6502, allocations: 42.55 kB / 0.6968 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.813e-06/0.6502, allocations: 0 / 0.6968 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001613/0.6519, allocations: 0.6977 MB / 0.6975 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.652, allocations: 166.1 kB / 0.6976 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005808/0.6525, allocations: 0.5184 MB / 0.6981 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.6526, allocations: 33.7 kB / 0.6982 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.6528, allocations: 299.6 kB / 0.6985 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6529, allocations: 118.3 kB / 0.6986 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.6531, allocations: 118.1 kB / 0.6987 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6533, allocations: 370.7 kB / 0.699 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.6535, allocations: 145 kB / 0.6992 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.6539, allocations: 322.1 kB / 0.6995 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006805/0.6546, allocations: 470.8 kB / 0.6999 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/0.6547, allocations: 4 kB / 0.6999 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009894/0.6557, allocations: 0.5675 MB / 0.7005 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.6557, allocations: 10.59 kB / 0.7005 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6557, allocations: 11.94 kB / 0.7005 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.6572, allocations: 236.9 kB / 0.7007 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003759/0.6576, allocations: 119.8 kB / 0.7008 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004538/0.6581, allocations: 0.5875 MB / 0.7014 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.6585, allocations: 59.36 kB / 0.7015 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.6585, allocations: 48 kB / 0.7015 GB, free: 15.45 MB / 0.545 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.0002591/0.6588, allocations: 201.5 kB / 0.7017 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.659, allocations: 59.34 kB / 0.7018 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.6604, allocations: 0.7446 MB / 0.7025 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6604, allocations: 4 kB / 0.7025 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.6604, allocations: 0 / 0.7025 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.6605, allocations: 0 / 0.7025 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.6619, allocations: 1.023 MB / 0.7035 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6619, allocations: 0 / 0.7035 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.6621, allocations: 51.91 kB / 0.7036 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003222/0.6653, allocations: 448.3 kB / 0.704 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.6654, allocations: 8 kB / 0.704 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000434/0.6658, allocations: 0.5953 MB / 0.7046 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6659, allocations: 4.062 kB / 0.7046 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007423/0.6666, allocations: 0.4972 MB / 0.7051 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.6668, allocations: 140.3 kB / 0.7052 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6669, allocations: 12 kB / 0.7052 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000369/0.6673, allocations: 15.98 kB / 0.7052 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.6673, allocations: 31.91 kB / 0.7053 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.6674, allocations: 19.98 kB / 0.7053 GB, free: 11.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005401/0.6679, allocations: 434.8 kB / 0.7057 GB, free: 10.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6679, allocations: 0 / 0.7057 GB, free: 10.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009798/0.6689, allocations: 335.7 kB / 0.706 GB, free: 10.66 MB / 0.545 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.001208/0.6701, allocations: 463.5 kB / 0.7064 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008566/0.671, allocations: 384.7 kB / 0.7068 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.671, allocations: 4 kB / 0.7068 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.6714, allocations: 151.8 kB / 0.707 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.6733, allocations: 402.4 kB / 0.7073 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.6749, allocations: 0.9705 MB / 0.7083 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.6753, allocations: 0.8637 MB / 0.7091 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.6756, allocations: 107.4 kB / 0.7092 GB, free: 7.266 MB / 0.545 GB Notification: Performance of SimCode: time 1.703e-06/0.6756, allocations: 0 / 0.7092 GB, free: 7.266 MB / 0.545 GB Notification: Performance of Templates: time 0.0237/0.6993, allocations: 16.02 MB / 0.7249 GB, free: 7.242 MB / 0.5606 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/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