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.001503/0.001503, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001776/0.001776, allocations: 205.8 kB / 23.72 MB, free: 4.391 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.528/1.528, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.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.2518/0.2518, allocations: 46.95 MB / 360.8 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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.002578/0.002578, allocations: 84.16 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4065, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2205/0.6271, allocations: 160 MB / 0.7174 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007605/0.6347, allocations: 4.253 MB / 0.7216 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00085/0.6355, allocations: 27.75 kB / 0.7216 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.6366, allocations: 333.8 kB / 0.7219 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.6417, allocations: 1.825 MB / 0.7237 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.6446, allocations: 0.9756 MB / 0.7246 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002773/0.6473, allocations: 1.73 MB / 0.7263 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006638/0.648, allocations: 378.4 kB / 0.7267 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.6498, allocations: 0.8761 MB / 0.7275 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007526/0.6506, allocations: 0.498 MB / 0.728 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.6507, allocations: 56 kB / 0.7281 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.6532, allocations: 0.9828 MB / 0.729 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.6535, allocations: 179.3 kB / 0.7292 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004068/0.6539, allocations: 326.6 kB / 0.7295 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.6562, allocations: 1.581 MB / 0.7311 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6563, allocations: 0 / 0.7311 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6563, allocations: 0 / 0.7311 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.6563, allocations: 0 / 0.7311 GB, free: 5.355 MB / 0.5606 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.002098/0.6584, allocations: 1.057 MB / 0.7321 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.6584, allocations: 8.031 kB / 0.7321 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.6596, allocations: 175.5 kB / 0.7323 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/0.6606, allocations: 449.5 kB / 0.7327 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.6607, allocations: 33 kB / 0.7327 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.6607, allocations: 44 kB / 0.7328 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6622, allocations: 1.042 MB / 0.7338 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.6622, allocations: 7.938 kB / 0.7338 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-05/0.6622, allocations: 20 kB / 0.7338 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.6622, allocations: 12 kB / 0.7338 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009391/0.6632, allocations: 0.4957 MB / 0.7343 GB, free: 1.828 MB / 0.5606 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.3312/0.9944, allocations: 2.003 MB / 0.7363 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9954, allocations: 296.3 kB / 0.7366 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.9958, allocations: 143.3 kB / 0.7367 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002976/0.9961, allocations: 51.31 kB / 0.7367 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.9961, allocations: 42.92 kB / 0.7368 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/0.9961, allocations: 0 / 0.7368 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.002026/0.9981, allocations: 0.6276 MB / 0.7374 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.9982, allocations: 160.5 kB / 0.7375 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.9989, allocations: 451.3 kB / 0.738 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.9989, allocations: 33.11 kB / 0.738 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/0.9991, allocations: 310.2 kB / 0.7383 GB, free: 174 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.551e-05/0.9992, allocations: 135.1 kB / 0.7384 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.9994, allocations: 121.4 kB / 0.7386 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.9995, allocations: 356.8 kB / 0.7389 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.9998, allocations: 145.6 kB / 0.739 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/1, allocations: 420.5 kB / 0.7394 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006522/1.001, allocations: 471.7 kB / 0.7399 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.001, allocations: 3.969 kB / 0.7399 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00089/1.002, allocations: 0.5664 MB / 0.7404 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.002, allocations: 15.73 kB / 0.7405 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.002, allocations: 4.766 kB / 0.7405 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.003, allocations: 242.7 kB / 0.7407 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/1.004, allocations: 123.3 kB / 0.7408 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003726/1.004, allocations: 0.5948 MB / 0.7414 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/1.004, allocations: 42.53 kB / 0.7414 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/1.004, allocations: 53.88 kB / 0.7415 GB, free: 172 MB / 0.5606 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.0002853/1.005, allocations: 202.5 kB / 0.7417 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/1.005, allocations: 56.81 kB / 0.7417 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/1.006, allocations: 1.105 MB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/1.006, allocations: 4 kB / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.006, allocations: 0 / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.006, allocations: 0 / 0.7428 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/1.007, allocations: 0.8593 MB / 0.7436 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.007, allocations: 0 / 0.7436 GB, free: 170.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/1.008, allocations: 52.11 kB / 0.7437 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/1.011, allocations: 453.4 kB / 0.7441 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/1.011, allocations: 13.64 kB / 0.7441 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002936/1.011, allocations: 0.5914 MB / 0.7447 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.011, allocations: 4.031 kB / 0.7447 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005715/1.011, allocations: 495.1 kB / 0.7452 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.564e-05/1.012, allocations: 51.88 kB / 0.7452 GB, free: 169 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/1.012, allocations: 18.34 kB / 0.7453 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/1.012, allocations: 15.98 kB / 0.7453 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/1.012, allocations: 31.83 kB / 0.7453 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/1.012, allocations: 20 kB / 0.7453 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003293/1.012, allocations: 358.8 kB / 0.7457 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.012, allocations: 0 / 0.7457 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008515/1.013, allocations: 308.2 kB / 0.746 GB, free: 168.3 MB / 0.5606 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.000662/1.014, allocations: 386 kB / 0.7463 GB, free: 168 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007583/1.015, allocations: 360.3 kB / 0.7467 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.015, allocations: 0 / 0.7467 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/1.015, allocations: 139.8 kB / 0.7468 GB, free: 167.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/1.016, allocations: 309.4 kB / 0.7471 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/1.017, allocations: 0.9491 MB / 0.748 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/1.018, allocations: 271.5 kB / 0.7483 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008182/1.018, allocations: 0.5569 MB / 0.7488 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/1.019, allocations: 79.41 kB / 0.7489 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/1.019, allocations: 0 / 0.7489 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.02362/1.042, allocations: 16.43 MB / 0.765 GB, free: 149.1 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.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.531950756907463]