Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 124 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 209.6 kB / 21.42 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2488/0.2488, allocations: 46.92 MB / 357.8 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 64.14 kB / 0.4921 GB, free: 7.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1368, allocations: 66 MB / 0.5565 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5176/0.6544, allocations: 186.6 MB / 0.7388 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006633/0.661, allocations: 3.26 MB / 0.742 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.662, allocations: 19.81 kB / 0.742 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.6633, allocations: 325.8 kB / 0.7423 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004787/0.6681, allocations: 1.417 MB / 0.7437 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.6703, allocations: 0.7356 MB / 0.7444 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.6731, allocations: 1.555 MB / 0.7459 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.6738, allocations: 383.8 kB / 0.7463 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.675, allocations: 0.6111 MB / 0.7469 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000667/0.6757, allocations: 482.1 kB / 0.7473 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.919e-05/0.6758, allocations: 55.94 kB / 0.7474 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002798/0.6786, allocations: 1.217 MB / 0.7486 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/0.6788, allocations: 163.4 kB / 0.7487 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.6792, allocations: 342.5 kB / 0.7491 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.682, allocations: 1.511 MB / 0.7505 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.682, allocations: 3.984 kB / 0.7505 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.454e-06/0.682, allocations: 0 / 0.7505 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.682, allocations: 0 / 0.7505 GB, free: 10.32 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002164/0.6842, allocations: 1.078 MB / 0.7516 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.6842, allocations: 15.97 kB / 0.7516 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.6853, allocations: 143.5 kB / 0.7517 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008719/0.6861, allocations: 0.4899 MB / 0.7522 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/0.6862, allocations: 29 kB / 0.7522 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.6862, allocations: 47.94 kB / 0.7523 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.6874, allocations: 0.5906 MB / 0.7529 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.6874, allocations: 0 / 0.7529 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.6875, allocations: 16 kB / 0.7529 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.6875, allocations: 12 kB / 0.7529 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.6885, allocations: 491.5 kB / 0.7534 GB, free: 7.293 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.00338/0.6919, allocations: 2.667 MB / 0.756 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008024/0.6927, allocations: 331.5 kB / 0.7563 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.693, allocations: 165.3 kB / 0.7564 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/0.6935, allocations: 429.8 kB / 0.7568 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.6935, allocations: 41.33 kB / 0.7569 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.6935, allocations: 0 / 0.7569 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001952/0.6955, allocations: 0.7346 MB / 0.7576 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6956, allocations: 132.5 kB / 0.7577 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006079/0.6962, allocations: 498.1 kB / 0.7582 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.6962, allocations: 37.64 kB / 0.7582 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.6965, allocations: 288.2 kB / 0.7585 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6966, allocations: 127 kB / 0.7586 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.6968, allocations: 98.11 kB / 0.7587 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.697, allocations: 358.8 kB / 0.7591 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.6973, allocations: 152.7 kB / 0.7592 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.6978, allocations: 275.7 kB / 0.7595 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008064/0.6986, allocations: 445.6 kB / 0.7599 GB, free: 64 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6986, allocations: 4 kB / 0.7599 GB, free: 60 kB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001146/0.6997, allocations: 0.5484 MB / 0.7604 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.6998, allocations: 11.94 kB / 0.7605 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6998, allocations: 4 kB / 0.7605 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.7014, allocations: 240.9 kB / 0.7607 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.7018, allocations: 107.9 kB / 0.7608 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005249/0.7023, allocations: 0.5914 MB / 0.7614 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.7026, allocations: 55.61 kB / 0.7614 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/0.7027, allocations: 43.98 kB / 0.7615 GB, free: 14.42 MB / 0.5762 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.000298/0.703, allocations: 191.9 kB / 0.7616 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.7031, allocations: 55.67 kB / 0.7617 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.7052, allocations: 1.086 MB / 0.7628 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.7052, allocations: 7.938 kB / 0.7628 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7052, allocations: 0 / 0.7628 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.7052, allocations: 4 kB / 0.7628 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.7068, allocations: 1.032 MB / 0.7638 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.7068, allocations: 4 kB / 0.7638 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.707, allocations: 51.91 kB / 0.7638 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003281/0.7103, allocations: 448.3 kB / 0.7643 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.7103, allocations: 12 kB / 0.7643 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005395/0.7109, allocations: 0.6031 MB / 0.7649 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7109, allocations: 7.969 kB / 0.7649 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009854/0.7119, allocations: 0.5085 MB / 0.7654 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.712, allocations: 136.7 kB / 0.7655 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.775e-05/0.7121, allocations: 11.98 kB / 0.7655 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.7125, allocations: 20 kB / 0.7655 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.7126, allocations: 27.91 kB / 0.7656 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.7126, allocations: 19.92 kB / 0.7656 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000574/0.7132, allocations: 422.8 kB / 0.766 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7132, allocations: 0 / 0.766 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009472/0.7141, allocations: 295.2 kB / 0.7663 GB, free: 9.34 MB / 0.5762 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.0008116/0.7149, allocations: 373.9 kB / 0.7666 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009677/0.7159, allocations: 372.3 kB / 0.767 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7159, allocations: 3.906 kB / 0.767 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.7163, allocations: 155.8 kB / 0.7671 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.7181, allocations: 363.2 kB / 0.7675 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.7198, allocations: 0.9421 MB / 0.7684 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.7204, allocations: 0.8557 MB / 0.7692 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003781/0.7208, allocations: 127.3 kB / 0.7693 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.7208, allocations: 0 / 0.7693 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of Templates: time 0.0233/0.7441, allocations: 14.78 MB / 0.7838 GB, free: 7.363 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.18270069101709]