Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 182.9 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.263/1.263, allocations: 205.4 MB / 223.6 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006939/0.0006937, allocations: 91.12 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3054/0.3054, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003284, allocations: 12 kB / 432.6 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09797/0.09831, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.308, allocations: 0.6119 GB / 1.092 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.308, allocations: 98.11 kB / 1.092 GB, free: 176.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.6442/1.953, allocations: 232.9 MB / 1.319 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/1.953, allocations: 0 / 1.319 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.208e-05/1.953, allocations: 12.66 kB / 1.319 GB, free: 101.6 MB / 0.5105 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.002514/1.955, allocations: 1.002 MB / 1.32 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/1.955, allocations: 11.05 kB / 1.32 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.957, allocations: 148.3 kB / 1.321 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008754/1.957, allocations: 0.5017 MB / 1.321 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/1.957, allocations: 32.12 kB / 1.321 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/1.958, allocations: 39.19 kB / 1.321 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.959, allocations: 0.6038 MB / 1.322 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.959, allocations: 4.969 kB / 1.322 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/1.959, allocations: 20.91 kB / 1.322 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/1.959, allocations: 10.31 kB / 1.322 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/1.96, allocations: 0.4936 MB / 1.322 GB, free: 100.8 MB / 0.5105 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.002677/1.962, allocations: 2.662 MB / 1.325 GB, free: 99.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/1.963, allocations: 332.3 kB / 1.325 GB, free: 98.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/1.963, allocations: 167.5 kB / 1.325 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/1.964, allocations: 1.312 MB / 1.327 GB, free: 97.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/1.964, allocations: 41.53 kB / 1.327 GB, free: 97.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/1.964, allocations: 0 / 1.327 GB, free: 97.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001597/1.966, allocations: 0.7168 MB / 1.327 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/1.966, allocations: 132.5 kB / 1.327 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/1.967, allocations: 0.495 MB / 1.328 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.176e-05/1.967, allocations: 37.39 kB / 1.328 GB, free: 97.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/1.967, allocations: 275.3 kB / 1.328 GB, free: 97.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/1.967, allocations: 117.6 kB / 1.328 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/1.967, allocations: 12.06 kB / 1.328 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.912e-05/1.967, allocations: 359.6 kB / 1.329 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/1.967, allocations: 184.9 kB / 1.329 GB, free: 96.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/1.968, allocations: 321.5 kB / 1.329 GB, free: 96.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006783/1.968, allocations: 495.3 kB / 1.33 GB, free: 96.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.968, allocations: 3.281 kB / 1.33 GB, free: 96.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001088/1.97, allocations: 0.6337 MB / 1.33 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.97, allocations: 8.234 kB / 1.33 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/1.97, allocations: 6.125 kB / 1.33 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/1.971, allocations: 235 kB / 1.331 GB, free: 96.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/1.971, allocations: 147.4 kB / 1.331 GB, free: 96.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006474/1.978, allocations: 28.75 MB / 1.359 GB, free: 66.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006218/1.978, allocations: 72.02 kB / 1.359 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.979, allocations: 48.56 kB / 1.359 GB, free: 66.87 MB / 0.5105 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 (56): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.000339/1.979, allocations: 192.1 kB / 1.359 GB, free: 66.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/1.979, allocations: 57.88 kB / 1.359 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/1.981, allocations: 0.6864 MB / 1.36 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/1.981, allocations: 2.844 kB / 1.36 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/1.981, allocations: 0 / 1.36 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.981, allocations: 3.344 kB / 1.36 GB, free: 66.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/1.982, allocations: 0.9635 MB / 1.361 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.982, allocations: 2.094 kB / 1.361 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/1.982, allocations: 49.22 kB / 1.361 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/1.983, allocations: 239.4 kB / 1.361 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/1.983, allocations: 15.22 kB / 1.361 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002943/1.984, allocations: 0.5923 MB / 1.362 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.984, allocations: 6.344 kB / 1.362 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/1.984, allocations: 486.3 kB / 1.362 GB, free: 65.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/1.985, allocations: 164.3 kB / 1.362 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.791e-05/1.985, allocations: 13.66 kB / 1.362 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/1.985, allocations: 40.39 kB / 1.362 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/1.985, allocations: 21.27 kB / 1.362 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/1.985, allocations: 14.73 kB / 1.362 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004335/1.986, allocations: 387.1 kB / 1.363 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/1.986, allocations: 2.625 kB / 1.363 GB, free: 65.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001844/1.987, allocations: 430.8 kB / 1.363 GB, free: 65.25 MB / 0.5105 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 (25): * Single equations (assignments): 24 * 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 Backend phase and start with SimCode phase: time 0.002079/1.99, allocations: 1.171 MB / 1.364 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001031/1.991, allocations: 457 kB / 1.365 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.991, allocations: 5.188 kB / 1.365 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/1.991, allocations: 151.2 kB / 1.365 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.992, allocations: 292.8 kB / 1.365 GB, free: 65.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/1.994, allocations: 1.105 MB / 1.366 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/1.994, allocations: 0.8519 MB / 1.367 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/1.995, allocations: 100.1 kB / 1.367 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/1.995, allocations: 0 / 1.367 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.03638/2.031, allocations: 28.94 MB / 1.395 GB, free: 62.07 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:boundary.ports[1].h_outflow,boundary.ports[1].m_flow,boundary.ports[1].p,fitting1.port_b.h_outflow,fitting1.port_b.m_flow,fitting1.port_b.p,fitting2.port_b.h_outflow,fitting2.port_b.m_flow,fitting2.port_b.p,ramp.y,sensor.port_b.h_outflow,sensor.port_b.m_flow,sensor.port_b.p,time