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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=10000,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=10000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001224/0.001225, allocations: 207.9 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1986/0.1986, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 84.09 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3053, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002699/0.308, allocations: 1.812 MB / 0.5335 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.3101, allocations: 1.392 MB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.3102, allocations: 9.031 kB / 0.5348 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.3104, allocations: 39.77 kB / 0.5349 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.3106, allocations: 51.17 kB / 0.5349 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.3112, allocations: 248.7 kB / 0.5352 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.3113, allocations: 106.2 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.3114, allocations: 9.734 kB / 0.5353 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.3116, allocations: 62.48 kB / 0.5353 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.3117, allocations: 48.5 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3117, allocations: 3.531 kB / 0.5354 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007116/0.3125, allocations: 0.5042 MB / 0.5359 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.3125, allocations: 18.62 kB / 0.5359 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.3125, allocations: 41.48 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.3131, allocations: 366 kB / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3131, allocations: 0 / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3131, allocations: 0 / 0.5363 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3131, allocations: 0 / 0.5363 GB, free: 10.17 MB / 398.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.0005573/0.3137, allocations: 442 kB / 0.5367 GB, free: 9.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3137, allocations: 8.531 kB / 0.5367 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.3138, allocations: 18.47 kB / 0.5367 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3139, allocations: 176.4 kB / 0.5369 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.3139, allocations: 12.84 kB / 0.5369 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.314, allocations: 16.38 kB / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.3143, allocations: 141.8 kB / 0.537 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3143, allocations: 1.125 kB / 0.537 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3143, allocations: 5.062 kB / 0.5371 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3143, allocations: 2.219 kB / 0.5371 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.3146, allocations: 137 kB / 0.5372 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.3155, allocations: 0.5137 MB / 0.5377 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3158, allocations: 100.3 kB / 0.5378 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3159, allocations: 52.52 kB / 0.5378 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3159, allocations: 2.281 kB / 0.5378 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.316, allocations: 39.81 kB / 0.5379 GB, free: 8.703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.316, allocations: 0 / 0.5379 GB, free: 8.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004554/0.3164, allocations: 160.2 kB / 0.538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3165, allocations: 60.59 kB / 0.5381 GB, free: 8.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/0.3166, allocations: 111.2 kB / 0.5382 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3166, allocations: 29.7 kB / 0.5382 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.3166, allocations: 120.4 kB / 0.5383 GB, free: 8.285 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.3167, allocations: 36.08 kB / 0.5384 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.3167, allocations: 41.14 kB / 0.5384 GB, free: 8.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.3168, allocations: 321.2 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.317, allocations: 37.41 kB / 0.5387 GB, free: 7.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.3171, allocations: 82.84 kB / 0.5388 GB, free: 7.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.3174, allocations: 131.1 kB / 0.539 GB, free: 7.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3174, allocations: 5.031 kB / 0.539 GB, free: 7.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003205/0.3177, allocations: 153.6 kB / 0.5391 GB, free: 7.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.3177, allocations: 5.438 kB / 0.5391 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3178, allocations: 5.375 kB / 0.5391 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3178, allocations: 2.75 kB / 0.5391 GB, free: 7.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.318, allocations: 49.28 kB / 0.5392 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003157/0.3183, allocations: 0.5892 MB / 0.5397 GB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3184, allocations: 17.47 kB / 0.5398 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.3185, allocations: 9.453 kB / 0.5398 GB, free: 6.988 MB / 398.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.354e-05/0.3186, allocations: 126.2 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.3186, allocations: 4.281 kB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000393/0.319, allocations: 169.6 kB / 0.5401 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.319, allocations: 7.984 kB / 0.5401 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.319, allocations: 4 kB / 0.5401 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-05/0.3191, allocations: 98.09 kB / 0.5402 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3191, allocations: 1.25 kB / 0.5402 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3193, allocations: 16.7 kB / 0.5402 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.3193, allocations: 8.578 kB / 0.5402 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004857/0.3198, allocations: 248.9 kB / 0.5404 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004847/0.3203, allocations: 372.4 kB / 0.5408 GB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001331/0.3205, allocations: 64.42 kB / 0.5408 GB, free: 6.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.3205, allocations: 91.09 kB / 0.5409 GB, free: 6.035 MB / 398.1 MB Notification: Performance of Backend: time 3.11e-07/0.3205, allocations: 0 / 0.5409 GB, free: 6.035 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007921/0.3213, allocations: 253.1 kB / 0.5412 GB, free: 5.887 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006441/0.322, allocations: 0.7158 MB / 0.5419 GB, free: 5.203 MB / 398.1 MB Notification: Performance of Templates: time 0.005844/0.3278, allocations: 2.963 MB / 0.5448 GB, free: 3.703 MB / 398.1 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/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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