Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.001618/0.001618, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001758/0.001758, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.44/1.44, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2164/0.2164, allocations: 46.97 MB / 361.6 MB, free: 4.055 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.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.83 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 66.03 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice): time 0.1951/0.4924, allocations: 155.7 MB / 0.7139 GB, free: 7.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005899/0.4983, allocations: 3.439 MB / 0.7172 GB, free: 4.438 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.4986, allocations: 27.75 kB / 0.7173 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008842/0.4995, allocations: 325.5 kB / 0.7176 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.5027, allocations: 1.382 MB / 0.7189 GB, free: 2.711 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.5052, allocations: 1.066 MB / 0.72 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.5071, allocations: 1.614 MB / 0.7215 GB, free: 28 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005165/0.5076, allocations: 350.2 kB / 0.7219 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008643/0.5085, allocations: 0.6111 MB / 0.7225 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006395/0.5091, allocations: 493.9 kB / 0.723 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.5092, allocations: 56 kB / 0.723 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.5113, allocations: 1.131 MB / 0.7241 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.5115, allocations: 171.3 kB / 0.7243 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003394/0.5118, allocations: 302.7 kB / 0.7246 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.5139, allocations: 1.554 MB / 0.7261 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5139, allocations: 0 / 0.7261 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5139, allocations: 0 / 0.7261 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.5139, allocations: 0 / 0.7261 GB, free: 11.37 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002056/0.5159, allocations: 1.132 MB / 0.7272 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.516, allocations: 8.031 kB / 0.7272 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.5172, allocations: 163.4 kB / 0.7273 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.5184, allocations: 0.5503 MB / 0.7279 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.5184, allocations: 29 kB / 0.7279 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.481e-05/0.5185, allocations: 40 kB / 0.7279 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5197, allocations: 0.9364 MB / 0.7289 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5197, allocations: 0 / 0.7289 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.5198, allocations: 24 kB / 0.7289 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.5198, allocations: 8 kB / 0.7289 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.5207, allocations: 0.4895 MB / 0.7294 GB, free: 7.801 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.003199/0.5239, allocations: 2.032 MB / 0.7314 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.5244, allocations: 299.5 kB / 0.7316 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.5248, allocations: 182.9 kB / 0.7318 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.525, allocations: 39.97 kB / 0.7319 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/0.5256, allocations: 0.5182 MB / 0.7324 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.5256, allocations: 0 / 0.7324 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001269/0.5269, allocations: 0.6816 MB / 0.733 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.5271, allocations: 290.7 kB / 0.7333 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.5276, allocations: 0.4949 MB / 0.7338 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.555e-05/0.5277, allocations: 33.7 kB / 0.7338 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.528, allocations: 340.1 kB / 0.7341 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.5281, allocations: 127 kB / 0.7343 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.5283, allocations: 130.1 kB / 0.7344 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.5285, allocations: 370.7 kB / 0.7347 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.5288, allocations: 200.5 kB / 0.7349 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/0.5294, allocations: 0.6146 MB / 0.7355 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.5303, allocations: 0.5677 MB / 0.7361 GB, free: 380 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.5303, allocations: 3.938 kB / 0.7361 GB, free: 376 kB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.2238/0.7541, allocations: 0.6814 MB / 0.7368 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/0.7541, allocations: 37.95 kB / 0.7368 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.7542, allocations: 5.969 kB / 0.7368 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.7542, allocations: 8.328 kB / 0.7368 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/0.7581, allocations: 417.5 kB / 0.7372 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003868/0.7585, allocations: 0.6252 MB / 0.7378 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.7589, allocations: 54.88 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.7591, allocations: 54.59 kB / 0.7379 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004915/0.7596, allocations: 317.8 kB / 0.7382 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00044/0.76, allocations: 0.6039 MB / 0.7388 GB, free: 174 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006592/0.7607, allocations: 0.5365 MB / 0.7393 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.686e-06/0.7607, allocations: 1.844 kB / 0.7393 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009281/0.7616, allocations: 0.6559 MB / 0.74 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.7616, allocations: 43.75 kB / 0.74 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.7616, allocations: 7.75 kB / 0.74 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.483e-06/0.7616, allocations: 10.91 kB / 0.74 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.762, allocations: 124.8 kB / 0.7402 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.762, allocations: 13.19 kB / 0.7402 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.7624, allocations: 46.41 kB / 0.7402 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/0.7625, allocations: 51.41 kB / 0.7403 GB, free: 173.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001898/0.7627, allocations: 258.9 kB / 0.7405 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.7628, allocations: 65.23 kB / 0.7406 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.7646, allocations: 1.23 MB / 0.7418 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7646, allocations: 2.016 kB / 0.7418 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7646, allocations: 3.656 kB / 0.7418 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.7647, allocations: 59.62 kB / 0.7418 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.7648, allocations: 13.16 kB / 0.7418 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/0.7651, allocations: 17.58 kB / 0.7419 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.7651, allocations: 33.95 kB / 0.7419 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009242/0.7661, allocations: 0.6894 MB / 0.7426 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009977/0.7671, allocations: 0.9808 MB / 0.7435 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002254/0.7673, allocations: 203.7 kB / 0.7437 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002767/0.7676, allocations: 354.1 kB / 0.7441 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/0.7676, allocations: 0 / 0.7441 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00665/0.7742, allocations: 1.551 MB / 0.7456 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001874/0.7761, allocations: 1.687 MB / 0.7472 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.02469/0.8008, allocations: 21.1 MB / 0.7678 GB, free: 147.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Fittings/TestSharpEdgedOrifice/TestSharpEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice.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.065302610004437]