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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008066/0.0008066, allocations: 174.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.81/0.81, allocations: 158.6 MB / 185.7 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1268/0.1268, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,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=5050,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 408.1 MB, free: 1.715 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.814e-05/1.922e-05, allocations: 5.938 kB / 408.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.3253/0.3253, allocations: 162.8 MB / 0.5575 GB, free: 2.156 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006105/0.3314, allocations: 6.472 MB / 0.5638 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.3318, allocations: 24.31 kB / 0.5638 GB, free: 13.77 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.3326, allocations: 333.4 kB / 0.5642 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004571/0.3372, allocations: 2.473 MB / 0.5666 GB, free: 11.76 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3387, allocations: 0.9864 MB / 0.5675 GB, free: 11.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.3401, allocations: 1.722 MB / 0.5692 GB, free: 10.03 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.3405, allocations: 369.9 kB / 0.5696 GB, free: 9.773 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00115/0.3416, allocations: 1.089 MB / 0.5706 GB, free: 9.113 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.3421, allocations: 457.8 kB / 0.5711 GB, free: 8.887 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.3422, allocations: 55.5 kB / 0.5711 GB, free: 8.887 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.3437, allocations: 1.189 MB / 0.5723 GB, free: 8.32 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.3438, allocations: 182.3 kB / 0.5725 GB, free: 8.184 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.344, allocations: 275 kB / 0.5727 GB, free: 8.062 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.3457, allocations: 1.826 MB / 0.5745 GB, free: 6.934 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3457, allocations: 3.094 kB / 0.5745 GB, free: 6.934 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3457, allocations: 0 / 0.5745 GB, free: 6.934 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3458, allocations: 0 / 0.5745 GB, free: 6.934 MB / 458.7 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.001364/0.3471, allocations: 1.083 MB / 0.5756 GB, free: 6.121 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3472, allocations: 11.09 kB / 0.5756 GB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006074/0.3478, allocations: 161.9 kB / 0.5757 GB, free: 6.043 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.3483, allocations: 454.8 kB / 0.5762 GB, free: 5.691 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.3484, allocations: 31.69 kB / 0.5762 GB, free: 5.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.3484, allocations: 45.38 kB / 0.5762 GB, free: 5.664 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3495, allocations: 1.039 MB / 0.5773 GB, free: 4.734 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3495, allocations: 3.938 kB / 0.5773 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.3496, allocations: 23.41 kB / 0.5773 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3496, allocations: 11.69 kB / 0.5773 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005595/0.3502, allocations: 0.4939 MB / 0.5778 GB, free: 4.48 MB / 458.7 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.001707/0.3519, allocations: 2.023 MB / 0.5798 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.3523, allocations: 301.7 kB / 0.58 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.3524, allocations: 144.7 kB / 0.5802 GB, free: 2.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/0.3529, allocations: 409 kB / 0.5806 GB, free: 2.016 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.353, allocations: 41.69 kB / 0.5806 GB, free: 1.969 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.353, allocations: 3.938 kB / 0.5806 GB, free: 1.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009833/0.3539, allocations: 0.6149 MB / 0.5812 GB, free: 1.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.354, allocations: 166.2 kB / 0.5814 GB, free: 1.141 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.3544, allocations: 453.7 kB / 0.5818 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.3544, allocations: 29.7 kB / 0.5818 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3546, allocations: 312.2 kB / 0.5821 GB, free: 348 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.716e-05/0.3547, allocations: 134.8 kB / 0.5823 GB, free: 212 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.3548, allocations: 114.1 kB / 0.5824 GB, free: 88 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3549, allocations: 358.8 kB / 0.5827 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.3551, allocations: 140.9 kB / 0.5828 GB, free: 15.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.3554, allocations: 425.1 kB / 0.5833 GB, free: 15.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.3558, allocations: 474.6 kB / 0.5837 GB, free: 14.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3558, allocations: 4 kB / 0.5837 GB, free: 14.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006222/0.3564, allocations: 0.5641 MB / 0.5843 GB, free: 13.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3565, allocations: 5.406 kB / 0.5843 GB, free: 13.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3565, allocations: 8 kB / 0.5843 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007326/0.3572, allocations: 240.9 kB / 0.5845 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3574, allocations: 115.9 kB / 0.5846 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006047/0.358, allocations: 0.5874 MB / 0.5852 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.3582, allocations: 43.67 kB / 0.5852 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.234e-05/0.3582, allocations: 60.05 kB / 0.5853 GB, free: 12.89 MB / 474.7 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.0001644/0.3584, allocations: 189.6 kB / 0.5855 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.3585, allocations: 59.61 kB / 0.5855 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008797/0.3593, allocations: 0.7328 MB / 0.5862 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3593, allocations: 4 kB / 0.5862 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3593, allocations: 0 / 0.5862 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3593, allocations: 7.984 kB / 0.5862 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.3601, allocations: 0.8638 MB / 0.5871 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3601, allocations: 4.875 kB / 0.5871 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3602, allocations: 51.97 kB / 0.5871 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.3616, allocations: 440.3 kB / 0.5876 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3616, allocations: 15.98 kB / 0.5876 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002899/0.3619, allocations: 0.6009 MB / 0.5882 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3619, allocations: 3.938 kB / 0.5882 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004538/0.3623, allocations: 497.2 kB / 0.5886 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.3624, allocations: 47.64 kB / 0.5887 GB, free: 9.258 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.3624, allocations: 23.83 kB / 0.5887 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3626, allocations: 15.98 kB / 0.5887 GB, free: 9.219 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.3626, allocations: 31.89 kB / 0.5888 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3626, allocations: 19.98 kB / 0.5888 GB, free: 9.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002639/0.3629, allocations: 350.9 kB / 0.5891 GB, free: 8.824 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3629, allocations: 4.062 kB / 0.5891 GB, free: 8.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005795/0.3635, allocations: 355 kB / 0.5895 GB, free: 8.473 MB / 474.7 MB 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.0007583/0.3642, allocations: 495.5 kB / 0.5899 GB, free: 7.992 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005189/0.3648, allocations: 357.5 kB / 0.5903 GB, free: 7.645 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3648, allocations: 0 / 0.5903 GB, free: 7.645 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.3649, allocations: 152 kB / 0.5904 GB, free: 7.496 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007936/0.3657, allocations: 304.6 kB / 0.5907 GB, free: 7.215 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009996/0.3667, allocations: 0.9255 MB / 0.5916 GB, free: 6.238 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.3672, allocations: 263.4 kB / 0.5919 GB, free: 5.953 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3674, allocations: 112.5 kB / 0.592 GB, free: 5.84 MB / 474.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3674, allocations: 0 / 0.592 GB, free: 5.84 MB / 474.7 MB Notification: Performance of Templates: time 0.01234/0.3797, allocations: 15.32 MB / 0.6069 GB, free: 6.531 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.650106875225902]