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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001707/0.001708, allocations: 196.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 226.5 MB / 245.4 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008055/0.0008052, allocations: 94.25 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3055/0.3055, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.367, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4901, allocations: 91.46 MB / 0.6078 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.4904, allocations: 102.5 kB / 0.6079 GB, free: 13.73 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Fluid/Dissipation.mo:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.024/0.5144, allocations: 7.993 MB / 0.6157 GB, free: 5.699 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5145, allocations: 3.938 kB / 0.6157 GB, free: 5.695 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.5145, allocations: 4 kB / 0.6157 GB, free: 5.691 MB / 426.7 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.0007672/0.5153, allocations: 462.8 kB / 0.6161 GB, free: 5.188 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.5154, allocations: 12.03 kB / 0.6161 GB, free: 5.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006853/0.516, allocations: 92.61 kB / 0.6162 GB, free: 5.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.5164, allocations: 220 kB / 0.6164 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.5164, allocations: 16.36 kB / 0.6164 GB, free: 4.816 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.5165, allocations: 12.38 kB / 0.6165 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.5172, allocations: 324.7 kB / 0.6168 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5173, allocations: 192 / 0.6168 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.5173, allocations: 7.938 kB / 0.6168 GB, free: 4.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.5173, allocations: 12 kB / 0.6168 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.5181, allocations: 331.7 kB / 0.6171 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.5196, allocations: 0.8299 MB / 0.6179 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/0.5203, allocations: 226.3 kB / 0.6181 GB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.5207, allocations: 88.81 kB / 0.6182 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.5207, allocations: 4 kB / 0.6182 GB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.5207, allocations: 34.56 kB / 0.6182 GB, free: 2.855 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.804e-06/0.5208, allocations: 0 / 0.6182 GB, free: 2.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009818/0.5217, allocations: 313.2 kB / 0.6185 GB, free: 2.543 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.5218, allocations: 55.34 kB / 0.6186 GB, free: 2.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.522, allocations: 179.7 kB / 0.6188 GB, free: 2.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.522, allocations: 29.69 kB / 0.6188 GB, free: 2.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.631e-05/0.5221, allocations: 135.5 kB / 0.6189 GB, free: 2.117 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.5222, allocations: 35.48 kB / 0.619 GB, free: 2.082 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.5222, allocations: 11.94 kB / 0.619 GB, free: 2.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5223, allocations: 322.8 kB / 0.6193 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.5226, allocations: 91.89 kB / 0.6194 GB, free: 1.656 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003101/0.5229, allocations: 142.7 kB / 0.6195 GB, free: 1.492 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.5235, allocations: 230.6 kB / 0.6197 GB, free: 1.242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5235, allocations: 0 / 0.6197 GB, free: 1.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007079/0.5243, allocations: 285.1 kB / 0.62 GB, free: 0.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5243, allocations: 4 kB / 0.62 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5243, allocations: 8 kB / 0.62 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.5243, allocations: 4 kB / 0.62 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.5248, allocations: 91.8 kB / 0.6201 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.5259, allocations: 1.782 MB / 0.6218 GB, free: 15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.5261, allocations: 27.89 kB / 0.6219 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.5262, allocations: 11.98 kB / 0.6219 GB, free: 14.96 MB / 442.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.5264, allocations: 153.7 kB / 0.622 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.5264, allocations: 11.81 kB / 0.622 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007857/0.5272, allocations: 278.7 kB / 0.6223 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.5272, allocations: 0 / 0.6223 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5273, allocations: 0 / 0.6223 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5273, allocations: 0 / 0.6223 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.5276, allocations: 257.5 kB / 0.6225 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.5276, allocations: 3.984 kB / 0.6226 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.5279, allocations: 67.94 kB / 0.6226 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5279, allocations: 0 / 0.6226 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.528, allocations: 11.92 kB / 0.6226 GB, free: 14.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.5291, allocations: 1.785 MB / 0.6244 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5291, allocations: 4.031 kB / 0.6244 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.5298, allocations: 319.3 kB / 0.6247 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.5299, allocations: 96.89 kB / 0.6248 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.5299, allocations: 4 kB / 0.6248 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.5301, allocations: 7.984 kB / 0.6248 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.5302, allocations: 19.97 kB / 0.6248 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.5302, allocations: 15.92 kB / 0.6248 GB, free: 11.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.5304, allocations: 142 kB / 0.625 GB, free: 11.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5304, allocations: 0 / 0.625 GB, free: 11.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.5308, allocations: 67.84 kB / 0.625 GB, free: 11.57 MB / 442.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003397/0.5312, allocations: 151.1 kB / 0.6252 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.532, allocations: 243.8 kB / 0.6254 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.532, allocations: 448 / 0.6254 GB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.5325, allocations: 139.9 kB / 0.6255 GB, free: 11.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.5328, allocations: 16.95 kB / 0.6255 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000873/0.5337, allocations: 437.2 kB / 0.626 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.5341, allocations: 0.7358 MB / 0.6267 GB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002415/0.5343, allocations: 65.03 kB / 0.6267 GB, free: 9.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.988e-05/0.5344, allocations: 31.39 kB / 0.6268 GB, free: 9.723 MB / 442.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5344, allocations: 0 / 0.6268 GB, free: 9.723 MB / 442.7 MB Notification: Performance of Templates: time 0.007014/0.5414, allocations: 2.825 MB / 0.6295 GB, free: 6.934 MB / 442.7 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","../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