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.001774/0.001774, allocations: 110 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00234/0.00234, allocations: 213.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 67.89 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4214, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003048/0.4245, allocations: 1.663 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.4261, allocations: 0.9123 MB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.4262, allocations: 1.094 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.4265, allocations: 33.3 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.4267, allocations: 46.19 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.4271, allocations: 140.4 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.4274, allocations: 138.5 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.4274, allocations: 18.56 kB / 0.5346 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.4275, allocations: 53.97 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.4277, allocations: 70.39 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.4277, allocations: 4.719 kB / 0.5347 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.4281, allocations: 214.1 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.359e-05/0.4282, allocations: 43.14 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.4282, allocations: 60.44 kB / 0.535 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.4286, allocations: 239.7 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4286, allocations: 0 / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.4287, allocations: 1.375 kB / 0.5352 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4287, allocations: 7.875 kB / 0.5352 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.0006382/0.4293, allocations: 472.3 kB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4294, allocations: 9.625 kB / 0.5357 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.4305, allocations: 120.7 kB / 0.5358 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.4307, allocations: 225.9 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.4308, allocations: 6.656 kB / 0.536 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.4308, allocations: 16.36 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.4315, allocations: 314.2 kB / 0.5363 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4315, allocations: 1.094 kB / 0.5363 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.4316, allocations: 9.109 kB / 0.5363 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.344e-05/0.4316, allocations: 19.11 kB / 0.5364 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/0.4324, allocations: 329.1 kB / 0.5367 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.434, allocations: 0.8312 MB / 0.5375 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/0.4347, allocations: 224.9 kB / 0.5377 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.435, allocations: 85.53 kB / 0.5378 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.435, allocations: 1.219 kB / 0.5378 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4351, allocations: 39.78 kB / 0.5378 GB, free: 8.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.4351, allocations: 0 / 0.5378 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.001045/0.4361, allocations: 295.9 kB / 0.5381 GB, free: 8.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4362, allocations: 57.75 kB / 0.5382 GB, free: 8.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.4364, allocations: 185.9 kB / 0.5383 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4364, allocations: 29.7 kB / 0.5384 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.4365, allocations: 129 kB / 0.5385 GB, free: 8.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.4366, allocations: 44.59 kB / 0.5385 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.4367, allocations: 51.33 kB / 0.5386 GB, free: 8.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.4368, allocations: 322.5 kB / 0.5389 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.4371, allocations: 89.7 kB / 0.539 GB, free: 7.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.4374, allocations: 133.6 kB / 0.5391 GB, free: 7.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.438, allocations: 223.7 kB / 0.5393 GB, free: 7.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.438, allocations: 1.125 kB / 0.5393 GB, free: 7.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007461/0.4388, allocations: 269 kB / 0.5396 GB, free: 7.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4388, allocations: 6.906 kB / 0.5396 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4388, allocations: 5.094 kB / 0.5396 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4389, allocations: 7.156 kB / 0.5396 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.4393, allocations: 81.36 kB / 0.5397 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.4404, allocations: 1.789 MB / 0.5414 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.4406, allocations: 24.86 kB / 0.5414 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.4407, allocations: 20.38 kB / 0.5415 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.000165/0.4408, allocations: 146.1 kB / 0.5416 GB, free: 5.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.4409, allocations: 17.81 kB / 0.5416 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.4417, allocations: 265.3 kB / 0.5419 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4417, allocations: 1.625 kB / 0.5419 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4418, allocations: 0 / 0.5419 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4418, allocations: 0 / 0.5419 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.4421, allocations: 253.3 kB / 0.5421 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4421, allocations: 0 / 0.5421 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.4425, allocations: 63.72 kB / 0.5422 GB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.4425, allocations: 5.438 kB / 0.5422 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.4425, allocations: 14.12 kB / 0.5422 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008959/0.4434, allocations: 1.787 MB / 0.5439 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4434, allocations: 5.188 kB / 0.5439 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.4442, allocations: 318.3 kB / 0.5442 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.4443, allocations: 92.56 kB / 0.5443 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.408e-05/0.4443, allocations: 4.906 kB / 0.5443 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.4445, allocations: 8.328 kB / 0.5443 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/0.4446, allocations: 17.72 kB / 0.5444 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.4446, allocations: 15.67 kB / 0.5444 GB, free: 2.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.4447, allocations: 138.8 kB / 0.5445 GB, free: 2.809 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4447, allocations: 0 / 0.5445 GB, free: 2.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004128/0.4452, allocations: 58.06 kB / 0.5446 GB, free: 2.797 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.0002857/0.4454, allocations: 127.9 kB / 0.5447 GB, free: 2.691 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008709/0.4463, allocations: 237.3 kB / 0.5449 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4463, allocations: 1.219 kB / 0.5449 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.4468, allocations: 127.7 kB / 0.545 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.4471, allocations: 19.89 kB / 0.5451 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.4482, allocations: 394.8 kB / 0.5454 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.4485, allocations: 0.74 MB / 0.5462 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.4487, allocations: 36.45 kB / 0.5462 GB, free: 1.504 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4487, allocations: 3.938 kB / 0.5462 GB, free: 1.5 MB / 398.1 MB Notification: Performance of Templates: time 0.009513/0.4582, allocations: 4.936 MB / 0.551 GB, free: 13.35 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