Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5000,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_4.1.0-beta.om_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=5000,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_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001314/0.001314, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.236/0.236, allocations: 46.12 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 83.84 kB / 481.4 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.382, allocations: 62.45 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003503/0.3855, allocations: 1.811 MB / 0.5329 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.3879, allocations: 1.399 MB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.388, allocations: 1.188 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.3882, allocations: 43.28 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.3884, allocations: 51.98 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.3891, allocations: 243.3 kB / 0.5346 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3892, allocations: 107.4 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.3893, allocations: 5.25 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.3895, allocations: 61.7 kB / 0.5347 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.688e-05/0.3896, allocations: 49.59 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.3896, allocations: 4.125 kB / 0.5348 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008142/0.3904, allocations: 0.5076 MB / 0.5353 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.3905, allocations: 18.23 kB / 0.5353 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.3906, allocations: 49.25 kB / 0.5353 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.3911, allocations: 352.2 kB / 0.5357 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3912, allocations: 1.188 kB / 0.5357 GB, free: 10.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3912, allocations: 0 / 0.5357 GB, free: 10.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3912, allocations: 0 / 0.5357 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.0006334/0.3918, allocations: 454.2 kB / 0.5361 GB, free: 9.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3919, allocations: 10.16 kB / 0.5361 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.3919, allocations: 10.39 kB / 0.5361 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.3921, allocations: 183.9 kB / 0.5363 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3921, allocations: 9.375 kB / 0.5363 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.3921, allocations: 15.75 kB / 0.5363 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.3925, allocations: 141.8 kB / 0.5365 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3925, allocations: 5.094 kB / 0.5365 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.3925, allocations: 13.03 kB / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3925, allocations: 3.156 kB / 0.5365 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.3929, allocations: 131.8 kB / 0.5366 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.3939, allocations: 0.5059 MB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3941, allocations: 104.3 kB / 0.5372 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3943, allocations: 49.89 kB / 0.5373 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.3943, allocations: 8.953 kB / 0.5373 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3944, allocations: 31.91 kB / 0.5373 GB, free: 8.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.367e-06/0.3944, allocations: 5.406 kB / 0.5373 GB, free: 8.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005403/0.3949, allocations: 159.9 kB / 0.5375 GB, free: 8.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.395, allocations: 52.78 kB / 0.5375 GB, free: 8.516 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3951, allocations: 122.8 kB / 0.5376 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3951, allocations: 25.7 kB / 0.5376 GB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.3952, allocations: 116.7 kB / 0.5378 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.3953, allocations: 41.12 kB / 0.5378 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.3953, allocations: 36.34 kB / 0.5378 GB, free: 8.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3955, allocations: 321 kB / 0.5381 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.3956, allocations: 40.56 kB / 0.5382 GB, free: 7.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3958, allocations: 84.36 kB / 0.5383 GB, free: 7.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.3961, allocations: 135 kB / 0.5384 GB, free: 7.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3961, allocations: 0 / 0.5384 GB, free: 7.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003807/0.3965, allocations: 157.9 kB / 0.5385 GB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3965, allocations: 9.078 kB / 0.5385 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.3966, allocations: 6.125 kB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.3966, allocations: 2.188 kB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.3968, allocations: 48.56 kB / 0.5386 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004431/0.3973, allocations: 0.5928 MB / 0.5392 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3974, allocations: 15.11 kB / 0.5392 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.3974, allocations: 9.703 kB / 0.5392 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 0.0001154/0.3975, allocations: 126.3 kB / 0.5393 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.3976, allocations: 7.516 kB / 0.5393 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.398, allocations: 184.5 kB / 0.5395 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3981, allocations: 2.219 kB / 0.5395 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3981, allocations: 3.938 kB / 0.5395 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3981, allocations: 1.156 kB / 0.5395 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.3984, allocations: 210.2 kB / 0.5397 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3984, allocations: 0 / 0.5397 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.3986, allocations: 41.81 kB / 0.5398 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3986, allocations: 1.062 kB / 0.5398 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.3986, allocations: 6.094 kB / 0.5398 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003402/0.399, allocations: 0.5832 MB / 0.5403 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.399, allocations: 3.938 kB / 0.5403 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.3995, allocations: 292.6 kB / 0.5406 GB, free: 5.637 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.3996, allocations: 101.7 kB / 0.5407 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3996, allocations: 6.031 kB / 0.5407 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3997, allocations: 11.39 kB / 0.5407 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.3998, allocations: 9.641 kB / 0.5407 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.3998, allocations: 2.844 kB / 0.5407 GB, free: 5.508 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.421e-05/0.3998, allocations: 99.67 kB / 0.5408 GB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3998, allocations: 0 / 0.5408 GB, free: 5.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.4002, allocations: 77.69 kB / 0.5409 GB, free: 5.391 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.0003194/0.4006, allocations: 180.6 kB / 0.5411 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.401, allocations: 126 kB / 0.5412 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.401, allocations: 0 / 0.5412 GB, free: 5.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.4012, allocations: 71.94 kB / 0.5413 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4015, allocations: 16.36 kB / 0.5413 GB, free: 5.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007019/0.4022, allocations: 309.4 kB / 0.5416 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.4026, allocations: 0.7054 MB / 0.5423 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.598e-05/0.4027, allocations: 21.11 kB / 0.5423 GB, free: 4.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.4027, allocations: 18.48 kB / 0.5423 GB, free: 4.215 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4027, allocations: 1.375 kB / 0.5423 GB, free: 4.215 MB / 398.1 MB Notification: Performance of Templates: time 0.006305/0.4091, allocations: 2.354 MB / 0.5446 GB, free: 3.043 MB / 398.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/Orifice/dp_suddenChange_DPMFLOW/dp_suddenChange_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches