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.001107/0.001107, allocations: 121.7 kB / 17.79 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.001075/0.001075, allocations: 199.8 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.419/1.419, 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.2162/0.2162, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 79.86 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4064, allocations: 62.43 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003145/0.4096, allocations: 1.677 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.4113, allocations: 0.907 MB / 0.5335 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.4114, allocations: 1.375 kB / 0.5335 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.4116, allocations: 33.39 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.4118, allocations: 46.67 kB / 0.5336 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.4122, allocations: 142.4 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4125, allocations: 138.3 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.378e-05/0.4125, allocations: 20.09 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.803e-05/0.4126, allocations: 56.66 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.4128, allocations: 70.52 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.4128, allocations: 4.469 kB / 0.534 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.4132, allocations: 206.5 kB / 0.5342 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.934e-05/0.4133, allocations: 50.53 kB / 0.5343 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.4134, allocations: 61.2 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.4138, allocations: 242.8 kB / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.4138, allocations: 1.188 kB / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4138, allocations: 0 / 0.5346 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4138, allocations: 0 / 0.5346 GB, free: 10.98 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.000722/0.4145, allocations: 473.3 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.4146, allocations: 9.625 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.4157, allocations: 120.7 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.416, allocations: 230.2 kB / 0.5353 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.416, allocations: 9.875 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.4161, allocations: 11.84 kB / 0.5354 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007277/0.4168, allocations: 319.6 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.4168, allocations: 0 / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.4169, allocations: 1.094 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.4169, allocations: 27.92 kB / 0.5357 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008322/0.4177, allocations: 324 kB / 0.536 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.4193, allocations: 0.8311 MB / 0.5368 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.4201, allocations: 214.1 kB / 0.537 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.4204, allocations: 93.31 kB / 0.5371 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.4204, allocations: 5.328 kB / 0.5371 GB, free: 8.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4205, allocations: 35.41 kB / 0.5372 GB, free: 8.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.4205, allocations: 3.938 kB / 0.5372 GB, free: 8.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001055/0.4215, allocations: 292.6 kB / 0.5374 GB, free: 8.754 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.4216, allocations: 56.75 kB / 0.5375 GB, free: 8.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.4218, allocations: 190.6 kB / 0.5377 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.4218, allocations: 25.7 kB / 0.5377 GB, free: 8.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.4219, allocations: 137.1 kB / 0.5378 GB, free: 8.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.422, allocations: 31.97 kB / 0.5379 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-05/0.4221, allocations: 51.89 kB / 0.5379 GB, free: 8.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4222, allocations: 322.5 kB / 0.5382 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.4225, allocations: 93.45 kB / 0.5383 GB, free: 7.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.4229, allocations: 140 kB / 0.5384 GB, free: 7.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000648/0.4235, allocations: 215 kB / 0.5386 GB, free: 7.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4235, allocations: 1.25 kB / 0.5386 GB, free: 7.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007922/0.4243, allocations: 273.2 kB / 0.5389 GB, free: 7.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4244, allocations: 7.844 kB / 0.5389 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4244, allocations: 6.484 kB / 0.5389 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.4244, allocations: 6.531 kB / 0.5389 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.4249, allocations: 82.05 kB / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.4259, allocations: 1.785 MB / 0.5407 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.4261, allocations: 20.08 kB / 0.5408 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.4262, allocations: 20.77 kB / 0.5408 GB, free: 5.68 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.0001673/0.4263, allocations: 145.6 kB / 0.5409 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.4264, allocations: 17.5 kB / 0.5409 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008184/0.4272, allocations: 261.6 kB / 0.5412 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4272, allocations: 1.094 kB / 0.5412 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4272, allocations: 9.172 kB / 0.5412 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4273, allocations: 0 / 0.5412 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.4276, allocations: 257.4 kB / 0.5414 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4276, allocations: 0 / 0.5414 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.428, allocations: 71.73 kB / 0.5415 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.428, allocations: 5.406 kB / 0.5415 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.428, allocations: 14.92 kB / 0.5415 GB, free: 5.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008958/0.4289, allocations: 1.783 MB / 0.5433 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4289, allocations: 8 kB / 0.5433 GB, free: 3.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.4297, allocations: 317.2 kB / 0.5436 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.4298, allocations: 89.58 kB / 0.5437 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.4298, allocations: 1.156 kB / 0.5437 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.43, allocations: 8.078 kB / 0.5437 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.4301, allocations: 17.81 kB / 0.5437 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.4301, allocations: 11.58 kB / 0.5437 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4302, allocations: 138.6 kB / 0.5438 GB, free: 2.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4302, allocations: 0 / 0.5438 GB, free: 2.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003659/0.4306, allocations: 61.89 kB / 0.5439 GB, free: 2.789 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.000268/0.4309, allocations: 127.3 kB / 0.544 GB, free: 2.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008777/0.4318, allocations: 233.6 kB / 0.5442 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4318, allocations: 0 / 0.5442 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004725/0.4322, allocations: 133.4 kB / 0.5444 GB, free: 2.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.4326, allocations: 22.75 kB / 0.5444 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.4334, allocations: 371 kB / 0.5447 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4337, allocations: 0.7448 MB / 0.5455 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000188/0.4339, allocations: 60.52 kB / 0.5455 GB, free: 1.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.271e-05/0.434, allocations: 33.58 kB / 0.5456 GB, free: 1.496 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.434, allocations: 0 / 0.5456 GB, free: 1.496 MB / 398.1 MB Notification: Performance of Templates: time 0.006662/0.4407, allocations: 2.899 MB / 0.5484 GB, free: 15.37 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