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.001543/0.001543, 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.002002/0.002002, 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.421/1.421, 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.2066/0.2066, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 79.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3053, allocations: 62.44 MB / 0.5317 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002576/0.3079, allocations: 1.665 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.3093, allocations: 0.9121 MB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.3093, allocations: 1.375 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.3095, allocations: 33.41 kB / 0.5342 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.3097, allocations: 45.38 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.3101, allocations: 133.4 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.3103, allocations: 146 kB / 0.5345 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.3103, allocations: 18.28 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.304e-05/0.3104, allocations: 53.31 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3105, allocations: 74.98 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3105, allocations: 4.438 kB / 0.5347 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003435/0.3109, allocations: 214.8 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.311, allocations: 38.42 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.8e-05/0.311, allocations: 61.12 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.3114, allocations: 243.5 kB / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3114, allocations: 0 / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3114, allocations: 0 / 0.5352 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.3114, allocations: 0 / 0.5352 GB, free: 10.93 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.0005753/0.312, allocations: 475.2 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.312, allocations: 9.625 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.3131, allocations: 120.7 kB / 0.5358 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.3134, allocations: 222.2 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3134, allocations: 9.875 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.3134, allocations: 12.31 kB / 0.536 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.3141, allocations: 323 kB / 0.5363 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.3141, allocations: 4 kB / 0.5363 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3141, allocations: 5.031 kB / 0.5363 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.3141, allocations: 20.17 kB / 0.5364 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.3149, allocations: 324.6 kB / 0.5367 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3163, allocations: 0.8308 MB / 0.5375 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.317, allocations: 225.4 kB / 0.5377 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.3173, allocations: 85.53 kB / 0.5378 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.3173, allocations: 5.828 kB / 0.5378 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3173, allocations: 32.41 kB / 0.5378 GB, free: 8.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3173, allocations: 3.938 kB / 0.5378 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009864/0.3183, allocations: 298.5 kB / 0.5381 GB, free: 8.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3184, allocations: 52.94 kB / 0.5382 GB, free: 8.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3185, allocations: 186.4 kB / 0.5383 GB, free: 8.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3186, allocations: 26.92 kB / 0.5384 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.3187, allocations: 131.8 kB / 0.5385 GB, free: 8.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.3187, allocations: 36.33 kB / 0.5385 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.3188, allocations: 51.73 kB / 0.5386 GB, free: 8.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3189, allocations: 330.4 kB / 0.5389 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.3192, allocations: 82.98 kB / 0.539 GB, free: 7.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.3195, allocations: 138.7 kB / 0.5391 GB, free: 7.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.3202, allocations: 224.5 kB / 0.5393 GB, free: 7.645 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3202, allocations: 0 / 0.5393 GB, free: 7.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007368/0.3209, allocations: 272.9 kB / 0.5396 GB, free: 7.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3209, allocations: 6.906 kB / 0.5396 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3209, allocations: 1.219 kB / 0.5396 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.321, allocations: 7.062 kB / 0.5396 GB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.3214, allocations: 82.05 kB / 0.5397 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008483/0.3223, allocations: 1.788 MB / 0.5414 GB, free: 5.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.3225, allocations: 25.64 kB / 0.5414 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.3225, allocations: 10.98 kB / 0.5414 GB, free: 5.637 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.0001433/0.3227, allocations: 142.6 kB / 0.5416 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.3228, allocations: 17.69 kB / 0.5416 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.3235, allocations: 269.2 kB / 0.5419 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3236, allocations: 1.094 kB / 0.5419 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3236, allocations: 1.344 kB / 0.5419 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3236, allocations: 3.984 kB / 0.5419 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3239, allocations: 252.6 kB / 0.5421 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3239, allocations: 5.656 kB / 0.5421 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.3242, allocations: 66.38 kB / 0.5422 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.3243, allocations: 5.438 kB / 0.5422 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.3243, allocations: 18.81 kB / 0.5422 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007945/0.3251, allocations: 1.779 MB / 0.5439 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3251, allocations: 3.938 kB / 0.5439 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.3258, allocations: 322.7 kB / 0.5442 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.3259, allocations: 93.44 kB / 0.5443 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3259, allocations: 1.219 kB / 0.5443 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002085/0.3261, allocations: 15.55 kB / 0.5443 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.3262, allocations: 13.22 kB / 0.5444 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3262, allocations: 13.42 kB / 0.5444 GB, free: 2.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.3263, allocations: 133.3 kB / 0.5445 GB, free: 2.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3264, allocations: 1.156 kB / 0.5445 GB, free: 2.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.3267, allocations: 57.34 kB / 0.5446 GB, free: 2.75 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.0002475/0.327, allocations: 131.4 kB / 0.5447 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008467/0.3279, allocations: 230.1 kB / 0.5449 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3279, allocations: 4.438 kB / 0.5449 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.3283, allocations: 132.2 kB / 0.545 GB, free: 2.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.3286, allocations: 16.77 kB / 0.545 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007804/0.3294, allocations: 401.4 kB / 0.5454 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3297, allocations: 0.7384 MB / 0.5461 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3298, allocations: 33.05 kB / 0.5462 GB, free: 1.453 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3298, allocations: 0 / 0.5462 GB, free: 1.453 MB / 398.1 MB Notification: Performance of Templates: time 0.007374/0.3372, allocations: 4.943 MB / 0.551 GB, free: 13.29 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/jenkins1/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/jenkins1/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