Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|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_cpp_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=10000,variableFilter="time|frac_A1toA2|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_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009695/0.0009696, allocations: 175.2 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006678/0.0006679, allocations: 102.3 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2841/0.2841, allocations: 43.55 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 12 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09616, allocations: 58.85 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001775/0.09797, allocations: 1.492 MB / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.09966, allocations: 1.264 MB / 493.6 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.09972, allocations: 4 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.09989, allocations: 35.81 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.1, allocations: 43.69 kB / 493.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.1004, allocations: 203.3 kB / 493.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1006, allocations: 103.4 kB / 494 MB, free: 7.492 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.1006, allocations: 9.109 kB / 494 MB, free: 7.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1008, allocations: 47.78 kB / 494 MB, free: 7.434 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.734e-05/0.1008, allocations: 47.77 kB / 494.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.1009, allocations: 4 kB / 494.1 MB, free: 7.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005916/0.1015, allocations: 479 kB / 494.6 MB, free: 6.914 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.1015, allocations: 15.86 kB / 494.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.1015, allocations: 65.5 kB / 494.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.1018, allocations: 219.7 kB / 494.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1019, allocations: 0 / 494.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1019, allocations: 0 / 494.8 MB, free: 6.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1019, allocations: 0 / 494.8 MB, free: 6.613 MB / 378.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.0004966/0.1024, allocations: 427.2 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1024, allocations: 8.031 kB / 495.3 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.1025, allocations: 16.75 kB / 495.3 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1026, allocations: 180.2 kB / 495.5 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1026, allocations: 8.375 kB / 495.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1026, allocations: 12.12 kB / 495.5 MB, free: 5.891 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1029, allocations: 153.6 kB / 495.6 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1029, allocations: 3.984 kB / 495.6 MB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.1029, allocations: 12 kB / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.103, allocations: 0 / 495.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.1033, allocations: 147.8 kB / 495.8 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.104, allocations: 0.5182 MB / 496.3 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1043, allocations: 110.5 kB / 496.4 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.1044, allocations: 52.83 kB / 496.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.1045, allocations: 4 kB / 496.5 MB, free: 4.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.1045, allocations: 30.56 kB / 496.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1045, allocations: 0 / 496.5 MB, free: 4.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004485/0.1049, allocations: 185.3 kB / 496.7 MB, free: 4.586 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.105, allocations: 55.41 kB / 496.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.124e-05/0.1051, allocations: 117.8 kB / 496.9 MB, free: 4.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1051, allocations: 25.7 kB / 496.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.1051, allocations: 119.7 kB / 497 MB, free: 4.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1052, allocations: 35.41 kB / 497 MB, free: 4.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.1052, allocations: 0 / 497 MB, free: 4.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1053, allocations: 322.8 kB / 497.3 MB, free: 3.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.1054, allocations: 39.97 kB / 497.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1056, allocations: 92.91 kB / 497.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.1058, allocations: 144.9 kB / 497.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1058, allocations: 0 / 497.6 MB, free: 3.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003509/0.1062, allocations: 173.3 kB / 497.8 MB, free: 3.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1062, allocations: 4 kB / 497.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1062, allocations: 4 kB / 497.8 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1062, allocations: 160 / 497.8 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002022/0.1065, allocations: 51.97 kB / 497.8 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003179/0.1068, allocations: 0.5937 MB / 498.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.802e-05/0.1069, allocations: 15.92 kB / 498.5 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.1069, allocations: 12 kB / 498.5 MB, free: 2.699 MB / 378.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/0.107, allocations: 121.9 kB / 498.6 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.107, allocations: 4 kB / 498.6 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003967/0.1074, allocations: 190.1 kB / 498.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1074, allocations: 0 / 498.8 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1075, allocations: 3.938 kB / 498.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1075, allocations: 0 / 498.8 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.1077, allocations: 213.6 kB / 499 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1077, allocations: 0 / 499 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.1079, allocations: 47.97 kB / 499 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1079, allocations: 0 / 499 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.108, allocations: 0 / 499 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003013/0.1083, allocations: 0.5937 MB / 499.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1083, allocations: 0 / 499.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.1087, allocations: 315.4 kB / 499.9 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.1088, allocations: 92.97 kB / 0.4883 GB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1088, allocations: 4 kB / 0.4883 GB, free: 1.016 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1089, allocations: 16.05 kB / 0.4883 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.109, allocations: 11.92 kB / 0.4883 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.109, allocations: 8 kB / 0.4883 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.327e-05/0.1091, allocations: 95.2 kB / 0.4884 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.713e-06/0.1091, allocations: 0 / 0.4884 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003158/0.1094, allocations: 79.77 kB / 0.4885 GB, free: 0.8086 MB / 378.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002828/0.1097, allocations: 167.1 kB / 0.4887 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.11, allocations: 135.9 kB / 0.4888 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1101, allocations: 0 / 0.4888 GB, free: 0.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.1103, allocations: 79.89 kB / 0.4889 GB, free: 432 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.1105, allocations: 20.19 kB / 0.4889 GB, free: 412 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1624/0.2729, allocations: 397.5 kB / 0.4893 GB, free: 43.24 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.2731, allocations: 0.7015 MB / 0.49 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.2732, allocations: 16.62 kB / 0.49 GB, free: 42.54 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.2732, allocations: 1.766 kB / 0.49 GB, free: 42.54 MB / 378.7 MB Notification: Performance of Templates: time 0.004626/0.2778, allocations: 2.486 MB / 0.4924 GB, free: 42.41 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches