Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.001724/0.001724, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.00205/0.00205, allocations: 212.9 kB / 22.08 MB, free: 0.9883 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.559/1.559, allocations: 227.4 MB / 252.3 MB, free: 100 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.2598/0.2598, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 81.16 kB / 490.9 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 62.45 MB / 0.5404 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5999/0.7321, allocations: 186 MB / 0.722 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005978/0.7381, allocations: 3.259 MB / 0.7252 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.7389, allocations: 19.88 kB / 0.7252 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.74, allocations: 325.8 kB / 0.7255 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004479/0.7446, allocations: 1.399 MB / 0.7269 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.7467, allocations: 0.7218 MB / 0.7276 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.7492, allocations: 1.562 MB / 0.7291 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007066/0.7499, allocations: 439.2 kB / 0.7295 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.751, allocations: 0.5838 MB / 0.7301 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006076/0.7516, allocations: 466.1 kB / 0.7305 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.897e-05/0.7517, allocations: 48 kB / 0.7306 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.7546, allocations: 1.208 MB / 0.7318 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.7549, allocations: 159.5 kB / 0.7319 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.7554, allocations: 342.4 kB / 0.7322 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.7584, allocations: 1.511 MB / 0.7337 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7584, allocations: 0 / 0.7337 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7584, allocations: 0 / 0.7337 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.7584, allocations: 0 / 0.7337 GB, free: 9.566 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002016/0.7605, allocations: 1.081 MB / 0.7348 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.7605, allocations: 12.03 kB / 0.7348 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009895/0.7615, allocations: 143.5 kB / 0.7349 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008744/0.7624, allocations: 0.4929 MB / 0.7354 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.7624, allocations: 33 kB / 0.7354 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.7625, allocations: 43.94 kB / 0.7355 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.7637, allocations: 0.5906 MB / 0.736 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.7637, allocations: 0 / 0.736 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.7638, allocations: 20 kB / 0.7361 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.7638, allocations: 15.94 kB / 0.7361 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009952/0.7648, allocations: 483.6 kB / 0.7365 GB, free: 6.535 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.003334/0.7682, allocations: 2.671 MB / 0.7391 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008032/0.769, allocations: 347.4 kB / 0.7395 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.7693, allocations: 177.3 kB / 0.7396 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004372/0.7698, allocations: 437.8 kB / 0.7401 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.7698, allocations: 34.84 kB / 0.7401 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.034e-06/0.7698, allocations: 4 kB / 0.7401 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001869/0.7717, allocations: 0.7345 MB / 0.7408 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.7718, allocations: 136.5 kB / 0.741 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.7725, allocations: 494.1 kB / 0.7414 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.949e-05/0.7725, allocations: 33.7 kB / 0.7415 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.7728, allocations: 292.2 kB / 0.7417 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.7729, allocations: 119 kB / 0.7418 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.7731, allocations: 106.1 kB / 0.7419 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.7733, allocations: 362.8 kB / 0.7423 GB, free: 224 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.7736, allocations: 144.8 kB / 0.7424 GB, free: 80 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.7741, allocations: 279.8 kB / 0.7427 GB, free: 15.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007762/0.7749, allocations: 449.6 kB / 0.7431 GB, free: 15.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7749, allocations: 0 / 0.7431 GB, free: 15.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001085/0.776, allocations: 0.5445 MB / 0.7437 GB, free: 14.71 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.776, allocations: 11.92 kB / 0.7437 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.776, allocations: 4 kB / 0.7437 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.7776, allocations: 237 kB / 0.7439 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.778, allocations: 103.9 kB / 0.744 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005381/0.7786, allocations: 0.604 MB / 0.7446 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.7789, allocations: 51.61 kB / 0.7446 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.39e-05/0.779, allocations: 47.98 kB / 0.7447 GB, free: 13.63 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002947/0.7793, allocations: 189.6 kB / 0.7449 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.7795, allocations: 55.67 kB / 0.7449 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.7815, allocations: 1.09 MB / 0.746 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.7815, allocations: 4 kB / 0.746 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.7815, allocations: 4 kB / 0.746 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.7815, allocations: 3.938 kB / 0.746 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.7831, allocations: 1.038 MB / 0.747 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.7831, allocations: 0 / 0.747 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.7833, allocations: 55.91 kB / 0.7471 GB, free: 11.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003139/0.7865, allocations: 444.3 kB / 0.7475 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.7865, allocations: 19.98 kB / 0.7475 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005348/0.7871, allocations: 0.607 MB / 0.7481 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7871, allocations: 4.031 kB / 0.7481 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009502/0.788, allocations: 0.5085 MB / 0.7486 GB, free: 9.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.7883, allocations: 140.7 kB / 0.7487 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.7884, allocations: 12 kB / 0.7487 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.7887, allocations: 15.98 kB / 0.7488 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.119e-05/0.7888, allocations: 31.91 kB / 0.7488 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.7888, allocations: 23.92 kB / 0.7488 GB, free: 9.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005744/0.7894, allocations: 418.8 kB / 0.7492 GB, free: 8.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7894, allocations: 0 / 0.7492 GB, free: 8.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009392/0.7903, allocations: 291.2 kB / 0.7495 GB, free: 8.531 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.0009557/0.7913, allocations: 386.1 kB / 0.7499 GB, free: 8.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009376/0.7923, allocations: 382 kB / 0.7502 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7923, allocations: 0 / 0.7502 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.7926, allocations: 165 kB / 0.7504 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.7944, allocations: 359.7 kB / 0.7507 GB, free: 7.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.796, allocations: 0.943 MB / 0.7516 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.7966, allocations: 0.8596 MB / 0.7525 GB, free: 5.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/0.797, allocations: 123.4 kB / 0.7526 GB, free: 5.266 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.797, allocations: 0 / 0.7526 GB, free: 5.266 MB / 0.545 GB Notification: Performance of Templates: time 0.02343/0.8205, allocations: 14.75 MB / 0.767 GB, free: 6.566 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.43097621400375]