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.001138/0.001138, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001203/0.001203, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 46.1 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 82.55 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1452, allocations: 62.44 MB / 480 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.49/0.6352, allocations: 184.1 MB / 0.6485 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007412/0.6426, allocations: 4.608 MB / 0.653 GB, free: 6.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007138/0.6434, allocations: 15.88 kB / 0.6531 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.6445, allocations: 349.7 kB / 0.6534 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.6493, allocations: 1.778 MB / 0.6551 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.6516, allocations: 0.9459 MB / 0.6561 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002158/0.6538, allocations: 1.703 MB / 0.6577 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.6544, allocations: 446.3 kB / 0.6581 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.6558, allocations: 0.8409 MB / 0.659 GB, free: 388 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006291/0.6564, allocations: 0.4942 MB / 0.6594 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.6566, allocations: 52 kB / 0.6595 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002672/0.6592, allocations: 1.264 MB / 0.6607 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.6594, allocations: 179.4 kB / 0.6609 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.6598, allocations: 370.4 kB / 0.6613 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.6622, allocations: 1.636 MB / 0.6629 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.6622, allocations: 0 / 0.6629 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6622, allocations: 0 / 0.6629 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.6622, allocations: 0 / 0.6629 GB, free: 12.39 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.001853/0.6641, allocations: 1.102 MB / 0.6639 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.6641, allocations: 12.03 kB / 0.6639 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.6654, allocations: 163.1 kB / 0.6641 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/0.666, allocations: 496.2 kB / 0.6646 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.6661, allocations: 37 kB / 0.6646 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.66e-05/0.6662, allocations: 40 kB / 0.6646 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.6673, allocations: 0.6502 MB / 0.6653 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.6673, allocations: 3.938 kB / 0.6653 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.6674, allocations: 23.98 kB / 0.6653 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.6674, allocations: 12 kB / 0.6653 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.6683, allocations: 499.6 kB / 0.6658 GB, free: 9.234 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.003217/0.6716, allocations: 2.664 MB / 0.6684 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006953/0.6723, allocations: 322.9 kB / 0.6687 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.6726, allocations: 168.6 kB / 0.6689 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/0.6731, allocations: 437.5 kB / 0.6693 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.6731, allocations: 46.48 kB / 0.6693 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.914e-06/0.6732, allocations: 0 / 0.6693 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001634/0.6748, allocations: 0.7015 MB / 0.67 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/0.6749, allocations: 162.1 kB / 0.6702 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.6755, allocations: 0.5185 MB / 0.6707 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.646e-05/0.6755, allocations: 29.7 kB / 0.6707 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.6758, allocations: 307.5 kB / 0.671 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.6759, allocations: 126.2 kB / 0.6711 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.6761, allocations: 122.1 kB / 0.6712 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6762, allocations: 362.8 kB / 0.6716 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.6766, allocations: 145 kB / 0.6717 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.677, allocations: 319 kB / 0.672 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/0.6778, allocations: 478.7 kB / 0.6725 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6778, allocations: 0 / 0.6725 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001/0.6788, allocations: 0.5713 MB / 0.673 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.6788, allocations: 15.88 kB / 0.673 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6788, allocations: 4.625 kB / 0.6731 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.6804, allocations: 244.5 kB / 0.6733 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.6808, allocations: 111.8 kB / 0.6734 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004966/0.6813, allocations: 0.5913 MB / 0.674 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.6817, allocations: 51.44 kB / 0.674 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/0.6818, allocations: 53.48 kB / 0.6741 GB, free: 176 kB / 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.0003185/0.6821, allocations: 197.7 kB / 0.6743 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.6823, allocations: 63.34 kB / 0.6743 GB, free: 15.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.6843, allocations: 1.1 MB / 0.6754 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.6844, allocations: 4 kB / 0.6754 GB, free: 14.78 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.6844, allocations: 11.92 kB / 0.6754 GB, free: 14.77 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.6844, allocations: 0 / 0.6754 GB, free: 14.77 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.686, allocations: 1.011 MB / 0.6764 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.6861, allocations: 192 / 0.6764 GB, free: 13.68 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.6863, allocations: 51.92 kB / 0.6764 GB, free: 13.63 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/0.6895, allocations: 444.1 kB / 0.6769 GB, free: 13.19 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.6895, allocations: 12 kB / 0.6769 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005622/0.6901, allocations: 0.5914 MB / 0.6775 GB, free: 12.56 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6901, allocations: 8.094 kB / 0.6775 GB, free: 12.55 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.691, allocations: 0.5007 MB / 0.678 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.6912, allocations: 140.3 kB / 0.6781 GB, free: 11.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.6913, allocations: 19.92 kB / 0.6781 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.6917, allocations: 12 kB / 0.6781 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.6917, allocations: 27.91 kB / 0.6781 GB, free: 11.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.6918, allocations: 19.98 kB / 0.6782 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.0005763/0.6924, allocations: 447 kB / 0.6786 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6924, allocations: 4 kB / 0.6786 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.001001/0.6934, allocations: 295.8 kB / 0.6789 GB, free: 11.05 MB / 0.5138 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.0009225/0.6943, allocations: 384.6 kB / 0.6792 GB, free: 10.67 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0009208/0.6952, allocations: 380 kB / 0.6796 GB, free: 10.3 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.6953, allocations: 5.188 kB / 0.6796 GB, free: 10.29 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.6956, allocations: 156.7 kB / 0.6798 GB, free: 10.14 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.6976, allocations: 412.2 kB / 0.6802 GB, free: 9.75 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.6994, allocations: 0.9462 MB / 0.6811 GB, free: 8.754 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.7, allocations: 0.8676 MB / 0.6819 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001444/0.7015, allocations: 0.5711 MB / 0.6825 GB, free: 7.289 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.7018, allocations: 95.38 kB / 0.6826 GB, free: 7.195 MB / 0.5138 GB Notification: Performance of SimCode: time 7.61e-07/0.7018, allocations: 4 kB / 0.6826 GB, free: 7.191 MB / 0.5138 GB Notification: Performance of Templates: time 0.03197/0.7338, allocations: 17.1 MB / 0.6993 GB, free: 6.211 MB / 0.5294 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/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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches