Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 204.7 kB / 18.74 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.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.09 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 79.88 kB / 481.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4553, allocations: 62.44 MB / 0.531 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003158/0.4585, allocations: 1.664 MB / 0.5326 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.4602, allocations: 0.9072 MB / 0.5335 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.4603, allocations: 1.375 kB / 0.5335 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.4606, allocations: 38.08 kB / 0.5336 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.4609, allocations: 54.2 kB / 0.5336 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005862/0.4615, allocations: 134.2 kB / 0.5337 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.4617, allocations: 138.5 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.394e-05/0.4618, allocations: 19.2 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.4619, allocations: 57.67 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4621, allocations: 70.72 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.4621, allocations: 4.594 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.4625, allocations: 209.5 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.704e-05/0.4626, allocations: 39.02 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.31e-05/0.4627, allocations: 65.33 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004525/0.4632, allocations: 238.3 kB / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4632, allocations: 0 / 0.5346 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.614e-06/0.4632, allocations: 4 kB / 0.5346 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.4632, allocations: 3.938 kB / 0.5346 GB, free: 10.92 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007222/0.4639, allocations: 479 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.464, allocations: 9.625 kB / 0.535 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.4651, allocations: 116.6 kB / 0.5351 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4654, allocations: 226.3 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.4654, allocations: 5.625 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.4655, allocations: 20.11 kB / 0.5354 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.4662, allocations: 315.4 kB / 0.5357 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4662, allocations: 0 / 0.5357 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.4663, allocations: 13.12 kB / 0.5357 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.4663, allocations: 20.33 kB / 0.5357 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.4672, allocations: 323.5 kB / 0.536 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.4687, allocations: 0.8314 MB / 0.5368 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.4695, allocations: 222 kB / 0.537 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.4698, allocations: 84.69 kB / 0.5371 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.4698, allocations: 2.844 kB / 0.5371 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4698, allocations: 43.56 kB / 0.5372 GB, free: 8.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.4699, allocations: 0 / 0.5372 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001192/0.4711, allocations: 299.2 kB / 0.5375 GB, free: 8.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.4711, allocations: 53.62 kB / 0.5375 GB, free: 8.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.4714, allocations: 181.9 kB / 0.5377 GB, free: 8.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.4715, allocations: 29.7 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4716, allocations: 144.8 kB / 0.5378 GB, free: 8.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.4717, allocations: 36.98 kB / 0.5379 GB, free: 8.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.4719, allocations: 55.25 kB / 0.5379 GB, free: 8.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.472, allocations: 323.5 kB / 0.5382 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.4724, allocations: 85.86 kB / 0.5383 GB, free: 7.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.4728, allocations: 134.8 kB / 0.5384 GB, free: 7.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.4734, allocations: 223.6 kB / 0.5387 GB, free: 7.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4735, allocations: 5.25 kB / 0.5387 GB, free: 7.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008391/0.4743, allocations: 265.6 kB / 0.5389 GB, free: 7.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.4743, allocations: 5.906 kB / 0.5389 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4744, allocations: 1.344 kB / 0.5389 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-05/0.4744, allocations: 10.83 kB / 0.5389 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.4749, allocations: 82.81 kB / 0.539 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.4763, allocations: 1.789 MB / 0.5408 GB, free: 5.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.4765, allocations: 28.7 kB / 0.5408 GB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.4766, allocations: 19.3 kB / 0.5408 GB, free: 5.598 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001804/0.4768, allocations: 138.6 kB / 0.5409 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.308e-05/0.4769, allocations: 21.84 kB / 0.541 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.4777, allocations: 261.3 kB / 0.5412 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4777, allocations: 1.5 kB / 0.5412 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4777, allocations: 0 / 0.5412 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4778, allocations: 4 kB / 0.5412 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.4782, allocations: 249 kB / 0.5415 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4782, allocations: 1.219 kB / 0.5415 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.4786, allocations: 66.91 kB / 0.5415 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.4786, allocations: 8.719 kB / 0.5415 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.4786, allocations: 11.16 kB / 0.5415 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.4797, allocations: 1.783 MB / 0.5433 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4798, allocations: 3.984 kB / 0.5433 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.4805, allocations: 323.3 kB / 0.5436 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.4806, allocations: 89.34 kB / 0.5437 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.4807, allocations: 4 kB / 0.5437 GB, free: 2.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.4809, allocations: 8.422 kB / 0.5437 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/0.4809, allocations: 13.81 kB / 0.5437 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.481, allocations: 12.58 kB / 0.5437 GB, free: 2.844 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.4811, allocations: 138.3 kB / 0.5438 GB, free: 2.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4811, allocations: 3.938 kB / 0.5438 GB, free: 2.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.4815, allocations: 65.78 kB / 0.5439 GB, free: 2.719 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002623/0.4818, allocations: 123.4 kB / 0.544 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009478/0.4828, allocations: 242.1 kB / 0.5443 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4828, allocations: 0 / 0.5443 GB, free: 2.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.4833, allocations: 131.6 kB / 0.5444 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.4836, allocations: 12.34 kB / 0.5444 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.4846, allocations: 384.7 kB / 0.5448 GB, free: 2.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.4852, allocations: 0.7406 MB / 0.5455 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.4854, allocations: 65.58 kB / 0.5456 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4855, allocations: 29.2 kB / 0.5456 GB, free: 1.422 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4855, allocations: 0 / 0.5456 GB, free: 1.422 MB / 398.1 MB Notification: Performance of Templates: time 0.007792/0.4933, allocations: 2.854 MB / 0.5484 GB, free: 15.33 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches