Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001801/0.001801, allocations: 123.9 kB / 18.46 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002161/0.002161, allocations: 205.8 kB / 21.41 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 251.6 MB, free: 260 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.16 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] 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.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 85.88 kB / 490.2 MB, free: 27.96 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.138, allocations: 62.45 MB / 0.5397 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003698/0.1418, allocations: 1.819 MB / 0.5415 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.1444, allocations: 1.391 MB / 0.5428 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.962e-05/0.1445, allocations: 0 / 0.5428 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002663/0.1448, allocations: 39.77 kB / 0.5429 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.1451, allocations: 51.61 kB / 0.5429 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006435/0.1457, allocations: 255 kB / 0.5432 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1459, allocations: 107.4 kB / 0.5433 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.146, allocations: 5.125 kB / 0.5433 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.1462, allocations: 55.66 kB / 0.5433 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.1463, allocations: 51.77 kB / 0.5434 GB, free: 464 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1463, allocations: 4 kB / 0.5434 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008031/0.1471, allocations: 0.5068 MB / 0.5439 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.1472, allocations: 23.84 kB / 0.5439 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.315e-05/0.1473, allocations: 43.67 kB / 0.5439 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.1479, allocations: 358.8 kB / 0.5443 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.1479, allocations: 4 kB / 0.5443 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1479, allocations: 7.984 kB / 0.5443 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1479, allocations: 0 / 0.5443 GB, free: 15.51 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007338/0.1487, allocations: 450.5 kB / 0.5447 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1487, allocations: 12.03 kB / 0.5447 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.1488, allocations: 8.891 kB / 0.5447 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.1489, allocations: 184.1 kB / 0.5449 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.149, allocations: 12.38 kB / 0.5449 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.767e-05/0.149, allocations: 12.12 kB / 0.5449 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1494, allocations: 137.6 kB / 0.5451 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1494, allocations: 0 / 0.5451 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1494, allocations: 4 kB / 0.5451 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1494, allocations: 4 kB / 0.5451 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.1497, allocations: 135.9 kB / 0.5452 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1508, allocations: 0.5184 MB / 0.5457 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.1511, allocations: 106.5 kB / 0.5458 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001417/0.1513, allocations: 48.83 kB / 0.5459 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.1513, allocations: 4 kB / 0.5459 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.1514, allocations: 30.56 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1514, allocations: 0 / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005523/0.1519, allocations: 173.4 kB / 0.5461 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.152, allocations: 51.41 kB / 0.5461 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1521, allocations: 113.8 kB / 0.5462 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.1521, allocations: 29.7 kB / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.1522, allocations: 123.6 kB / 0.5464 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1523, allocations: 35.69 kB / 0.5464 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.1523, allocations: 29.72 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1525, allocations: 322.8 kB / 0.5467 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1527, allocations: 39.97 kB / 0.5468 GB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1528, allocations: 77.48 kB / 0.5468 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.1531, allocations: 136.9 kB / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1531, allocations: 0 / 0.547 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003677/0.1535, allocations: 165.9 kB / 0.5471 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1536, allocations: 7.938 kB / 0.5471 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1536, allocations: 4 kB / 0.5471 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1536, allocations: 0 / 0.5471 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.1538, allocations: 43.97 kB / 0.5472 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004941/0.1543, allocations: 0.5976 MB / 0.5478 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.1544, allocations: 20.17 kB / 0.5478 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1545, allocations: 4 kB / 0.5478 GB, free: 11.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001103/0.1546, allocations: 117.8 kB / 0.5479 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.1546, allocations: 7.953 kB / 0.5479 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.1551, allocations: 180.7 kB / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1551, allocations: 0 / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.1551, allocations: 7.938 kB / 0.5481 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1551, allocations: 3.938 kB / 0.5481 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.1554, allocations: 213.5 kB / 0.5483 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1554, allocations: 0 / 0.5483 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.1556, allocations: 39.97 kB / 0.5483 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.1557, allocations: 4 kB / 0.5483 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1557, allocations: 4 kB / 0.5484 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.1561, allocations: 0.5859 MB / 0.5489 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1561, allocations: 0 / 0.5489 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.1566, allocations: 303.5 kB / 0.5492 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.585e-05/0.1568, allocations: 96.95 kB / 0.5493 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1568, allocations: 0 / 0.5493 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1569, allocations: 11.98 kB / 0.5493 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.157, allocations: 19.91 kB / 0.5493 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.157, allocations: 4 kB / 0.5493 GB, free: 9.918 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.758e-05/0.157, allocations: 87.27 kB / 0.5494 GB, free: 9.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1571, allocations: 0 / 0.5494 GB, free: 9.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004146/0.1575, allocations: 79.69 kB / 0.5495 GB, free: 9.754 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004261/0.1579, allocations: 182.9 kB / 0.5497 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004115/0.1583, allocations: 127.9 kB / 0.5498 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1583, allocations: 0 / 0.5498 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.1585, allocations: 71.91 kB / 0.5499 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.1589, allocations: 11.98 kB / 0.5499 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007119/0.1596, allocations: 314 kB / 0.5502 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.16, allocations: 0.7081 MB / 0.5509 GB, free: 8.293 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.1601, allocations: 16.5 kB / 0.5509 GB, free: 8.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.1601, allocations: 23.42 kB / 0.5509 GB, free: 8.254 MB / 414.1 MB Notification: Performance of SimCode: time 2.044e-06/0.1601, allocations: 0 / 0.5509 GB, free: 8.254 MB / 414.1 MB Notification: Performance of Templates: time 0.006289/0.1664, allocations: 2.351 MB / 0.5532 GB, free: 5.938 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.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: 5.072865636087954]