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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000985/0.000985, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009366/0.0009366, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.927/0.927, allocations: 177 MB / 205.2 MB, free: 5.016 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2533/0.2533, allocations: 34.86 MB / 296.6 MB, free: 480 kB / 266.7 MB " [Timeout remaining time 180] 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=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.9 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.425e-05, allocations: 4.703 kB / 325.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2849/0.2849, allocations: 148.4 MB / 474.4 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.2883, allocations: 3.828 MB / 478.2 MB, free: 16.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.2886, allocations: 30.83 kB / 478.2 MB, free: 16.03 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.289, allocations: 194.8 kB / 478.4 MB, free: 16.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.291, allocations: 1.361 MB / 479.8 MB, free: 15.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009559/0.292, allocations: 0.7933 MB / 480.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.2933, allocations: 1.768 MB / 482.3 MB, free: 15.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003743/0.2936, allocations: 394.4 kB / 482.7 MB, free: 15.74 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008271/0.2945, allocations: 0.965 MB / 483.7 MB, free: 15.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.2949, allocations: 0.5093 MB / 484.2 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.028e-05/0.295, allocations: 54.94 kB / 484.2 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.296, allocations: 0.8466 MB / 485.1 MB, free: 15.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.2962, allocations: 182.1 kB / 485.3 MB, free: 15.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.2963, allocations: 274.4 kB / 485.5 MB, free: 15.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.2974, allocations: 1.29 MB / 486.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.2974, allocations: 0 / 486.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2974, allocations: 0 / 486.8 MB, free: 15.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.2974, allocations: 0 / 486.8 MB, free: 15.37 MB / 410.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.0009706/0.2984, allocations: 0.9894 MB / 487.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.2984, allocations: 7.562 kB / 487.8 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006361/0.299, allocations: 268 kB / 488.1 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.2994, allocations: 393.8 kB / 488.5 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.2994, allocations: 38.69 kB / 488.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/0.2995, allocations: 49.03 kB / 488.5 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.3, allocations: 0.8904 MB / 489.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3, allocations: 0 / 489.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.3, allocations: 18.72 kB / 489.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3, allocations: 14 kB / 489.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.3003, allocations: 237 kB / 489.7 MB, free: 13.89 MB / 410.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.001168/0.3014, allocations: 1.68 MB / 491.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.3017, allocations: 171.9 kB / 491.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.3018, allocations: 112.3 kB / 491.7 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.302, allocations: 94.66 kB / 491.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.302, allocations: 43.42 kB / 491.8 MB, free: 12.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.222e-06/0.302, allocations: 0 / 491.8 MB, free: 12.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.000594/0.3026, allocations: 368.8 kB / 492.2 MB, free: 12.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3026, allocations: 157.4 kB / 492.3 MB, free: 12.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3028, allocations: 393 kB / 492.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.3028, allocations: 31.52 kB / 492.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3029, allocations: 264.8 kB / 493 MB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.3029, allocations: 128.2 kB / 493.1 MB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.303, allocations: 108.5 kB / 493.2 MB, free: 11.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.826e-05/0.3031, allocations: 361.2 kB / 493.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.3032, allocations: 55.86 kB / 493.6 MB, free: 11.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.3033, allocations: 340.4 kB / 494 MB, free: 11.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3035, allocations: 294.5 kB / 494.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3035, allocations: 2.781 kB / 494.2 MB, free: 11.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000311/0.3038, allocations: 320.9 kB / 494.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3038, allocations: 8.594 kB / 494.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3038, allocations: 5.969 kB / 494.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.3044, allocations: 200.1 kB / 494.8 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.3046, allocations: 105 kB / 494.9 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001778/0.3048, allocations: 0.5477 MB / 495.4 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.3049, allocations: 45.78 kB / 495.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.3049, allocations: 52.72 kB / 495.5 MB, free: 10.54 MB / 410.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.0001056/0.305, allocations: 144 kB / 495.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.186e-05/0.3051, allocations: 43.95 kB / 495.7 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008599/0.306, allocations: 0.9267 MB / 496.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.306, allocations: 2.781 kB / 496.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.306, allocations: 0 / 496.6 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.306, allocations: 10.7 kB / 496.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.3064, allocations: 0.5437 MB / 497.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3064, allocations: 3.062 kB / 497.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.3065, allocations: 48.62 kB / 497.2 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009429/0.3075, allocations: 315.9 kB / 497.5 MB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3075, allocations: 12.09 kB / 497.6 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001411/0.3076, allocations: 0.5525 MB / 498.1 MB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.3076, allocations: 6.906 kB / 498.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.3078, allocations: 335.6 kB / 498.4 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.3079, allocations: 44.62 kB / 498.5 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.533e-05/0.3079, allocations: 13.83 kB / 498.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.308, allocations: 17.78 kB / 498.5 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.3081, allocations: 23.33 kB / 498.5 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3081, allocations: 21.5 kB / 498.6 MB, free: 9.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3082, allocations: 183.8 kB / 498.7 MB, free: 9.168 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3082, allocations: 3.031 kB / 498.7 MB, free: 9.168 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004574/0.3087, allocations: 294.4 kB / 499 MB, free: 9.121 MB / 410.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.0004188/0.3091, allocations: 345 kB / 499.4 MB, free: 9.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002893/0.3094, allocations: 224.6 kB / 499.6 MB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.3094, allocations: 9.938 kB / 499.6 MB, free: 8.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.3095, allocations: 90.72 kB / 499.7 MB, free: 8.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006601/0.3102, allocations: 320.4 kB / 500 MB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000923/0.3111, allocations: 0.8793 MB / 0.4891 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.445e-05/0.3111, allocations: 133.6 kB / 0.4893 GB, free: 8.254 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005244/0.3117, allocations: 0.5466 MB / 0.4898 GB, free: 8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004674/0.3121, allocations: 326.4 kB / 0.4901 GB, free: 7.867 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3121, allocations: 4 kB / 0.4901 GB, free: 7.863 MB / 410.7 MB Notification: Performance of Templates: time 0.01466/0.3268, allocations: 16.48 MB / 0.5062 GB, free: 12.81 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.705696833319962]