Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002419/0.002419, allocations: 210.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2372/0.2372, allocations: 46.96 MB / 360.9 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 71.89 kB / 0.4966 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3301, allocations: 66.03 MB / 0.5611 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2123/0.5425, allocations: 161.7 MB / 0.719 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006525/0.549, allocations: 3.04 MB / 0.722 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.5496, allocations: 19.81 kB / 0.722 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.5508, allocations: 317.9 kB / 0.7223 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.5551, allocations: 1.429 MB / 0.7237 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.5571, allocations: 0.7356 MB / 0.7244 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002385/0.5595, allocations: 1.586 MB / 0.726 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007609/0.5603, allocations: 367.8 kB / 0.7263 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.5615, allocations: 0.6111 MB / 0.7269 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/0.5624, allocations: 486 kB / 0.7274 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.5626, allocations: 52 kB / 0.7274 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.5649, allocations: 0.944 MB / 0.7284 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.5652, allocations: 163.4 kB / 0.7285 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.5656, allocations: 298.8 kB / 0.7288 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.568, allocations: 1.445 MB / 0.7302 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.568, allocations: 4 kB / 0.7302 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.568, allocations: 0 / 0.7302 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.568, allocations: 0 / 0.7302 GB, free: 6.348 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.001993/0.57, allocations: 0.9944 MB / 0.7312 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.5701, allocations: 16.03 kB / 0.7312 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.5711, allocations: 143.5 kB / 0.7313 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5721, allocations: 437.5 kB / 0.7317 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.5722, allocations: 36.94 kB / 0.7318 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.5723, allocations: 43.94 kB / 0.7318 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.5736, allocations: 0.8957 MB / 0.7327 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5736, allocations: 0 / 0.7327 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.103e-05/0.5737, allocations: 20 kB / 0.7327 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.5737, allocations: 12 kB / 0.7327 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5747, allocations: 479.6 kB / 0.7332 GB, free: 3.121 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.002883/0.5776, allocations: 1.9 MB / 0.735 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000778/0.5784, allocations: 323.5 kB / 0.7354 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003277/0.5787, allocations: 157.3 kB / 0.7355 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.5789, allocations: 52.25 kB / 0.7356 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.579, allocations: 38.84 kB / 0.7356 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.579, allocations: 4 kB / 0.7356 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.2552/0.8342, allocations: 0.6429 MB / 0.7362 GB, free: 176.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.8343, allocations: 134 kB / 0.7363 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.8349, allocations: 427 kB / 0.7368 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.835, allocations: 39.61 kB / 0.7368 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.8352, allocations: 293.1 kB / 0.7371 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.8353, allocations: 125 kB / 0.7372 GB, free: 176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.8355, allocations: 100.5 kB / 0.7373 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.8356, allocations: 355.8 kB / 0.7376 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004064/0.836, allocations: 149.5 kB / 0.7378 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005114/0.8365, allocations: 365.6 kB / 0.7381 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008424/0.8374, allocations: 443.9 kB / 0.7385 GB, free: 175 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.8374, allocations: 1.562 kB / 0.7385 GB, free: 175 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001153/0.8385, allocations: 0.5405 MB / 0.7391 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8386, allocations: 10.16 kB / 0.7391 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.8386, allocations: 3.438 kB / 0.7391 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.8401, allocations: 250.5 kB / 0.7393 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.8405, allocations: 101.8 kB / 0.7394 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003436/0.8408, allocations: 0.5937 MB / 0.74 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.8411, allocations: 44.42 kB / 0.74 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.8412, allocations: 46.31 kB / 0.7401 GB, free: 174.2 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.0001998/0.8414, allocations: 182.6 kB / 0.7403 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.8415, allocations: 51.45 kB / 0.7403 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.8433, allocations: 1.09 MB / 0.7414 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.8433, allocations: 3.688 kB / 0.7414 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8433, allocations: 3.281 kB / 0.7414 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.8433, allocations: 6.594 kB / 0.7414 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.8444, allocations: 0.8698 MB / 0.7422 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.8444, allocations: 3.609 kB / 0.7422 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.8446, allocations: 59.36 kB / 0.7423 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/0.8475, allocations: 448.5 kB / 0.7427 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.8475, allocations: 12 kB / 0.7427 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003091/0.8478, allocations: 0.6027 MB / 0.7433 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8478, allocations: 7.688 kB / 0.7433 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.8485, allocations: 0.504 MB / 0.7438 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.8486, allocations: 48.06 kB / 0.7439 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.8486, allocations: 10.11 kB / 0.7439 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.8489, allocations: 19.98 kB / 0.7439 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.849, allocations: 27.89 kB / 0.7439 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.849, allocations: 23.92 kB / 0.7439 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002991/0.8493, allocations: 336.5 kB / 0.7443 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8493, allocations: 0 / 0.7443 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007709/0.8501, allocations: 296.9 kB / 0.7446 GB, free: 171.2 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.0006015/0.8507, allocations: 366.8 kB / 0.7449 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007049/0.8514, allocations: 375.2 kB / 0.7453 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8514, allocations: 4 kB / 0.7453 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.8517, allocations: 149.3 kB / 0.7454 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.853, allocations: 277.8 kB / 0.7457 GB, free: 170.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.854, allocations: 0.9074 MB / 0.7466 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.8542, allocations: 267.1 kB / 0.7468 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007272/0.8549, allocations: 0.538 MB / 0.7473 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.8551, allocations: 83.39 kB / 0.7474 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.8551, allocations: 0 / 0.7474 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01952/0.8746, allocations: 15.57 MB / 0.7626 GB, free: 152.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.403216721955687]