Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.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.0009935/0.0009935, allocations: 91.22 kB / 20.43 MB, free: 4.141 MB / 18.57 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.0009736/0.0009736, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.999/0.999, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1469/0.1469, allocations: 32.38 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.361e-05, allocations: 2.312 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002334/0.002358, allocations: 1.859 MB / 349.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.003857, allocations: 1.364 MB / 350.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.003925, allocations: 0 / 350.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.004145, allocations: 35.77 kB / 351 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.004296, allocations: 63.48 kB / 351 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.004751, allocations: 247 kB / 351.3 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.00486, allocations: 115.3 kB / 351.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.004908, allocations: 5.312 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.005061, allocations: 55.83 kB / 351.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.882e-05/0.005129, allocations: 47.75 kB / 351.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.005147, allocations: 4 kB / 351.5 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.005542, allocations: 307.3 kB / 351.8 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.005573, allocations: 15.92 kB / 351.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.005617, allocations: 35.84 kB / 351.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.005964, allocations: 311 kB / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.005969, allocations: 0 / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.00597, allocations: 0 / 352.1 MB, free: 4.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.005975, allocations: 0 / 352.1 MB, free: 4.945 MB / 282.7 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.0004072/0.006382, allocations: 471.7 kB / 352.6 MB, free: 4.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.006425, allocations: 8.031 kB / 352.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.00648, allocations: 24.84 kB / 352.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.482e-05/0.006555, allocations: 120.5 kB / 352.8 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.00657, allocations: 8.375 kB / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.006598, allocations: 12.38 kB / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.006776, allocations: 126.9 kB / 352.9 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.006785, allocations: 3.938 kB / 352.9 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.006799, allocations: 11.98 kB / 352.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.006807, allocations: 0 / 352.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.006887, allocations: 63.95 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.007486, allocations: 446.5 kB / 353.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.007628, allocations: 95.08 kB / 353.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.007668, allocations: 23.69 kB / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.00769, allocations: 7.984 kB / 353.5 MB, free: 3.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.007709, allocations: 33.39 kB / 353.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/0.007711, allocations: 4 kB / 353.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002096/0.00792, allocations: 117.4 kB / 353.7 MB, free: 3.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.007944, allocations: 51.41 kB / 353.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.008002, allocations: 177.8 kB / 353.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.008013, allocations: 37.7 kB / 354 MB, free: 2.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.008049, allocations: 158.6 kB / 354.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.008068, allocations: 35.69 kB / 354.1 MB, free: 2.766 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.00811, allocations: 43.36 kB / 354.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.112e-05/0.008151, allocations: 496.1 kB / 354.7 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.00818, allocations: 23.98 kB / 354.7 MB, free: 2.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.635e-05/0.008227, allocations: 74.05 kB / 354.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.00831, allocations: 117.9 kB / 354.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.008313, allocations: 0 / 354.9 MB, free: 1.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001277/0.00844, allocations: 125.5 kB / 355 MB, free: 1.828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.008453, allocations: 11.94 kB / 355 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.008459, allocations: 0 / 355 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.008474, allocations: 4 kB / 355 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.008605, allocations: 47.91 kB / 355.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/0.008796, allocations: 0.8974 MB / 356 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.008846, allocations: 11.95 kB / 356 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.008855, allocations: 4 kB / 356 MB, free: 0.8242 MB / 282.7 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 5.837e-05/0.008913, allocations: 176.4 kB / 356.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.008933, allocations: 11.95 kB / 356.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.009116, allocations: 134.5 kB / 356.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.009119, allocations: 4 kB / 356.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.009122, allocations: 0 / 356.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.009125, allocations: 0 / 356.3 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.009252, allocations: 168.5 kB / 356.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.009254, allocations: 0 / 356.5 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.009345, allocations: 47.84 kB / 356.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.009349, allocations: 7.984 kB / 356.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.00936, allocations: 0 / 356.5 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002506/0.009611, allocations: 0.8894 MB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.009612, allocations: 4.031 kB / 357.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.009814, allocations: 291.7 kB / 357.7 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.00985, allocations: 23.88 kB / 357.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.009866, allocations: 0 / 357.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.009911, allocations: 4 kB / 357.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.009954, allocations: 11.98 kB / 357.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.009963, allocations: 11.92 kB / 357.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.764e-05/0.01001, allocations: 131.2 kB / 357.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01001, allocations: 0 / 357.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002541/0.01026, allocations: 79.62 kB / 357.9 MB, free: 14.75 MB / 298.7 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.0002569/0.01052, allocations: 174.9 kB / 358.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.01073, allocations: 94.53 kB / 358.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01074, allocations: 0 / 358.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.01081, allocations: 66.09 kB / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.01102, allocations: 16.75 kB / 358.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.01177, allocations: 309.9 kB / 358.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.01182, allocations: 71.28 kB / 358.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.01187, allocations: 20.7 kB / 358.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.01191, allocations: 16.5 kB / 358.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01191, allocations: 0 / 358.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of Templates: time 0.004704/0.01661, allocations: 2.655 MB / 361.4 MB, free: 11.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.356058751232922]