Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 112.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 180.9 kB / 18.71 MB, free: 4.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3897, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.1951/0.5849, allocations: 183 MB / 0.6977 GB, free: 4.367 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005264/0.5902, allocations: 3.271 MB / 0.7009 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005698/0.5908, allocations: 11.94 kB / 0.7009 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.5918, allocations: 333.8 kB / 0.7012 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.5952, allocations: 1.392 MB / 0.7026 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.597, allocations: 0.7205 MB / 0.7033 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.5988, allocations: 1.551 MB / 0.7048 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005519/0.5993, allocations: 435.4 kB / 0.7052 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007511/0.6001, allocations: 0.5799 MB / 0.7058 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004815/0.6006, allocations: 462.1 kB / 0.7062 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.757e-05/0.6007, allocations: 55.94 kB / 0.7062 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.6028, allocations: 1.197 MB / 0.7074 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.6029, allocations: 159.5 kB / 0.7076 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.6033, allocations: 346.4 kB / 0.7079 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.6052, allocations: 1.507 MB / 0.7094 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6053, allocations: 8 kB / 0.7094 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6053, allocations: 0 / 0.7094 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.6053, allocations: 0 / 0.7094 GB, free: 8.344 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.001683/0.607, allocations: 1.077 MB / 0.7104 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.607, allocations: 8.031 kB / 0.7104 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009509/0.608, allocations: 143.5 kB / 0.7106 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.6087, allocations: 0.4929 MB / 0.7111 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.6087, allocations: 40.94 kB / 0.7111 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.6088, allocations: 40 kB / 0.7111 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.61, allocations: 0.5984 MB / 0.7117 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.61, allocations: 0 / 0.7117 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.6101, allocations: 20 kB / 0.7117 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.6101, allocations: 8 kB / 0.7117 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000981/0.6111, allocations: 479.6 kB / 0.7122 GB, free: 5.32 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.003129/0.6142, allocations: 2.687 MB / 0.7148 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.615, allocations: 347.5 kB / 0.7152 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.6153, allocations: 169.3 kB / 0.7153 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003324/0.6156, allocations: 437.8 kB / 0.7157 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.6157, allocations: 42.84 kB / 0.7158 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.6157, allocations: 0 / 0.7158 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001645/0.6173, allocations: 0.7384 MB / 0.7165 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.6174, allocations: 132.5 kB / 0.7166 GB, free: 408 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3032/0.9206, allocations: 491.5 kB / 0.7171 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002019/0.9209, allocations: 31.95 kB / 0.7171 GB, free: 191.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.9211, allocations: 285.7 kB / 0.7174 GB, free: 191 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.9213, allocations: 127.5 kB / 0.7175 GB, free: 191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.9215, allocations: 102.7 kB / 0.7176 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9216, allocations: 360.2 kB / 0.718 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.9221, allocations: 151 kB / 0.7181 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.9226, allocations: 283.8 kB / 0.7184 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.9234, allocations: 442.6 kB / 0.7188 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9235, allocations: 1.891 kB / 0.7188 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001138/0.9246, allocations: 0.5501 MB / 0.7193 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.9246, allocations: 10.28 kB / 0.7193 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9246, allocations: 3.469 kB / 0.7193 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001517/0.9262, allocations: 244.3 kB / 0.7196 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.9266, allocations: 105.8 kB / 0.7197 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000395/0.927, allocations: 0.5907 MB / 0.7203 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.9274, allocations: 50.06 kB / 0.7203 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.9275, allocations: 46.73 kB / 0.7204 GB, free: 189.3 MB / 0.5606 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.0002863/0.9278, allocations: 189.9 kB / 0.7205 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.9279, allocations: 55.36 kB / 0.7206 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.9301, allocations: 1.092 MB / 0.7217 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.9301, allocations: 6.984 kB / 0.7217 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9301, allocations: 1.438 kB / 0.7217 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.9301, allocations: 5.156 kB / 0.7217 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.9316, allocations: 1.035 MB / 0.7227 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9316, allocations: 1.219 kB / 0.7227 GB, free: 188.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.9318, allocations: 56.33 kB / 0.7227 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00297/0.9348, allocations: 442.6 kB / 0.7232 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.9348, allocations: 14.94 kB / 0.7232 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003508/0.9352, allocations: 0.6165 MB / 0.7238 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.9352, allocations: 1.375 kB / 0.7238 GB, free: 187.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007664/0.936, allocations: 0.5097 MB / 0.7243 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.9361, allocations: 138.6 kB / 0.7244 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.9362, allocations: 18.39 kB / 0.7244 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.9365, allocations: 23.83 kB / 0.7244 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.9366, allocations: 20.08 kB / 0.7245 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.9366, allocations: 15.25 kB / 0.7245 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005216/0.9372, allocations: 424.9 kB / 0.7249 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9372, allocations: 0 / 0.7249 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008715/0.9381, allocations: 285.7 kB / 0.7252 GB, free: 186.9 MB / 0.5606 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.0007783/0.9388, allocations: 386.9 kB / 0.7255 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007868/0.9396, allocations: 384 kB / 0.7259 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9397, allocations: 1.125 kB / 0.7259 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.94, allocations: 159.6 kB / 0.726 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.9415, allocations: 365.3 kB / 0.7264 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.9428, allocations: 0.9058 MB / 0.7273 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.943, allocations: 0.8644 MB / 0.7281 GB, free: 185.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009752/0.944, allocations: 0.5515 MB / 0.7287 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.9443, allocations: 96.08 kB / 0.7287 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.9443, allocations: 0 / 0.7287 GB, free: 184.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02217/0.9664, allocations: 15.94 MB / 0.7443 GB, free: 174.5 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches