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.001986/0.001986, allocations: 117 kB / 19.13 MB, free: 3.922 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.002577/0.002577, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.547/1.547, allocations: 227.4 MB / 252.3 MB, free: 64 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.2271/0.2271, allocations: 46.17 MB / 351.8 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.002289/0.002289, allocations: 77.36 kB / 490.9 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1235, allocations: 62.45 MB / 0.5403 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.485/0.6085, allocations: 184.1 MB / 0.7201 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007454/0.616, allocations: 4.611 MB / 0.7246 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008892/0.6169, allocations: 23.88 kB / 0.7246 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.6182, allocations: 333.7 kB / 0.7249 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005021/0.6232, allocations: 1.782 MB / 0.7267 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.6258, allocations: 0.9493 MB / 0.7276 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002576/0.6284, allocations: 1.709 MB / 0.7293 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007088/0.6292, allocations: 430.2 kB / 0.7297 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001744/0.6309, allocations: 0.8565 MB / 0.7305 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007663/0.6317, allocations: 0.4942 MB / 0.731 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.6318, allocations: 56 kB / 0.7311 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.6346, allocations: 1.299 MB / 0.7323 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.6348, allocations: 175.4 kB / 0.7325 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004749/0.6353, allocations: 378.3 kB / 0.7329 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.6379, allocations: 1.636 MB / 0.7345 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6379, allocations: 0 / 0.7345 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.807e-06/0.6379, allocations: 4 kB / 0.7345 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.638, allocations: 0 / 0.7345 GB, free: 8.945 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.002139/0.6401, allocations: 1.14 MB / 0.7356 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6402, allocations: 8.031 kB / 0.7356 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.6414, allocations: 171.4 kB / 0.7358 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008786/0.6423, allocations: 0.5085 MB / 0.7362 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.6424, allocations: 29 kB / 0.7363 GB, free: 7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.6424, allocations: 44 kB / 0.7363 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.6437, allocations: 0.6447 MB / 0.7369 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6437, allocations: 7.938 kB / 0.737 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.111e-05/0.6438, allocations: 24 kB / 0.737 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.6438, allocations: 15.98 kB / 0.737 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009647/0.6448, allocations: 499.6 kB / 0.7375 GB, free: 5.73 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.003792/0.6486, allocations: 2.645 MB / 0.7401 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.6494, allocations: 326.8 kB / 0.7404 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/0.6497, allocations: 156.8 kB / 0.7405 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004436/0.6502, allocations: 437.5 kB / 0.7409 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.6502, allocations: 42.5 kB / 0.741 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 4.128e-06/0.6502, allocations: 7.922 kB / 0.741 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.001775/0.652, allocations: 0.7134 MB / 0.7417 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.6521, allocations: 162.2 kB / 0.7418 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.6528, allocations: 0.5146 MB / 0.7423 GB, free: 384 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-05/0.6529, allocations: 33.7 kB / 0.7424 GB, free: 344 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.6532, allocations: 312.1 kB / 0.7427 GB, free: 28 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.6533, allocations: 135.1 kB / 0.7428 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.6535, allocations: 114.2 kB / 0.7429 GB, free: 15.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.6538, allocations: 370.8 kB / 0.7433 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.6541, allocations: 137.1 kB / 0.7434 GB, free: 15.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.6545, allocations: 322.9 kB / 0.7437 GB, free: 14.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.6553, allocations: 482.5 kB / 0.7442 GB, free: 14.34 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6554, allocations: 0.875 kB / 0.7442 GB, free: 14.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001091/0.6564, allocations: 0.5678 MB / 0.7447 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.6565, allocations: 12.38 kB / 0.7447 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6565, allocations: 6.266 kB / 0.7447 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.658, allocations: 240.5 kB / 0.745 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.6585, allocations: 119.8 kB / 0.7451 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005057/0.659, allocations: 0.5836 MB / 0.7456 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003754/0.6594, allocations: 68.62 kB / 0.7457 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.279e-05/0.6595, allocations: 48 kB / 0.7458 GB, free: 12.67 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.0002966/0.6598, allocations: 204.7 kB / 0.7459 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.6599, allocations: 59.67 kB / 0.746 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.6619, allocations: 1.107 MB / 0.7471 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.6619, allocations: 7.938 kB / 0.7471 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6619, allocations: 0 / 0.7471 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6619, allocations: 0 / 0.7471 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.6635, allocations: 1.008 MB / 0.7481 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.6635, allocations: 4 kB / 0.7481 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.6637, allocations: 51.91 kB / 0.7481 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003151/0.6668, allocations: 440.3 kB / 0.7485 GB, free: 9.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.6669, allocations: 16 kB / 0.7486 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005279/0.6674, allocations: 0.5952 MB / 0.7491 GB, free: 9.055 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.6675, allocations: 4.031 kB / 0.7491 GB, free: 9.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.6683, allocations: 0.5087 MB / 0.7496 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.6684, allocations: 144.6 kB / 0.7498 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.6685, allocations: 8 kB / 0.7498 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.6689, allocations: 12 kB / 0.7498 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.669, allocations: 31.91 kB / 0.7498 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.669, allocations: 23.98 kB / 0.7499 GB, free: 8.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006346/0.6696, allocations: 443 kB / 0.7503 GB, free: 7.836 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6697, allocations: 4 kB / 0.7503 GB, free: 7.832 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009535/0.6706, allocations: 299.3 kB / 0.7506 GB, free: 7.539 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.0009182/0.6715, allocations: 385.2 kB / 0.7509 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008205/0.6724, allocations: 383.2 kB / 0.7513 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6724, allocations: 0 / 0.7513 GB, free: 6.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.6727, allocations: 156.9 kB / 0.7515 GB, free: 6.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.6746, allocations: 407.4 kB / 0.7518 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.6762, allocations: 0.981 MB / 0.7528 GB, free: 5.211 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.6768, allocations: 0.8677 MB / 0.7536 GB, free: 4.312 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.6772, allocations: 139.3 kB / 0.7538 GB, free: 4.176 MB / 0.545 GB Notification: Performance of SimCode: time 4.5e-07/0.6772, allocations: 0 / 0.7538 GB, free: 4.176 MB / 0.545 GB Notification: Performance of Templates: time 0.02283/0.7, allocations: 15.65 MB / 0.7691 GB, free: 4.578 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.49025895097293]