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.0009649/0.000965, allocations: 97.69 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.00117, allocations: 195 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.7 MB / 246.4 MB, free: 9.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1901/0.1901, allocations: 46.19 MB / 344.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002889, allocations: 12.2 kB / 418.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 63.56 MB / 482.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4609/0.5819, allocations: 169.8 MB / 0.6369 GB, free: 11.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.5872, allocations: 3.138 MB / 0.64 GB, free: 8.168 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.5876, allocations: 19.88 kB / 0.64 GB, free: 8.148 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006896/0.5883, allocations: 246.3 kB / 0.6402 GB, free: 7.906 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:783:36-784:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:781:36-782:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003299/0.5916, allocations: 1.186 MB / 0.6414 GB, free: 6.719 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00158/0.5932, allocations: 0.5792 MB / 0.642 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002243/0.5955, allocations: 1.754 MB / 0.6437 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000655/0.5962, allocations: 342 kB / 0.644 GB, free: 4.055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.5973, allocations: 0.5175 MB / 0.6445 GB, free: 3.535 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000726/0.598, allocations: 446.2 kB / 0.6449 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.5981, allocations: 28 kB / 0.645 GB, free: 3.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.6003, allocations: 1.025 MB / 0.646 GB, free: 2.047 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.6005, allocations: 131.5 kB / 0.6461 GB, free: 1.918 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.6008, allocations: 149.4 kB / 0.6462 GB, free: 1.766 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.6026, allocations: 1.04 MB / 0.6472 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.6026, allocations: 0 / 0.6472 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6026, allocations: 0 / 0.6472 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.6026, allocations: 0 / 0.6472 GB, free: 0.7227 MB / 478.1 MB 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.002313/0.605, allocations: 0.9271 MB / 0.6482 GB, free: 15.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.605, allocations: 8.031 kB / 0.6482 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009834/0.606, allocations: 151.1 kB / 0.6483 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/0.6068, allocations: 456.8 kB / 0.6487 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.6068, allocations: 37 kB / 0.6488 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.6069, allocations: 40 kB / 0.6488 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.608, allocations: 0.5906 MB / 0.6494 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.608, allocations: 4 kB / 0.6494 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.6081, allocations: 23.94 kB / 0.6494 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.6081, allocations: 15.94 kB / 0.6494 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.609, allocations: 499.6 kB / 0.6499 GB, free: 13.87 MB / 494.1 MB 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.003311/0.6123, allocations: 2.671 MB / 0.6525 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.6131, allocations: 358.1 kB / 0.6529 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.6134, allocations: 173.3 kB / 0.653 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004025/0.6138, allocations: 441.8 kB / 0.6534 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.6139, allocations: 38.84 kB / 0.6535 GB, free: 9.879 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.6139, allocations: 0 / 0.6535 GB, free: 9.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001671/0.6155, allocations: 0.746 MB / 0.6542 GB, free: 9.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/0.6156, allocations: 140.5 kB / 0.6543 GB, free: 8.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/0.6163, allocations: 494 kB / 0.6548 GB, free: 8.445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.6163, allocations: 33.7 kB / 0.6548 GB, free: 8.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.6166, allocations: 279.9 kB / 0.6551 GB, free: 8.129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.6168, allocations: 122.2 kB / 0.6552 GB, free: 8.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.6168, allocations: 8 kB / 0.6552 GB, free: 8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6169, allocations: 358.8 kB / 0.6556 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.6173, allocations: 156.8 kB / 0.6557 GB, free: 7.484 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.6177, allocations: 283.7 kB / 0.656 GB, free: 7.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.6181, allocations: 189 kB / 0.6562 GB, free: 6.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6181, allocations: 0 / 0.6562 GB, free: 6.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009613/0.619, allocations: 0.5486 MB / 0.6567 GB, free: 6.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6191, allocations: 12 kB / 0.6567 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6191, allocations: 3.953 kB / 0.6567 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.6205, allocations: 292.5 kB / 0.657 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.6209, allocations: 111.9 kB / 0.6571 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004461/0.6213, allocations: 0.5952 MB / 0.6577 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.6217, allocations: 67.56 kB / 0.6578 GB, free: 5.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.6218, allocations: 44 kB / 0.6578 GB, free: 5.266 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.622, allocations: 177.7 kB / 0.658 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/0.6221, allocations: 55.34 kB / 0.658 GB, free: 5.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.6242, allocations: 1.124 MB / 0.6591 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6242, allocations: 0 / 0.6591 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6242, allocations: 0 / 0.6591 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.561e-05/0.6242, allocations: 15.98 kB / 0.6591 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.6257, allocations: 1.024 MB / 0.6601 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.6257, allocations: 4 kB / 0.6601 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.6259, allocations: 51.97 kB / 0.6602 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002986/0.6289, allocations: 0.5433 MB / 0.6607 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.6289, allocations: 8 kB / 0.6607 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/0.6294, allocations: 0.6108 MB / 0.6613 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6294, allocations: 0 / 0.6613 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.6302, allocations: 0.5117 MB / 0.6618 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.6304, allocations: 164.3 kB / 0.662 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.432e-05/0.6305, allocations: 11.95 kB / 0.662 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003453/0.6309, allocations: 39.88 kB / 0.662 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.6309, allocations: 23.97 kB / 0.6621 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.631, allocations: 15.98 kB / 0.6621 GB, free: 0.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.6314, allocations: 394.8 kB / 0.6624 GB, free: 332 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.412e-06/0.6315, allocations: 0 / 0.6624 GB, free: 332 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008149/0.6323, allocations: 287.7 kB / 0.6627 GB, free: 44 kB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008652/0.6331, allocations: 382.8 kB / 0.6631 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008249/0.634, allocations: 388.8 kB / 0.6635 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.634, allocations: 0 / 0.6635 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.6344, allocations: 169.8 kB / 0.6636 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6357, allocations: 277.2 kB / 0.6639 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.6372, allocations: 1.1 MB / 0.665 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.6376, allocations: 0.8594 MB / 0.6658 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001153/0.6388, allocations: 0.5493 MB / 0.6663 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.6391, allocations: 87.39 kB / 0.6664 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.6391, allocations: 0 / 0.6664 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.02278/0.6618, allocations: 13.79 MB / 0.6799 GB, free: 14.5 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/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