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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001339, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 79.86 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3458, allocations: 62.43 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2093/0.5551, allocations: 186 MB / 0.7133 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.5609, allocations: 3.253 MB / 0.7165 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008022/0.5617, allocations: 15.88 kB / 0.7165 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.563, allocations: 321.8 kB / 0.7168 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004418/0.5675, allocations: 1.416 MB / 0.7182 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.5696, allocations: 0.7433 MB / 0.7189 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.3324/0.9021, allocations: 1.552 MB / 0.7204 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009704/0.9031, allocations: 428.2 kB / 0.7208 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001342/0.9044, allocations: 0.5979 MB / 0.7214 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008686/0.9053, allocations: 462.6 kB / 0.7219 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.9055, allocations: 52.47 kB / 0.7219 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.9081, allocations: 1.206 MB / 0.7231 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.9083, allocations: 155.6 kB / 0.7232 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.9089, allocations: 352.3 kB / 0.7236 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.9116, allocations: 1.499 MB / 0.725 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.9117, allocations: 0.9688 kB / 0.725 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9117, allocations: 0 / 0.725 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.9117, allocations: 0 / 0.725 GB, free: 3.375 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.00207/0.9138, allocations: 1.059 MB / 0.7261 GB, free: 18.79 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.9138, allocations: 11.55 kB / 0.7261 GB, free: 18.79 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.9149, allocations: 138.1 kB / 0.7262 GB, free: 18.76 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008391/0.9157, allocations: 0.4921 MB / 0.7267 GB, free: 18.5 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.9158, allocations: 33.84 kB / 0.7267 GB, free: 18.5 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/0.9159, allocations: 40.91 kB / 0.7268 GB, free: 18.5 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.917, allocations: 0.5926 MB / 0.7273 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.917, allocations: 2.375 kB / 0.7273 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.9171, allocations: 19.78 kB / 0.7274 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.9171, allocations: 13.2 kB / 0.7274 GB, free: 18.39 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.9181, allocations: 480.3 kB / 0.7278 GB, free: 18.38 MB / 0.5763 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.002889/0.921, allocations: 2.676 MB / 0.7304 GB, free: 16.59 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.9218, allocations: 358.2 kB / 0.7308 GB, free: 16.56 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.9221, allocations: 171.6 kB / 0.731 GB, free: 16.55 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/0.9224, allocations: 438.9 kB / 0.7314 GB, free: 16.09 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.9225, allocations: 37.78 kB / 0.7314 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=33): time 3.497e-06/0.9225, allocations: 0.9375 kB / 0.7314 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of matching and sorting (n=33): time 0.001673/0.9242, allocations: 0.7317 MB / 0.7321 GB, free: 15.88 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.9243, allocations: 132.7 kB / 0.7322 GB, free: 15.72 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.9248, allocations: 494.3 kB / 0.7327 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.9248, allocations: 33.64 kB / 0.7328 GB, free: 15.58 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.925, allocations: 286.6 kB / 0.733 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.9251, allocations: 116.7 kB / 0.7331 GB, free: 15.36 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.9253, allocations: 104.6 kB / 0.7332 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.9254, allocations: 364.8 kB / 0.7336 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.9257, allocations: 143.7 kB / 0.7337 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.9261, allocations: 284.1 kB / 0.734 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.9267, allocations: 448 kB / 0.7344 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.9268, allocations: 0.8438 kB / 0.7344 GB, free: 14.76 MB / 0.5763 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009494/0.9277, allocations: 0.5487 MB / 0.735 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.9277, allocations: 10.22 kB / 0.735 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9278, allocations: 2.812 kB / 0.735 GB, free: 14.69 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.9292, allocations: 240.1 kB / 0.7352 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/0.9296, allocations: 108.5 kB / 0.7353 GB, free: 14.68 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004479/0.93, allocations: 0.5967 MB / 0.7359 GB, free: 14.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.9305, allocations: 49.44 kB / 0.7359 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/0.9306, allocations: 47.11 kB / 0.736 GB, free: 14.13 MB / 0.5763 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.000259/0.9308, allocations: 174.8 kB / 0.7361 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.931, allocations: 60.56 kB / 0.7362 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.9327, allocations: 1.085 MB / 0.7373 GB, free: 13.86 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.9327, allocations: 6.75 kB / 0.7373 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9327, allocations: 1.812 kB / 0.7373 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9327, allocations: 3.797 kB / 0.7373 GB, free: 13.85 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.9342, allocations: 1.038 MB / 0.7383 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.9342, allocations: 7.938 kB / 0.7383 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.9344, allocations: 47.05 kB / 0.7383 GB, free: 13.47 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/0.9375, allocations: 447.9 kB / 0.7388 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.9375, allocations: 12.5 kB / 0.7388 GB, free: 13.46 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004719/0.938, allocations: 0.6026 MB / 0.7394 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.938, allocations: 11.06 kB / 0.7394 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.9391, allocations: 0.5068 MB / 0.7399 GB, free: 12.73 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/0.9394, allocations: 138.9 kB / 0.74 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/0.9396, allocations: 13.97 kB / 0.74 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.94, allocations: 17.97 kB / 0.74 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.9401, allocations: 28 kB / 0.7401 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.9402, allocations: 19.78 kB / 0.7401 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0005747/0.9407, allocations: 422.8 kB / 0.7405 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9408, allocations: 0 / 0.7405 GB, free: 12.51 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00113/0.9419, allocations: 281.6 kB / 0.7408 GB, free: 12.48 MB / 0.5763 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.001189/0.9431, allocations: 387.1 kB / 0.7411 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0009105/0.944, allocations: 385.9 kB / 0.7415 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.944, allocations: 0.9688 kB / 0.7415 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003551/0.9444, allocations: 165 kB / 0.7416 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.9461, allocations: 355.8 kB / 0.742 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.9478, allocations: 0.9313 MB / 0.7429 GB, free: 11.82 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.9482, allocations: 0.8547 MB / 0.7437 GB, free: 11.12 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.9486, allocations: 131 kB / 0.7439 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of SimCode: time 6.51e-07/0.9486, allocations: 0 / 0.7439 GB, free: 11.11 MB / 0.5763 GB Notification: Performance of Templates: time 0.02078/0.9694, allocations: 14.72 MB / 0.7582 GB, free: 9.766 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches