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.001325/0.001325, allocations: 116.1 kB / 19.13 MB, free: 3.945 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.001388/0.001388, allocations: 208.9 kB / 22.08 MB, free: 0.9961 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.435/1.435, allocations: 227.4 MB / 252.3 MB, free: 248 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.17 MB / 351.8 MB, free: 14.29 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.002303/0.002303, allocations: 81.89 kB / 490.9 MB, free: 28.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1187, allocations: 62.45 MB / 0.5404 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003034/0.1217, allocations: 1.826 MB / 0.5422 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.124, allocations: 1.379 MB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.1241, allocations: 0 / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.1243, allocations: 43.77 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1246, allocations: 51.62 kB / 0.5436 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.1252, allocations: 255 kB / 0.5438 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.1254, allocations: 103.4 kB / 0.5439 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.1254, allocations: 9.125 kB / 0.5439 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.1256, allocations: 55.67 kB / 0.544 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.564e-05/0.1257, allocations: 51.75 kB / 0.544 GB, free: 460 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1258, allocations: 4 kB / 0.544 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008051/0.1266, allocations: 0.5029 MB / 0.5445 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.766e-05/0.1266, allocations: 23.84 kB / 0.5446 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.1267, allocations: 47.67 kB / 0.5446 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.1272, allocations: 362.7 kB / 0.545 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1273, allocations: 0 / 0.545 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1273, allocations: 4 kB / 0.545 GB, free: 15.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.1273, allocations: 0 / 0.545 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.0006315/0.1279, allocations: 454.5 kB / 0.5454 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.128, allocations: 8.031 kB / 0.5454 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.128, allocations: 12.89 kB / 0.5454 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1282, allocations: 180.2 kB / 0.5456 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1282, allocations: 8.375 kB / 0.5456 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.1282, allocations: 16.12 kB / 0.5456 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.1286, allocations: 137.6 kB / 0.5457 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1286, allocations: 0 / 0.5457 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.1286, allocations: 4 kB / 0.5457 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1286, allocations: 4 kB / 0.5457 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.1289, allocations: 135.9 kB / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009292/0.1299, allocations: 0.5222 MB / 0.5464 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1302, allocations: 102.6 kB / 0.5465 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.1303, allocations: 52.83 kB / 0.5465 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1304, allocations: 0 / 0.5465 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1304, allocations: 38.56 kB / 0.5466 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1304, allocations: 0 / 0.5466 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000503/0.1309, allocations: 165.4 kB / 0.5467 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.131, allocations: 55.41 kB / 0.5468 GB, free: 13.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.1311, allocations: 113.8 kB / 0.5469 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1311, allocations: 25.7 kB / 0.5469 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.1312, allocations: 123.6 kB / 0.547 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1312, allocations: 35.69 kB / 0.5471 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.1313, allocations: 37.7 kB / 0.5471 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1314, allocations: 318.8 kB / 0.5474 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1316, allocations: 43.97 kB / 0.5474 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1317, allocations: 77.12 kB / 0.5475 GB, free: 12.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.132, allocations: 133.7 kB / 0.5476 GB, free: 12.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.132, allocations: 4 kB / 0.5476 GB, free: 12.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003636/0.1324, allocations: 161.4 kB / 0.5478 GB, free: 12.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1324, allocations: 4 kB / 0.5478 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1324, allocations: 7.938 kB / 0.5478 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1324, allocations: 0 / 0.5478 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.1327, allocations: 48.12 kB / 0.5479 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003983/0.1331, allocations: 0.5937 MB / 0.5484 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.1332, allocations: 19.95 kB / 0.5485 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1332, allocations: 4 kB / 0.5485 GB, free: 11.61 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 9.938e-05/0.1333, allocations: 121.8 kB / 0.5486 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.1334, allocations: 12.03 kB / 0.5486 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.1338, allocations: 165.9 kB / 0.5487 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.1338, allocations: 4 kB / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1338, allocations: 3.938 kB / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1338, allocations: 0 / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.1341, allocations: 217.5 kB / 0.549 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1341, allocations: 4 kB / 0.549 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.1344, allocations: 47.91 kB / 0.549 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1344, allocations: 0 / 0.549 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.1344, allocations: 7.984 kB / 0.549 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003414/0.1347, allocations: 0.586 MB / 0.5496 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1348, allocations: 0 / 0.5496 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.1353, allocations: 305.1 kB / 0.5499 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.842e-05/0.1354, allocations: 96.95 kB / 0.55 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1354, allocations: 8 kB / 0.55 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1355, allocations: 4 kB / 0.55 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.1356, allocations: 11.98 kB / 0.55 GB, free: 9.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1356, allocations: 12.05 kB / 0.55 GB, free: 9.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.384e-05/0.1356, allocations: 87.28 kB / 0.5501 GB, free: 9.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1357, allocations: 0 / 0.5501 GB, free: 9.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.136, allocations: 75.67 kB / 0.5502 GB, free: 9.75 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.0003247/0.1364, allocations: 182.8 kB / 0.5503 GB, free: 9.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000418/0.1368, allocations: 127.8 kB / 0.5505 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1368, allocations: 0 / 0.5505 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.137, allocations: 72.27 kB / 0.5505 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.1373, allocations: 16 kB / 0.5505 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.138, allocations: 337 kB / 0.5509 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1383, allocations: 0.7078 MB / 0.5516 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.1384, allocations: 19.7 kB / 0.5516 GB, free: 8.234 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1384, allocations: 0 / 0.5516 GB, free: 8.234 MB / 414.1 MB Notification: Performance of Templates: time 0.005041/0.1435, allocations: 2.586 MB / 0.5541 GB, free: 5.652 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.718221818911843]