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.001331/0.001331, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 67.89 kB / 481.3 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4827, allocations: 62.45 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.003482/0.4862, allocations: 1.799 MB / 0.5328 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.4884, allocations: 1.396 MB / 0.5341 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.4885, allocations: 1.375 kB / 0.5341 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.4888, allocations: 48.11 kB / 0.5342 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.489, allocations: 51.88 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.4895, allocations: 243.2 kB / 0.5345 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.4897, allocations: 107.4 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.4897, allocations: 14.59 kB / 0.5346 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.4899, allocations: 57.72 kB / 0.5346 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.605e-05/0.49, allocations: 52.2 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.49, allocations: 4.125 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.4908, allocations: 0.5076 MB / 0.5352 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.4908, allocations: 14.36 kB / 0.5352 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.4909, allocations: 50.69 kB / 0.5353 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.4914, allocations: 356.6 kB / 0.5356 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4914, allocations: 4 kB / 0.5356 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.4914, allocations: 1.125 kB / 0.5356 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.4914, allocations: 0 / 0.5356 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.0005991/0.492, allocations: 435.1 kB / 0.536 GB, free: 9.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4921, allocations: 9.188 kB / 0.536 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.4921, allocations: 22.44 kB / 0.536 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.4923, allocations: 172.9 kB / 0.5362 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4923, allocations: 12.81 kB / 0.5362 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.4923, allocations: 15.56 kB / 0.5362 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.4927, allocations: 142.9 kB / 0.5364 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4927, allocations: 0 / 0.5364 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.4927, allocations: 5.156 kB / 0.5364 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.4927, allocations: 2.938 kB / 0.5364 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.493, allocations: 140.3 kB / 0.5365 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.4939, allocations: 0.5095 MB / 0.537 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.4942, allocations: 108.9 kB / 0.5371 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.4943, allocations: 52.39 kB / 0.5372 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.4943, allocations: 2.75 kB / 0.5372 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.4944, allocations: 35.95 kB / 0.5372 GB, free: 8.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.4944, allocations: 0 / 0.5372 GB, free: 8.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004772/0.4949, allocations: 168.8 kB / 0.5374 GB, free: 8.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4949, allocations: 52.53 kB / 0.5374 GB, free: 8.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.495, allocations: 113.5 kB / 0.5375 GB, free: 8.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.495, allocations: 30.83 kB / 0.5376 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.4951, allocations: 116 kB / 0.5377 GB, free: 8.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4951, allocations: 36.98 kB / 0.5377 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.4952, allocations: 40.89 kB / 0.5377 GB, free: 8.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.4953, allocations: 316.1 kB / 0.538 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4954, allocations: 42.25 kB / 0.5381 GB, free: 7.848 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4956, allocations: 78.58 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.4959, allocations: 135.7 kB / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4959, allocations: 0 / 0.5383 GB, free: 7.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003372/0.4962, allocations: 161.7 kB / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4963, allocations: 6.188 kB / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4963, allocations: 1.312 kB / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4963, allocations: 2.375 kB / 0.5384 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.4965, allocations: 53.25 kB / 0.5385 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003241/0.4968, allocations: 0.5959 MB / 0.5391 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.497, allocations: 22.36 kB / 0.5391 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.497, allocations: 5.656 kB / 0.5391 GB, free: 6.941 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.276e-05/0.4971, allocations: 119.1 kB / 0.5392 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.4971, allocations: 3.188 kB / 0.5392 GB, free: 6.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.4975, allocations: 184.9 kB / 0.5394 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4975, allocations: 1.281 kB / 0.5394 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4975, allocations: 3.938 kB / 0.5394 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4976, allocations: 0.8125 kB / 0.5394 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.4978, allocations: 213.9 kB / 0.5396 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4978, allocations: 0 / 0.5396 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/0.498, allocations: 42.19 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4981, allocations: 1.344 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4981, allocations: 1.25 kB / 0.5397 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002712/0.4983, allocations: 0.5915 MB / 0.5402 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4984, allocations: 0 / 0.5402 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.4988, allocations: 293.1 kB / 0.5405 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.521e-05/0.4989, allocations: 101.2 kB / 0.5406 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4989, allocations: 5.125 kB / 0.5406 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.499, allocations: 12.3 kB / 0.5406 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.4991, allocations: 9.547 kB / 0.5406 GB, free: 5.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.4991, allocations: 7.156 kB / 0.5406 GB, free: 5.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.518e-05/0.4991, allocations: 91.8 kB / 0.5407 GB, free: 5.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4991, allocations: 0 / 0.5407 GB, free: 5.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003698/0.4995, allocations: 82.61 kB / 0.5408 GB, free: 5.398 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.0003196/0.4999, allocations: 179.2 kB / 0.541 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.5002, allocations: 121.6 kB / 0.5411 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5003, allocations: 1.438 kB / 0.5411 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.5005, allocations: 79.83 kB / 0.5412 GB, free: 5.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5008, allocations: 6.719 kB / 0.5412 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006112/0.5014, allocations: 308.1 kB / 0.5415 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.5016, allocations: 0.7066 MB / 0.5422 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.603e-05/0.5017, allocations: 24.5 kB / 0.5422 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.5018, allocations: 19.19 kB / 0.5422 GB, free: 4.227 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.5018, allocations: 1.031 kB / 0.5422 GB, free: 4.227 MB / 398.1 MB Notification: Performance of Templates: time 0.005661/0.5075, allocations: 2.349 MB / 0.5445 GB, free: 3.055 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/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","/var/lib/jenkins/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