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.001227/0.001227, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 79.86 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3165, allocations: 62.44 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003172/0.3198, allocations: 1.813 MB / 0.5335 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.3222, allocations: 1.388 MB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.638e-05/0.3223, allocations: 1.875 kB / 0.5348 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.3225, allocations: 46.75 kB / 0.5349 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.3228, allocations: 56.27 kB / 0.5349 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.3234, allocations: 242.9 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001762/0.3236, allocations: 102.7 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.492e-05/0.3237, allocations: 14.89 kB / 0.5352 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.3239, allocations: 61.23 kB / 0.5353 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3241, allocations: 44.44 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3241, allocations: 4.562 kB / 0.5354 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008241/0.3249, allocations: 0.5078 MB / 0.5359 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.3249, allocations: 14.67 kB / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.325, allocations: 49.41 kB / 0.5359 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.3256, allocations: 361.1 kB / 0.5363 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3256, allocations: 5.406 kB / 0.5363 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3256, allocations: 0 / 0.5363 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3256, allocations: 0 / 0.5363 GB, free: 10.15 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.0006912/0.3263, allocations: 438.5 kB / 0.5367 GB, free: 9.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3264, allocations: 9.594 kB / 0.5367 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.3265, allocations: 15.19 kB / 0.5367 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.3266, allocations: 171.4 kB / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.3267, allocations: 13.66 kB / 0.5369 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.3267, allocations: 15.84 kB / 0.5369 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.3271, allocations: 146.2 kB / 0.537 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3271, allocations: 3.984 kB / 0.537 GB, free: 9.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.3271, allocations: 5.469 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3271, allocations: 2.625 kB / 0.537 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.3275, allocations: 133.2 kB / 0.5372 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.3285, allocations: 0.5173 MB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.3289, allocations: 103.6 kB / 0.5378 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.329, allocations: 53.83 kB / 0.5378 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3291, allocations: 1.125 kB / 0.5378 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3291, allocations: 36.66 kB / 0.5379 GB, free: 8.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.3291, allocations: 0 / 0.5379 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005789/0.3297, allocations: 168 kB / 0.538 GB, free: 8.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.3298, allocations: 52.56 kB / 0.5381 GB, free: 8.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3299, allocations: 115 kB / 0.5382 GB, free: 8.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.19e-05/0.3299, allocations: 25.7 kB / 0.5382 GB, free: 8.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.33, allocations: 120.2 kB / 0.5383 GB, free: 8.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.33, allocations: 41.02 kB / 0.5384 GB, free: 8.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.011e-05/0.3301, allocations: 40.83 kB / 0.5384 GB, free: 8.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3303, allocations: 320 kB / 0.5387 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3304, allocations: 37.41 kB / 0.5387 GB, free: 7.855 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.3306, allocations: 80.81 kB / 0.5388 GB, free: 7.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3309, allocations: 129.8 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3309, allocations: 1.438 kB / 0.5389 GB, free: 7.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003534/0.3312, allocations: 160.2 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3313, allocations: 6.375 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3313, allocations: 1.125 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.3313, allocations: 2.156 kB / 0.5391 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.3315, allocations: 50.38 kB / 0.5392 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004541/0.332, allocations: 0.5923 MB / 0.5397 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3321, allocations: 17.5 kB / 0.5397 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.3322, allocations: 6.562 kB / 0.5398 GB, free: 6.965 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 0.0001289/0.3323, allocations: 122.1 kB / 0.5399 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.3323, allocations: 12.44 kB / 0.5399 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.3329, allocations: 164.2 kB / 0.54 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3329, allocations: 1.188 kB / 0.54 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3329, allocations: 8.812 kB / 0.5401 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3329, allocations: 7.984 kB / 0.5401 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.3332, allocations: 214.1 kB / 0.5403 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3333, allocations: 1.094 kB / 0.5403 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.3335, allocations: 38.02 kB / 0.5403 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3335, allocations: 8.984 kB / 0.5403 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3335, allocations: 5.188 kB / 0.5403 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000324/0.3339, allocations: 0.5839 MB / 0.5409 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3339, allocations: 4.094 kB / 0.5409 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.3344, allocations: 291.6 kB / 0.5412 GB, free: 5.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3345, allocations: 101.9 kB / 0.5413 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3346, allocations: 9.125 kB / 0.5413 GB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3347, allocations: 11.64 kB / 0.5413 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.3348, allocations: 17.64 kB / 0.5413 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3348, allocations: 3.312 kB / 0.5413 GB, free: 5.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.035e-05/0.3349, allocations: 90.73 kB / 0.5414 GB, free: 5.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3349, allocations: 0 / 0.5414 GB, free: 5.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.3354, allocations: 78.66 kB / 0.5415 GB, free: 5.41 MB / 398.1 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.0004663/0.3358, allocations: 172.1 kB / 0.5416 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.3363, allocations: 121.5 kB / 0.5417 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3363, allocations: 1.562 kB / 0.5417 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.3366, allocations: 84.2 kB / 0.5418 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.3369, allocations: 7.844 kB / 0.5418 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008574/0.3378, allocations: 331.7 kB / 0.5421 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3382, allocations: 0.7134 MB / 0.5428 GB, free: 4.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.3382, allocations: 15.31 kB / 0.5429 GB, free: 4.227 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3383, allocations: 0 / 0.5429 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Templates: time 0.006341/0.3446, allocations: 2.602 MB / 0.5454 GB, free: 2.863 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