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.001327/0.001327, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00149/0.00149, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.585/1.585, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 83.86 kB / 482 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3869, 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.003687/0.3906, allocations: 1.803 MB / 0.5334 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3929, allocations: 1.4 MB / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.393, allocations: 0 / 0.5348 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.3932, allocations: 44.12 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.3934, allocations: 55.86 kB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.3939, allocations: 244.6 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.3941, allocations: 107.4 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.3941, allocations: 9.234 kB / 0.5353 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.3943, allocations: 61.7 kB / 0.5353 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.3944, allocations: 45.34 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3945, allocations: 3.969 kB / 0.5354 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.3952, allocations: 0.5123 MB / 0.5359 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.3952, allocations: 14.02 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.3953, allocations: 49.16 kB / 0.5359 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005375/0.3958, allocations: 357.4 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3958, allocations: 1.156 kB / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3958, allocations: 0 / 0.5363 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3958, allocations: 0 / 0.5363 GB, free: 10.14 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.0005619/0.3964, allocations: 439.7 kB / 0.5367 GB, free: 9.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3965, allocations: 12.66 kB / 0.5367 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.134e-05/0.3965, allocations: 19.38 kB / 0.5367 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3966, allocations: 175.5 kB / 0.5369 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3967, allocations: 8.719 kB / 0.5369 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.3967, allocations: 12.03 kB / 0.5369 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.397, allocations: 151.2 kB / 0.537 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.397, allocations: 0 / 0.537 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.397, allocations: 5.156 kB / 0.537 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3971, allocations: 2.906 kB / 0.5371 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003148/0.3974, allocations: 136.7 kB / 0.5372 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008651/0.3983, allocations: 0.5091 MB / 0.5377 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.3985, allocations: 108.2 kB / 0.5378 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.3987, allocations: 49.86 kB / 0.5378 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.3987, allocations: 8.953 kB / 0.5378 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.3987, allocations: 32.5 kB / 0.5379 GB, free: 8.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3987, allocations: 0 / 0.5379 GB, free: 8.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004761/0.3992, allocations: 164.5 kB / 0.538 GB, free: 8.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.3993, allocations: 52.5 kB / 0.5381 GB, free: 8.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.432e-05/0.3994, allocations: 118.3 kB / 0.5382 GB, free: 8.402 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.3994, allocations: 26.95 kB / 0.5382 GB, free: 8.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/0.3995, allocations: 120.2 kB / 0.5383 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3995, allocations: 36.02 kB / 0.5384 GB, free: 8.223 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.3995, allocations: 40.95 kB / 0.5384 GB, free: 8.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3997, allocations: 321.1 kB / 0.5387 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.3998, allocations: 41.34 kB / 0.5387 GB, free: 7.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.3999, allocations: 74.72 kB / 0.5388 GB, free: 7.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.4002, allocations: 135.2 kB / 0.5389 GB, free: 7.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4002, allocations: 1.125 kB / 0.539 GB, free: 7.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003262/0.4005, allocations: 160.6 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.4006, allocations: 6.25 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4006, allocations: 1.125 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4006, allocations: 2.469 kB / 0.5391 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.4008, allocations: 49.81 kB / 0.5392 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003337/0.4012, allocations: 0.5918 MB / 0.5397 GB, free: 6.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.4013, allocations: 26.75 kB / 0.5398 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.4013, allocations: 9.172 kB / 0.5398 GB, free: 6.945 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.235e-05/0.4014, allocations: 118.6 kB / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.4014, allocations: 4.125 kB / 0.5399 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.4019, allocations: 177.4 kB / 0.5401 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4019, allocations: 1.281 kB / 0.5401 GB, free: 6.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4019, allocations: 3.938 kB / 0.5401 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4019, allocations: 4.953 kB / 0.5401 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.4021, allocations: 213.5 kB / 0.5403 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4022, allocations: 0.9688 kB / 0.5403 GB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.4023, allocations: 34.58 kB / 0.5403 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.4024, allocations: 3.984 kB / 0.5403 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.4024, allocations: 9.656 kB / 0.5403 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002791/0.4027, allocations: 0.5875 MB / 0.5409 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4027, allocations: 0 / 0.5409 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.4031, allocations: 295.6 kB / 0.5412 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.4032, allocations: 106.8 kB / 0.5413 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.4033, allocations: 0 / 0.5413 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4034, allocations: 12.45 kB / 0.5413 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.4034, allocations: 9.141 kB / 0.5413 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4034, allocations: 4.688 kB / 0.5413 GB, free: 5.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.4035, allocations: 94.58 kB / 0.5414 GB, free: 5.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4035, allocations: 0 / 0.5414 GB, free: 5.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003994/0.4039, allocations: 77.34 kB / 0.5415 GB, free: 5.406 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.0003125/0.4042, allocations: 176.3 kB / 0.5416 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003793/0.4046, allocations: 122.6 kB / 0.5418 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4046, allocations: 0 / 0.5418 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.4048, allocations: 80.14 kB / 0.5418 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.4051, allocations: 12.41 kB / 0.5418 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.4058, allocations: 344.4 kB / 0.5422 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.4061, allocations: 0.7054 MB / 0.5429 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.4062, allocations: 20.44 kB / 0.5429 GB, free: 4.215 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4062, allocations: 0 / 0.5429 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Templates: time 0.004878/0.4111, allocations: 2.596 MB / 0.5454 GB, free: 2.855 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