Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_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=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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 200.1 kB / 17.43 MB, free: 4.242 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007202/0.0007202, allocations: 99.62 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3176/0.3176, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.0002539, allocations: 4 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3111, allocations: 63.09 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.001623/0.3127, allocations: 1.501 MB / 0.5229 GB, free: 37.36 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.3145, allocations: 2.102 MB / 0.5249 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.3146, allocations: 0 / 0.5249 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.3148, allocations: 41.16 kB / 0.5249 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.3149, allocations: 42.69 kB / 0.525 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.3153, allocations: 209 kB / 0.5252 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.229e-05/0.3154, allocations: 102.6 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.3155, allocations: 14.45 kB / 0.5253 GB, free: 35.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.3157, allocations: 49.17 kB / 0.5253 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.3157, allocations: 46.33 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.3157, allocations: 6.75 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005447/0.3163, allocations: 495.9 kB / 0.5259 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.3163, allocations: 14.41 kB / 0.5259 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.3164, allocations: 70.14 kB / 0.526 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.3168, allocations: 355.8 kB / 0.5263 GB, free: 34.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3168, allocations: 0 / 0.5263 GB, free: 34.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3168, allocations: 0 / 0.5263 GB, free: 34.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3168, allocations: 0 / 0.5263 GB, free: 34.94 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.0003963/0.3172, allocations: 429.9 kB / 0.5267 GB, free: 34.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3173, allocations: 8.406 kB / 0.5267 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3173, allocations: 10.59 kB / 0.5267 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.415e-05/0.3174, allocations: 177.7 kB / 0.5269 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3174, allocations: 7.125 kB / 0.5269 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3174, allocations: 16.69 kB / 0.5269 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3177, allocations: 150.3 kB / 0.5271 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3177, allocations: 0 / 0.5271 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3177, allocations: 7.984 kB / 0.5271 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3177, allocations: 2.906 kB / 0.5271 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.318, allocations: 151.2 kB / 0.5272 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006791/0.3187, allocations: 0.5132 MB / 0.5277 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.3189, allocations: 113.6 kB / 0.5278 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.319, allocations: 52.94 kB / 0.5279 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3191, allocations: 3.984 kB / 0.5279 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.3191, allocations: 41.44 kB / 0.5279 GB, free: 33.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.3191, allocations: 0 / 0.5279 GB, free: 33.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003977/0.3195, allocations: 179.2 kB / 0.5281 GB, free: 33.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.3195, allocations: 54.34 kB / 0.5281 GB, free: 33.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.3196, allocations: 113.8 kB / 0.5282 GB, free: 33.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.3196, allocations: 25.7 kB / 0.5283 GB, free: 33.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.3196, allocations: 118.4 kB / 0.5284 GB, free: 33.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3197, allocations: 37.05 kB / 0.5284 GB, free: 33.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.3197, allocations: 2.969 kB / 0.5284 GB, free: 33.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.3197, allocations: 316.8 kB / 0.5287 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3198, allocations: 48.09 kB / 0.5288 GB, free: 32.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3199, allocations: 86.2 kB / 0.5289 GB, free: 32.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.3202, allocations: 148.1 kB / 0.529 GB, free: 32.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3202, allocations: 0 / 0.529 GB, free: 32.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002739/0.3205, allocations: 169.6 kB / 0.5292 GB, free: 32.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3205, allocations: 9.562 kB / 0.5292 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3205, allocations: 0 / 0.5292 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3205, allocations: 2.938 kB / 0.5292 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.3207, allocations: 54.78 kB / 0.5292 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001961/0.3209, allocations: 0.5877 MB / 0.5298 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.654e-05/0.321, allocations: 23.62 kB / 0.5298 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.321, allocations: 10.31 kB / 0.5298 GB, free: 32.02 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 (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 6.61e-05/0.3211, allocations: 123.1 kB / 0.5299 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3211, allocations: 6.844 kB / 0.5299 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.3215, allocations: 172.8 kB / 0.5301 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3215, allocations: 2.969 kB / 0.5301 GB, free: 31.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3215, allocations: 3.938 kB / 0.5301 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3215, allocations: 3.469 kB / 0.5301 GB, free: 31.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3217, allocations: 216.2 kB / 0.5303 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3217, allocations: 0 / 0.5303 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3219, allocations: 50.14 kB / 0.5304 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3219, allocations: 0 / 0.5304 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3219, allocations: 3.188 kB / 0.5304 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001602/0.3221, allocations: 0.5893 MB / 0.531 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3221, allocations: 0 / 0.531 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.3225, allocations: 317.5 kB / 0.5313 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.3225, allocations: 99.02 kB / 0.5314 GB, free: 30.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.3226, allocations: 6.969 kB / 0.5314 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3227, allocations: 13.11 kB / 0.5314 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.3227, allocations: 9.156 kB / 0.5314 GB, free: 30.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3227, allocations: 10.17 kB / 0.5314 GB, free: 30.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.407e-05/0.3228, allocations: 81 kB / 0.5315 GB, free: 30.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3228, allocations: 3.125 kB / 0.5315 GB, free: 30.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.3231, allocations: 80.16 kB / 0.5315 GB, free: 30.57 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 (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.0002416/0.3233, allocations: 186.8 kB / 0.5317 GB, free: 30.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.3237, allocations: 129.7 kB / 0.5318 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3237, allocations: 2.75 kB / 0.5319 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.3239, allocations: 86.78 kB / 0.5319 GB, free: 30.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.3241, allocations: 13.75 kB / 0.5319 GB, free: 30.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005295/0.3247, allocations: 378.1 kB / 0.5323 GB, free: 30.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3248, allocations: 0.7044 MB / 0.533 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.181e-05/0.3249, allocations: 16.95 kB / 0.533 GB, free: 29.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.331e-05/0.3249, allocations: 16.16 kB / 0.533 GB, free: 29.44 MB / 378.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3249, allocations: 7.938 kB / 0.533 GB, free: 29.43 MB / 378.7 MB Notification: Performance of Templates: time 0.004461/0.3294, allocations: 2.219 MB / 0.5352 GB, free: 29.19 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches