Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001027/0.001027, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009821/0.0009821, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 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 0.9842/0.9842, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2456/0.2456, allocations: 34.27 MB / 295.7 MB, free: 0.7539 MB / 266.7 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.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_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_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 3.938 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.854e-05, allocations: 2.312 kB / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002104/0.002123, allocations: 1.868 MB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.003647, allocations: 1.367 MB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.497e-05/0.003702, allocations: 4 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.003889, allocations: 39.7 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.004016, allocations: 59.56 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.004393, allocations: 247 kB / 381.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.004498, allocations: 111.3 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.004539, allocations: 13.3 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.004711, allocations: 67.7 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.004769, allocations: 39.88 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.004783, allocations: 4 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.005125, allocations: 311.3 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.005145, allocations: 23.84 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.00518, allocations: 23.92 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003617/0.005542, allocations: 334.8 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005545, allocations: 0 / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005545, allocations: 4 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.005549, allocations: 0 / 382.6 MB, free: 14.1 MB / 362.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.0004009/0.00595, allocations: 467.8 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.005986, allocations: 8.031 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.006032, allocations: 24.84 kB / 383.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.093e-05/0.006113, allocations: 120.5 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.006126, allocations: 8.375 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.006156, allocations: 12.38 kB / 383.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.006333, allocations: 127.3 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.006342, allocations: 7.922 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.006355, allocations: 8 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006362, allocations: 4 kB / 383.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.804e-05/0.00645, allocations: 59.95 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.007069, allocations: 458.4 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.007211, allocations: 87.09 kB / 383.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.437e-05/0.007255, allocations: 27.67 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.007282, allocations: 8 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.007303, allocations: 37.39 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.007305, allocations: 0 / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002309/0.007535, allocations: 117.8 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.007562, allocations: 55.34 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.00764, allocations: 177.9 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.007654, allocations: 25.7 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.007714, allocations: 166.5 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.007738, allocations: 39.69 kB / 384.6 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.007778, allocations: 39.36 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.007887, allocations: 496.1 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.294e-05/0.00792, allocations: 19.98 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.898e-05/0.007979, allocations: 82.09 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.008084, allocations: 114.1 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.008086, allocations: 3.938 kB / 385.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001361/0.008222, allocations: 125.4 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.008235, allocations: 16.09 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.008239, allocations: 0 / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.008258, allocations: 4 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.008383, allocations: 43.97 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003195/0.008702, allocations: 0.8932 MB / 386.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.00875, allocations: 27.88 kB / 386.4 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.008759, allocations: 4 kB / 386.4 MB, free: 9.953 MB / 362.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 7.366e-05/0.008833, allocations: 172.5 kB / 386.6 MB, free: 9.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.008854, allocations: 7.953 kB / 386.6 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.009041, allocations: 126.1 kB / 386.7 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.009044, allocations: 4 kB / 386.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.009048, allocations: 0 / 386.7 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.009053, allocations: 7.969 kB / 386.7 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.009199, allocations: 168.4 kB / 386.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.009201, allocations: 0 / 386.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.009297, allocations: 43.91 kB / 386.9 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.0093, allocations: 4 kB / 386.9 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.009312, allocations: 4 kB / 386.9 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002532/0.009565, allocations: 0.8894 MB / 387.8 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009566, allocations: 3.984 kB / 387.8 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.009762, allocations: 291.7 kB / 388.1 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.009792, allocations: 15.88 kB / 388.1 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.009806, allocations: 4 kB / 388.1 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.552e-05/0.009852, allocations: 8.094 kB / 388.1 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.009889, allocations: 11.97 kB / 388.2 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.009897, allocations: 11.94 kB / 388.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.748e-05/0.009934, allocations: 135.5 kB / 388.3 MB, free: 7.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009934, allocations: 0 / 388.3 MB, free: 7.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.0102, allocations: 83.64 kB / 388.4 MB, free: 7.883 MB / 362.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.0002597/0.01046, allocations: 190.9 kB / 388.6 MB, free: 7.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.01066, allocations: 94.61 kB / 388.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01066, allocations: 0 / 388.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.01073, allocations: 63.41 kB / 388.7 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.01092, allocations: 8.312 kB / 388.7 MB, free: 7.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.01161, allocations: 309.5 kB / 389 MB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.01165, allocations: 67.28 kB / 389.1 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.813e-05/0.01169, allocations: 16.48 kB / 389.1 MB, free: 7.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.01173, allocations: 20.5 kB / 389.1 MB, free: 7.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01173, allocations: 4 kB / 389.1 MB, free: 7.066 MB / 362.7 MB Notification: Performance of Templates: time 0.004/0.01573, allocations: 2.398 MB / 391.5 MB, free: 4.715 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/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","",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.3362056827172637]