Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001639/0.001639, allocations: 118.7 kB / 19.18 MB, free: 3.887 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.002029/0.002029, allocations: 202.6 kB / 22.13 MB, free: 0.9414 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.432/1.432, allocations: 230.3 MB / 255.2 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2392/0.2392, allocations: 46.92 MB / 358.2 MB, free: 10.38 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 79.86 kB / 0.4925 GB, free: 7.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1218, allocations: 66 MB / 0.557 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002998/0.1248, allocations: 1.821 MB / 0.5588 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.127, allocations: 1.398 MB / 0.5601 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.487e-05/0.127, allocations: 0 / 0.5601 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1272, allocations: 47.75 kB / 0.5602 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1274, allocations: 59.55 kB / 0.5602 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.1279, allocations: 247 kB / 0.5605 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1281, allocations: 111.4 kB / 0.5606 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.1281, allocations: 9.125 kB / 0.5606 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1283, allocations: 55.77 kB / 0.5606 GB, free: 1.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.1283, allocations: 47.72 kB / 0.5607 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1284, allocations: 4 kB / 0.5607 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007333/0.1291, allocations: 0.503 MB / 0.5612 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.1291, allocations: 19.86 kB / 0.5612 GB, free: 1.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.1292, allocations: 39.73 kB / 0.5612 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.1297, allocations: 366.8 kB / 0.5616 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1297, allocations: 4 kB / 0.5616 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1297, allocations: 0 / 0.5616 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1297, allocations: 0 / 0.5616 GB, free: 0.7109 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.0006011/0.1303, allocations: 458.4 kB / 0.562 GB, free: 220 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1303, allocations: 8.031 kB / 0.562 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.469e-05/0.1304, allocations: 16.88 kB / 0.5621 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1305, allocations: 172.4 kB / 0.5622 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1305, allocations: 12.38 kB / 0.5622 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.1306, allocations: 20.12 kB / 0.5622 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.1309, allocations: 141.6 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.1309, allocations: 0 / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1309, allocations: 4 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1309, allocations: 4 kB / 0.5624 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.1312, allocations: 135.8 kB / 0.5625 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008795/0.1321, allocations: 0.5184 MB / 0.563 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002804/0.1324, allocations: 90.59 kB / 0.5631 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1325, allocations: 48.83 kB / 0.5632 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.1326, allocations: 7.984 kB / 0.5632 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1326, allocations: 34.56 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1326, allocations: 0 / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.000503/0.1331, allocations: 161.4 kB / 0.5634 GB, free: 14.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1331, allocations: 55.41 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1332, allocations: 125.7 kB / 0.5635 GB, free: 14.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1333, allocations: 29.7 kB / 0.5636 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.1333, allocations: 115.7 kB / 0.5637 GB, free: 14.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.1334, allocations: 35.7 kB / 0.5637 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.1334, allocations: 33.7 kB / 0.5637 GB, free: 14.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1336, allocations: 322.8 kB / 0.564 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1337, allocations: 35.97 kB / 0.5641 GB, free: 13.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.1339, allocations: 96.98 kB / 0.5642 GB, free: 13.81 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.1342, allocations: 128.9 kB / 0.5643 GB, free: 13.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1342, allocations: 0 / 0.5643 GB, free: 13.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003676/0.1345, allocations: 153.9 kB / 0.5644 GB, free: 13.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1345, allocations: 8 kB / 0.5644 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1345, allocations: 3.984 kB / 0.5644 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1346, allocations: 4.156 kB / 0.5645 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1348, allocations: 51.91 kB / 0.5645 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000397/0.1352, allocations: 0.5899 MB / 0.5651 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1353, allocations: 8 kB / 0.5651 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1353, allocations: 11.98 kB / 0.5651 GB, free: 12.81 MB / 430.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.0001051/0.1354, allocations: 129.8 kB / 0.5652 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.1354, allocations: 7.953 kB / 0.5652 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.1359, allocations: 170.2 kB / 0.5654 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1359, allocations: 3.984 kB / 0.5654 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.1359, allocations: 3.938 kB / 0.5654 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1359, allocations: 4 kB / 0.5654 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.1362, allocations: 213.6 kB / 0.5656 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1362, allocations: 3.938 kB / 0.5656 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.1364, allocations: 43.91 kB / 0.5657 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1364, allocations: 0 / 0.5657 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1364, allocations: 8 kB / 0.5657 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003321/0.1367, allocations: 0.586 MB / 0.5662 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1367, allocations: 0 / 0.5662 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.1373, allocations: 300 kB / 0.5665 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.1373, allocations: 105 kB / 0.5666 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1374, allocations: 0 / 0.5666 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1375, allocations: 12.11 kB / 0.5666 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1375, allocations: 11.98 kB / 0.5666 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.1375, allocations: 4 kB / 0.5666 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.482e-05/0.1376, allocations: 91.27 kB / 0.5667 GB, free: 11.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1376, allocations: 0 / 0.5667 GB, free: 11.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1379, allocations: 79.69 kB / 0.5668 GB, free: 10.94 MB / 430.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.0002974/0.1382, allocations: 171.2 kB / 0.567 GB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.1387, allocations: 127.8 kB / 0.5671 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1387, allocations: 320 / 0.5671 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.1389, allocations: 71.89 kB / 0.5672 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1392, allocations: 11.98 kB / 0.5672 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.1398, allocations: 337 kB / 0.5675 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1402, allocations: 0.7078 MB / 0.5682 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.1402, allocations: 15.44 kB / 0.5682 GB, free: 9.445 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1402, allocations: 4 kB / 0.5682 GB, free: 9.441 MB / 430.1 MB Notification: Performance of Templates: time 0.004838/0.145, allocations: 2.593 MB / 0.5707 GB, free: 6.852 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.487174517009407]