Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 121.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 212.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.09 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 71.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3936, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2046/0.5982, allocations: 184.1 MB / 0.7114 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007338/0.6056, allocations: 4.612 MB / 0.7159 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008958/0.6066, allocations: 15.88 kB / 0.7159 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.6079, allocations: 333.8 kB / 0.7163 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.6132, allocations: 1.797 MB / 0.718 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.6159, allocations: 0.9455 MB / 0.7189 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3366/0.9525, allocations: 1.704 MB / 0.7206 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.9538, allocations: 434.2 kB / 0.721 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.9564, allocations: 0.8513 MB / 0.7218 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.9578, allocations: 0.4942 MB / 0.7223 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004479/0.9583, allocations: 55.09 kB / 0.7224 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005266/0.9636, allocations: 1.305 MB / 0.7237 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000594/0.9642, allocations: 172.1 kB / 0.7238 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.9654, allocations: 379.4 kB / 0.7242 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004755/0.9702, allocations: 1.637 MB / 0.7258 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9702, allocations: 0.6875 kB / 0.7258 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9702, allocations: 0 / 0.7258 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.078e-05/0.9703, allocations: 2.031 kB / 0.7258 GB, free: 4.027 MB / 0.5606 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.003645/0.9739, allocations: 1.107 MB / 0.7269 GB, free: 19.43 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.974, allocations: 8.906 kB / 0.7269 GB, free: 19.43 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.9756, allocations: 159.5 kB / 0.727 GB, free: 19.4 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.9769, allocations: 0.5061 MB / 0.7275 GB, free: 19.14 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.9769, allocations: 34.16 kB / 0.7276 GB, free: 19.14 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.9771, allocations: 41.75 kB / 0.7276 GB, free: 19.14 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.9785, allocations: 0.6462 MB / 0.7282 GB, free: 19 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.9786, allocations: 3.094 kB / 0.7282 GB, free: 19 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/0.9787, allocations: 23.25 kB / 0.7282 GB, free: 19 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.9787, allocations: 11.44 kB / 0.7283 GB, free: 19 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.9798, allocations: 0.4962 MB / 0.7287 GB, free: 19 MB / 0.5763 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.003496/0.9833, allocations: 2.648 MB / 0.7313 GB, free: 17.31 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.9839, allocations: 322.9 kB / 0.7316 GB, free: 17.29 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.9842, allocations: 159.2 kB / 0.7318 GB, free: 17.28 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.9847, allocations: 439 kB / 0.7322 GB, free: 16.81 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.9848, allocations: 37.25 kB / 0.7322 GB, free: 16.77 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=35): time 2.063e-06/0.9848, allocations: 0 / 0.7322 GB, free: 16.77 MB / 0.5763 GB Notification: Performance of matching and sorting (n=35): time 0.001549/0.9863, allocations: 0.7102 MB / 0.7329 GB, free: 16.6 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.9864, allocations: 158.4 kB / 0.7331 GB, free: 16.41 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005222/0.987, allocations: 0.5274 MB / 0.7336 GB, free: 16.29 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 5.226e-05/0.987, allocations: 34.59 kB / 0.7336 GB, free: 16.26 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.9872, allocations: 304.5 kB / 0.7339 GB, free: 16.11 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.9873, allocations: 125 kB / 0.734 GB, free: 16.03 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.9875, allocations: 118.1 kB / 0.7342 GB, free: 16.01 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9876, allocations: 366.9 kB / 0.7345 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.9879, allocations: 147.1 kB / 0.7346 GB, free: 15.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/0.9882, allocations: 317.8 kB / 0.735 GB, free: 15.5 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/0.9888, allocations: 477 kB / 0.7354 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.9889, allocations: 3.062 kB / 0.7354 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008981/0.9898, allocations: 0.5705 MB / 0.736 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.9898, allocations: 10.09 kB / 0.736 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.9898, allocations: 6.812 kB / 0.736 GB, free: 15.25 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001506/0.9913, allocations: 238.6 kB / 0.7362 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.9917, allocations: 122.9 kB / 0.7363 GB, free: 15.24 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004312/0.9921, allocations: 0.5917 MB / 0.7369 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.9926, allocations: 54.78 kB / 0.737 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.9927, allocations: 55.17 kB / 0.737 GB, free: 14.69 MB / 0.5763 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.000265/0.9929, allocations: 195.9 kB / 0.7372 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.993, allocations: 57.69 kB / 0.7373 GB, free: 14.54 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.9947, allocations: 1.104 MB / 0.7383 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.9947, allocations: 4.781 kB / 0.7383 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9947, allocations: 2.156 kB / 0.7383 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.9947, allocations: 3 kB / 0.7383 GB, free: 14.38 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.996, allocations: 1.012 MB / 0.7393 GB, free: 14 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.996, allocations: 0 / 0.7393 GB, free: 14 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.9962, allocations: 54.64 kB / 0.7394 GB, free: 14 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003021/0.9993, allocations: 448 kB / 0.7398 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.9993, allocations: 8.844 kB / 0.7398 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000385/0.9997, allocations: 0.6009 MB / 0.7404 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9997, allocations: 2.906 kB / 0.7404 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/1, allocations: 0.4983 MB / 0.7409 GB, free: 13.24 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/1.001, allocations: 145.3 kB / 0.741 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.001, allocations: 7.031 kB / 0.741 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/1.001, allocations: 18.19 kB / 0.7411 GB, free: 13.11 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/1.001, allocations: 33.27 kB / 0.7411 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/1.001, allocations: 19.91 kB / 0.7411 GB, free: 13.1 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004592/1.002, allocations: 448.1 kB / 0.7415 GB, free: 13 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.6e-07/1.002, allocations: 0 / 0.7415 GB, free: 13 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0009608/1.003, allocations: 296.7 kB / 0.7418 GB, free: 12.97 MB / 0.5763 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.0008275/1.003, allocations: 391.1 kB / 0.7422 GB, free: 12.84 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0006979/1.004, allocations: 380 kB / 0.7426 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.004, allocations: 4.016 kB / 0.7426 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/1.004, allocations: 149.5 kB / 0.7427 GB, free: 12.83 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.006, allocations: 396.7 kB / 0.7431 GB, free: 12.78 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/1.007, allocations: 0.965 MB / 0.744 GB, free: 12.3 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/1.008, allocations: 0.869 MB / 0.7449 GB, free: 11.59 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/1.008, allocations: 134 kB / 0.745 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of SimCode: time 4.2e-07/1.008, allocations: 0 / 0.745 GB, free: 11.58 MB / 0.5763 GB Notification: Performance of Templates: time 0.01934/1.028, allocations: 15.63 MB / 0.7603 GB, free: 10.18 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches