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.00174/0.00174, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001652/0.001652, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1946/0.1946, allocations: 46.1 MB / 344.4 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 78.66 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.1008, allocations: 62.43 MB / 480.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002673/0.1035, allocations: 1.731 MB / 481.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1048, allocations: 0.892 MB / 482.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.73e-05/0.1049, allocations: 4 kB / 482.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.1051, allocations: 31.83 kB / 482.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1053, allocations: 47.8 kB / 482.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1057, allocations: 123.1 kB / 483 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.1059, allocations: 139.3 kB / 483.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.624e-05/0.106, allocations: 17.44 kB / 483.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.1061, allocations: 51.78 kB / 483.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1062, allocations: 75.67 kB / 483.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1062, allocations: 8 kB / 483.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.1065, allocations: 207.7 kB / 483.5 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.1066, allocations: 51.75 kB / 483.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.902e-05/0.1067, allocations: 55.62 kB / 483.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.1069, allocations: 167.8 kB / 483.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1069, allocations: 0 / 483.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1069, allocations: 0 / 483.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.1069, allocations: 3.938 kB / 483.8 MB, free: 2.012 MB / 350.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.0005491/0.1075, allocations: 471 kB / 484.2 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1075, allocations: 8.031 kB / 484.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.1087, allocations: 120.5 kB / 484.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1089, allocations: 228 kB / 484.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1089, allocations: 4.375 kB / 484.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.1089, allocations: 12.38 kB / 484.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.1096, allocations: 318.7 kB / 484.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1096, allocations: 0 / 484.9 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.1096, allocations: 12 kB / 484.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.1096, allocations: 19.97 kB / 484.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.1104, allocations: 331.6 kB / 485.3 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.1118, allocations: 0.8259 MB / 486.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.1124, allocations: 218.3 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.1127, allocations: 84.81 kB / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1127, allocations: 4.094 kB / 486.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1128, allocations: 42.48 kB / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1128, allocations: 0 / 486.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009625/0.1137, allocations: 293.2 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1138, allocations: 51.41 kB / 486.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.1139, allocations: 185 kB / 486.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.114, allocations: 30.08 kB / 487 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.1141, allocations: 135.5 kB / 487.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.1141, allocations: 47.39 kB / 487.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.82e-05/0.1142, allocations: 49.67 kB / 487.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.1143, allocations: 330.8 kB / 487.5 MB, free: 14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1146, allocations: 75.91 kB / 487.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.1149, allocations: 141.1 kB / 487.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005673/0.1155, allocations: 226.6 kB / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1155, allocations: 0 / 488 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006916/0.1162, allocations: 269.1 kB / 488.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1162, allocations: 8.219 kB / 488.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1162, allocations: 4 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1163, allocations: 3.938 kB / 488.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.1167, allocations: 83.86 kB / 488.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/0.1176, allocations: 1.785 MB / 490.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.1178, allocations: 19.84 kB / 490.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.1178, allocations: 27.91 kB / 490.1 MB, free: 11.25 MB / 366.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.0001462/0.118, allocations: 134.3 kB / 490.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.118, allocations: 27.69 kB / 490.3 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/0.1188, allocations: 262.9 kB / 490.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.1188, allocations: 4 kB / 490.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1188, allocations: 0 / 490.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1188, allocations: 3.984 kB / 490.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.1191, allocations: 257.5 kB / 490.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1191, allocations: 0 / 490.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.1195, allocations: 71.92 kB / 490.9 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1195, allocations: 7.875 kB / 490.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.1195, allocations: 7.984 kB / 490.9 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007928/0.1203, allocations: 1.781 MB / 492.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1203, allocations: 0 / 492.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.121, allocations: 323.2 kB / 493 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1211, allocations: 85.02 kB / 493.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.1211, allocations: 0 / 493.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.1213, allocations: 11.98 kB / 493.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.1214, allocations: 15.97 kB / 493.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.1214, allocations: 11.98 kB / 493.1 MB, free: 8.098 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.1215, allocations: 141.8 kB / 493.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1215, allocations: 0 / 493.3 MB, free: 7.961 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000346/0.1219, allocations: 59.84 kB / 493.3 MB, free: 7.902 MB / 366.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.0002188/0.1221, allocations: 127.2 kB / 493.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008016/0.1229, allocations: 248.1 kB / 493.7 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1229, allocations: 0 / 493.7 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.1234, allocations: 132.2 kB / 493.8 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.1236, allocations: 16.06 kB / 493.8 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000721/0.1244, allocations: 469.5 kB / 494.3 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1246, allocations: 0.7358 MB / 495 MB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.1248, allocations: 39.38 kB / 495.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1248, allocations: 0 / 495.1 MB, free: 6.098 MB / 366.1 MB Notification: Performance of Templates: time 0.6488/0.7736, allocations: 4.905 MB / 500 MB, free: 1.188 MB / 366.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