Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001515/0.001515, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.001606/0.001606, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.506/1.506, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.3174/0.3174, allocations: 46.89 MB / 361.1 MB, free: 4.707 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 79.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.445, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.6975/1.142, allocations: 186.8 MB / 0.7437 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005008/1.147, allocations: 3.293 MB / 0.7469 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008387/1.148, allocations: 13.25 kB / 0.7469 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/1.15, allocations: 337.3 kB / 0.7472 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/1.155, allocations: 1.416 MB / 0.7486 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/1.158, allocations: 0.744 MB / 0.7493 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003005/1.161, allocations: 1.565 MB / 0.7509 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006702/1.161, allocations: 361.8 kB / 0.7512 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/1.162, allocations: 0.5898 MB / 0.7518 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006875/1.163, allocations: 483.8 kB / 0.7522 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/1.163, allocations: 53.34 kB / 0.7523 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/1.167, allocations: 1.214 MB / 0.7535 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/1.167, allocations: 160.1 kB / 0.7536 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004376/1.167, allocations: 355.5 kB / 0.754 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002529/1.17, allocations: 1.509 MB / 0.7554 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.17, allocations: 3.969 kB / 0.7554 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.904e-06/1.17, allocations: 1.203 kB / 0.7554 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.17, allocations: 0 / 0.7554 GB, free: 1.59 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.00215/1.172, allocations: 1.079 MB / 0.7565 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.172, allocations: 13.36 kB / 0.7565 GB, free: 16.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009729/1.173, allocations: 146.5 kB / 0.7566 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008909/1.174, allocations: 0.493 MB / 0.7571 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/1.174, allocations: 34.97 kB / 0.7572 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/1.174, allocations: 36.84 kB / 0.7572 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/1.175, allocations: 0.5961 MB / 0.7578 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.175, allocations: 1.203 kB / 0.7578 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.425e-05/1.175, allocations: 21.81 kB / 0.7578 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/1.175, allocations: 11.97 kB / 0.7578 GB, free: 16.52 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/1.176, allocations: 479.3 kB / 0.7583 GB, free: 16.51 MB / 0.5762 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.003192/1.179, allocations: 2.675 MB / 0.7609 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/1.18, allocations: 331.2 kB / 0.7612 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002815/1.18, allocations: 158.6 kB / 0.7613 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000503/1.181, allocations: 440.1 kB / 0.7618 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.181, allocations: 38.41 kB / 0.7618 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/1.181, allocations: 0.875 kB / 0.7618 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001737/1.182, allocations: 0.73 MB / 0.7625 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/1.182, allocations: 136.3 kB / 0.7626 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005579/1.183, allocations: 492.8 kB / 0.7631 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.418e-05/1.183, allocations: 33.58 kB / 0.7632 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/1.183, allocations: 291.1 kB / 0.7634 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/1.183, allocations: 120.3 kB / 0.7635 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/1.184, allocations: 101.3 kB / 0.7636 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002041/1.184, allocations: 367.8 kB / 0.764 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/1.184, allocations: 146 kB / 0.7641 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/1.184, allocations: 285.1 kB / 0.7644 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/1.185, allocations: 445.4 kB / 0.7648 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.185, allocations: 3.375 kB / 0.7648 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009796/1.186, allocations: 0.5379 MB / 0.7654 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.186, allocations: 9.641 kB / 0.7654 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/1.186, allocations: 4.75 kB / 0.7654 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/1.188, allocations: 244.5 kB / 0.7656 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/1.188, allocations: 106.1 kB / 0.7657 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007565/1.189, allocations: 0.6005 MB / 0.7663 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/1.189, allocations: 51.16 kB / 0.7663 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/1.189, allocations: 44.52 kB / 0.7664 GB, free: 12.25 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.0004522/1.19, allocations: 187 kB / 0.7666 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/1.19, allocations: 60.78 kB / 0.7666 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/1.192, allocations: 1.088 MB / 0.7677 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.192, allocations: 3.938 kB / 0.7677 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.192, allocations: 2.078 kB / 0.7677 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.192, allocations: 5.734 kB / 0.7677 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/1.194, allocations: 1.033 MB / 0.7687 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/1.194, allocations: 3.188 kB / 0.7687 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/1.194, allocations: 50.28 kB / 0.7688 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/1.197, allocations: 441.1 kB / 0.7692 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.197, allocations: 14.42 kB / 0.7692 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005602/1.198, allocations: 0.6096 MB / 0.7698 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.198, allocations: 2.125 kB / 0.7698 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/1.199, allocations: 0.5114 MB / 0.7703 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002485/1.199, allocations: 147.6 kB / 0.7704 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.199, allocations: 10.28 kB / 0.7704 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/1.199, allocations: 22.02 kB / 0.7705 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/1.199, allocations: 30.69 kB / 0.7705 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/1.199, allocations: 16.52 kB / 0.7705 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005206/1.2, allocations: 420.3 kB / 0.7709 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/1.2, allocations: 0 / 0.7709 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001063/1.201, allocations: 289.3 kB / 0.7712 GB, free: 10.55 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.0009628/1.202, allocations: 393.2 kB / 0.7716 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009307/1.203, allocations: 359.5 kB / 0.7719 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.203, allocations: 3.406 kB / 0.7719 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/1.203, allocations: 163.1 kB / 0.7721 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/1.205, allocations: 354.7 kB / 0.7724 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/1.207, allocations: 0.92 MB / 0.7733 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005513/1.207, allocations: 0.8605 MB / 0.7741 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001015/1.208, allocations: 0.5493 MB / 0.7747 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/1.209, allocations: 90.08 kB / 0.7748 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of SimCode: time 9.01e-07/1.209, allocations: 2.266 kB / 0.7748 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of Templates: time 0.03007/1.239, allocations: 16.27 MB / 0.7906 GB, free: 5.59 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.843528389930725]