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.001314/0.001314, 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.001352/0.001351, 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.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 80.2 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4077, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003299/0.4111, allocations: 1.671 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.4129, allocations: 0.9156 MB / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.4129, allocations: 1.344 kB / 0.5335 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.4132, allocations: 28.67 kB / 0.5336 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.4135, allocations: 55.36 kB / 0.5336 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004694/0.4139, allocations: 131.5 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.4142, allocations: 142.5 kB / 0.5339 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.551e-05/0.4142, allocations: 19.08 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.4143, allocations: 57.84 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.4145, allocations: 65.86 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.4145, allocations: 5.5 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.4149, allocations: 206.4 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.4151, allocations: 49.5 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.418e-05/0.4152, allocations: 61.61 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004144/0.4156, allocations: 239.2 kB / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4156, allocations: 0 / 0.5345 GB, free: 10.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4156, allocations: 5.125 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.4156, allocations: 0 / 0.5346 GB, free: 10.94 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.0007928/0.4164, allocations: 473.3 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4165, allocations: 8.531 kB / 0.535 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.4176, allocations: 112.7 kB / 0.5351 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.418, allocations: 233.9 kB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.418, allocations: 14.42 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.4181, allocations: 12.19 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000839/0.4189, allocations: 322.7 kB / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4189, allocations: 1.188 kB / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.419, allocations: 5.094 kB / 0.5357 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/0.419, allocations: 19.83 kB / 0.5357 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008816/0.4199, allocations: 319.5 kB / 0.536 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.4218, allocations: 0.8353 MB / 0.5368 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.4226, allocations: 221.5 kB / 0.537 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.4229, allocations: 89.66 kB / 0.5371 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.645e-05/0.423, allocations: 4.953 kB / 0.5371 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.423, allocations: 36.28 kB / 0.5372 GB, free: 8.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.4231, allocations: 3.938 kB / 0.5372 GB, free: 8.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.00114/0.4242, allocations: 292.3 kB / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.4243, allocations: 52.47 kB / 0.5375 GB, free: 8.652 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.4245, allocations: 194.4 kB / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.4246, allocations: 25.7 kB / 0.5377 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4247, allocations: 141.2 kB / 0.5378 GB, free: 8.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.4247, allocations: 31.69 kB / 0.5379 GB, free: 8.305 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4248, allocations: 51.02 kB / 0.5379 GB, free: 8.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.425, allocations: 322.8 kB / 0.5382 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.4253, allocations: 86.7 kB / 0.5383 GB, free: 7.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.4257, allocations: 139.4 kB / 0.5384 GB, free: 7.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.4264, allocations: 220.3 kB / 0.5386 GB, free: 7.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4264, allocations: 0 / 0.5386 GB, free: 7.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000766/0.4272, allocations: 269.9 kB / 0.5389 GB, free: 7.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4272, allocations: 16.3 kB / 0.5389 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4273, allocations: 1.531 kB / 0.5389 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.4273, allocations: 7.062 kB / 0.5389 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.4278, allocations: 81.39 kB / 0.539 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.4288, allocations: 1.785 MB / 0.5407 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.4291, allocations: 29.45 kB / 0.5408 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.4291, allocations: 14.88 kB / 0.5408 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.0003263/0.4294, allocations: 146.1 kB / 0.5409 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.4295, allocations: 18.75 kB / 0.5409 GB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/0.4305, allocations: 265 kB / 0.5412 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4305, allocations: 1.125 kB / 0.5412 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4305, allocations: 0 / 0.5412 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4305, allocations: 1.031 kB / 0.5412 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.4309, allocations: 256.3 kB / 0.5414 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.431, allocations: 1.094 kB / 0.5414 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.4313, allocations: 66.95 kB / 0.5415 GB, free: 5.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4314, allocations: 4.969 kB / 0.5415 GB, free: 5.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.4314, allocations: 12.23 kB / 0.5415 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.4325, allocations: 1.782 MB / 0.5433 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4325, allocations: 3.938 kB / 0.5433 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.4333, allocations: 322.8 kB / 0.5436 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.4334, allocations: 89.98 kB / 0.5437 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.4335, allocations: 0 / 0.5437 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.4336, allocations: 8.422 kB / 0.5437 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.4337, allocations: 21.12 kB / 0.5437 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.4338, allocations: 8.266 kB / 0.5437 GB, free: 2.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.4339, allocations: 142.6 kB / 0.5438 GB, free: 2.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4339, allocations: 0 / 0.5438 GB, free: 2.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004475/0.4344, allocations: 61.94 kB / 0.5439 GB, free: 2.754 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.0003556/0.4347, allocations: 130.5 kB / 0.544 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000915/0.4357, allocations: 238.7 kB / 0.5442 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4357, allocations: 0 / 0.5442 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.4362, allocations: 131.6 kB / 0.5444 GB, free: 2.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.4365, allocations: 20.03 kB / 0.5444 GB, free: 2.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/0.4374, allocations: 370 kB / 0.5447 GB, free: 2.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.4378, allocations: 0.7366 MB / 0.5455 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002034/0.438, allocations: 65.73 kB / 0.5455 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.4381, allocations: 33.11 kB / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4381, allocations: 0 / 0.5456 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Templates: time 0.00685/0.445, allocations: 2.845 MB / 0.5483 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