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.002048/0.002048, allocations: 89.92 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002017/0.002017, allocations: 158.2 kB / 23.95 MB, free: 4.152 MB / 14.72 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 1.534/1.534, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.2169/0.2169, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 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.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=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_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.771e-05, allocations: 2.281 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4495/0.4495, allocations: 159.9 MB / 0.5884 GB, free: 5.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.4605, allocations: 4.257 MB / 0.5926 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.4613, allocations: 27.75 kB / 0.5926 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.4628, allocations: 333.6 kB / 0.5929 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007555/0.4703, allocations: 1.877 MB / 0.5948 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.4746, allocations: 0.9857 MB / 0.5957 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004105/0.4787, allocations: 1.73 MB / 0.5974 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.4799, allocations: 378.4 kB / 0.5978 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003698/0.4836, allocations: 1.102 MB / 0.5989 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.485, allocations: 454.7 kB / 0.5993 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003612/0.4854, allocations: 52 kB / 0.5993 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.4884, allocations: 0.9981 MB / 0.6003 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.4887, allocations: 179.3 kB / 0.6005 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.4894, allocations: 279.4 kB / 0.6008 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.4937, allocations: 1.674 MB / 0.6024 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.4938, allocations: 8 kB / 0.6024 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4938, allocations: 0 / 0.6024 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.624e-05/0.4938, allocations: 0 / 0.6024 GB, free: 7.32 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.002755/0.4965, allocations: 1.054 MB / 0.6034 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4966, allocations: 8.031 kB / 0.6034 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.498, allocations: 171.4 kB / 0.6036 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.4991, allocations: 450.1 kB / 0.604 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.4991, allocations: 33 kB / 0.6041 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.4992, allocations: 40 kB / 0.6041 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.5008, allocations: 1.05 MB / 0.6051 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.5008, allocations: 3.984 kB / 0.6051 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-05/0.5009, allocations: 24 kB / 0.6051 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.5009, allocations: 15.94 kB / 0.6052 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.502, allocations: 499.5 kB / 0.6056 GB, free: 3.789 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.003527/0.5055, allocations: 2.002 MB / 0.6076 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007857/0.5063, allocations: 300.9 kB / 0.6079 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002947/0.5066, allocations: 140.8 kB / 0.608 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.5069, allocations: 63.75 kB / 0.6081 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.5069, allocations: 38.56 kB / 0.6081 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.5069, allocations: 1.406 kB / 0.6081 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001832/0.5087, allocations: 0.6275 MB / 0.6087 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.5089, allocations: 158.2 kB / 0.6089 GB, free: 356 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.5095, allocations: 461.7 kB / 0.6093 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.249e-05/0.5096, allocations: 33.7 kB / 0.6094 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.5099, allocations: 312.1 kB / 0.6096 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.51, allocations: 130.8 kB / 0.6098 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.5103, allocations: 118.1 kB / 0.6099 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.5105, allocations: 354.8 kB / 0.6102 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.5108, allocations: 148.9 kB / 0.6104 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.5114, allocations: 433.1 kB / 0.6108 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008757/0.5123, allocations: 472.4 kB / 0.6112 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5123, allocations: 4 kB / 0.6112 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001231/0.5135, allocations: 0.5681 MB / 0.6118 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.5136, allocations: 4 kB / 0.6118 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.5136, allocations: 15.97 kB / 0.6118 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/0.5153, allocations: 240.5 kB / 0.612 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004537/0.5157, allocations: 119.8 kB / 0.6122 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005737/0.5163, allocations: 0.5952 MB / 0.6127 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.5167, allocations: 43.73 kB / 0.6128 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5168, allocations: 51.98 kB / 0.6128 GB, free: 12.07 MB / 0.5137 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.0003072/0.5171, allocations: 189.6 kB / 0.613 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5173, allocations: 59.67 kB / 0.6131 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.5195, allocations: 1.098 MB / 0.6141 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5195, allocations: 4 kB / 0.6141 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5195, allocations: 0 / 0.6141 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5195, allocations: 3.984 kB / 0.6141 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.5211, allocations: 0.8526 MB / 0.615 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5211, allocations: 0 / 0.615 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.5213, allocations: 56.09 kB / 0.615 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/0.5248, allocations: 448.2 kB / 0.6155 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.5249, allocations: 8 kB / 0.6155 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005698/0.5254, allocations: 0.6014 MB / 0.6161 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5254, allocations: 8.016 kB / 0.6161 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.5263, allocations: 0.4897 MB / 0.6165 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.5265, allocations: 51.59 kB / 0.6166 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.5266, allocations: 19.94 kB / 0.6166 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.5269, allocations: 19.98 kB / 0.6166 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.527, allocations: 19.97 kB / 0.6166 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.5271, allocations: 27.92 kB / 0.6167 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005238/0.5276, allocations: 358.8 kB / 0.617 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5276, allocations: 0 / 0.617 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001024/0.5286, allocations: 307.2 kB / 0.6173 GB, free: 7.328 MB / 0.5137 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.001074/0.5297, allocations: 402.2 kB / 0.6177 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009343/0.5306, allocations: 360.7 kB / 0.618 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5306, allocations: 0 / 0.618 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000345/0.531, allocations: 144 kB / 0.6182 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.5327, allocations: 306.6 kB / 0.6185 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.5345, allocations: 0.8959 MB / 0.6193 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5348, allocations: 271.6 kB / 0.6196 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001151/0.536, allocations: 0.5677 MB / 0.6202 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.5363, allocations: 88.47 kB / 0.6202 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of SimCode: time 9.71e-07/0.5363, allocations: 0 / 0.6202 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of Templates: time 0.02991/0.5662, allocations: 15.35 MB / 0.6352 GB, free: 5.109 MB / 0.5294 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) [Timeout 480] 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","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.42622222751379]