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.001691/0.001698, allocations: 120.8 kB / 18.45 MB, free: 4.594 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.001994/0.001994, allocations: 209 kB / 21.41 MB, free: 1.645 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.642/1.642, allocations: 227.4 MB / 251.7 MB, free: 252 kB / 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.2978/0.2978, allocations: 46.17 MB / 351.1 MB, free: 14.27 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 0.002253/0.002253, allocations: 84.86 kB / 490.2 MB, free: 28.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1274, allocations: 62.45 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.579/0.7065, allocations: 184.1 MB / 0.7195 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007751/0.7143, allocations: 4.61 MB / 0.724 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007615/0.7151, allocations: 19.88 kB / 0.724 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.7163, allocations: 337.7 kB / 0.7243 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.7213, allocations: 1.791 MB / 0.726 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002739/0.724, allocations: 0.946 MB / 0.727 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002984/0.727, allocations: 1.703 MB / 0.7286 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008546/0.7279, allocations: 430.2 kB / 0.729 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.7299, allocations: 0.8526 MB / 0.7299 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008412/0.7308, allocations: 0.502 MB / 0.7304 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.7309, allocations: 56 kB / 0.7304 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003064/0.734, allocations: 1.295 MB / 0.7317 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.7342, allocations: 179.4 kB / 0.7319 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004703/0.7347, allocations: 370.3 kB / 0.7322 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002586/0.7373, allocations: 1.643 MB / 0.7338 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7373, allocations: 0 / 0.7338 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7373, allocations: 4 kB / 0.7338 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.7374, allocations: 0 / 0.7338 GB, free: 8.91 MB / 0.5294 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.002068/0.7394, allocations: 1.132 MB / 0.7349 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.7395, allocations: 12.03 kB / 0.7349 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.7407, allocations: 167.5 kB / 0.7351 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.7416, allocations: 0.5124 MB / 0.7356 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.7416, allocations: 29.88 kB / 0.7356 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.125e-05/0.7417, allocations: 48 kB / 0.7357 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.7431, allocations: 0.6399 MB / 0.7363 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.7432, allocations: 3.938 kB / 0.7363 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.7432, allocations: 24 kB / 0.7363 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.7433, allocations: 12 kB / 0.7363 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.7443, allocations: 499.6 kB / 0.7368 GB, free: 5.707 MB / 0.5294 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.003472/0.7478, allocations: 2.653 MB / 0.7394 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.7485, allocations: 326.8 kB / 0.7397 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.7488, allocations: 156.8 kB / 0.7399 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005269/0.7494, allocations: 433.5 kB / 0.7403 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.7494, allocations: 41.75 kB / 0.7403 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 1.894e-06/0.7494, allocations: 3.938 kB / 0.7403 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001821/0.7513, allocations: 0.7172 MB / 0.741 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.7514, allocations: 162.2 kB / 0.7412 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.752, allocations: 0.5146 MB / 0.7417 GB, free: 360 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.7521, allocations: 37.7 kB / 0.7417 GB, free: 316 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/0.7523, allocations: 312.1 kB / 0.742 GB, free: 0 / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.7525, allocations: 131.1 kB / 0.7421 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.7527, allocations: 118.2 kB / 0.7422 GB, free: 15.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.7529, allocations: 366.8 kB / 0.7426 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.7532, allocations: 145.1 kB / 0.7427 GB, free: 15.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/0.7536, allocations: 318.9 kB / 0.743 GB, free: 14.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007571/0.7544, allocations: 482.5 kB / 0.7435 GB, free: 14.31 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.7544, allocations: 3.938 kB / 0.7435 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001091/0.7555, allocations: 0.5683 MB / 0.7441 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.7556, allocations: 11.75 kB / 0.7441 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.7556, allocations: 4 kB / 0.7441 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/0.7572, allocations: 236.7 kB / 0.7443 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.7576, allocations: 119.8 kB / 0.7444 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005017/0.7582, allocations: 0.5875 MB / 0.745 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003535/0.7585, allocations: 67.56 kB / 0.7451 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.411e-05/0.7586, allocations: 51.98 kB / 0.7451 GB, free: 12.64 MB / 0.545 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.0002815/0.7589, allocations: 193.6 kB / 0.7453 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.759, allocations: 59.67 kB / 0.7453 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.7611, allocations: 1.105 MB / 0.7464 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.7611, allocations: 4 kB / 0.7464 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7611, allocations: 0 / 0.7464 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7611, allocations: 4 kB / 0.7464 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.7626, allocations: 1.008 MB / 0.7474 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.7626, allocations: 0 / 0.7474 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.7628, allocations: 56.09 kB / 0.7475 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.7659, allocations: 444.1 kB / 0.7479 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.766, allocations: 15.98 kB / 0.7479 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000462/0.7664, allocations: 0.5914 MB / 0.7485 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7665, allocations: 4.031 kB / 0.7485 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/0.7673, allocations: 0.5126 MB / 0.749 GB, free: 8.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.7674, allocations: 136.7 kB / 0.7491 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.7676, allocations: 24 kB / 0.7491 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.7679, allocations: 11.98 kB / 0.7492 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.714e-05/0.768, allocations: 27.92 kB / 0.7492 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.768, allocations: 19.98 kB / 0.7492 GB, free: 8.238 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005813/0.7686, allocations: 447 kB / 0.7496 GB, free: 7.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7686, allocations: 0 / 0.7496 GB, free: 7.801 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009574/0.7696, allocations: 307.2 kB / 0.7499 GB, free: 7.5 MB / 0.545 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.0009824/0.7706, allocations: 389.4 kB / 0.7503 GB, free: 7.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008628/0.7715, allocations: 377.9 kB / 0.7507 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7715, allocations: 4 kB / 0.7507 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.7718, allocations: 158.3 kB / 0.7508 GB, free: 6.598 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.7737, allocations: 403.6 kB / 0.7512 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.7752, allocations: 0.9559 MB / 0.7521 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.7758, allocations: 0.8716 MB / 0.753 GB, free: 4.309 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001156/0.777, allocations: 0.5751 MB / 0.7535 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.7772, allocations: 91.34 kB / 0.7536 GB, free: 3.645 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.7772, allocations: 0 / 0.7536 GB, free: 3.645 MB / 0.545 GB Notification: Performance of Templates: time 0.03292/0.8101, allocations: 17.24 MB / 0.7705 GB, free: 2.508 MB / 0.5606 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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.732393690384924]