Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 117.2 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 185 kB / 18.71 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1948/0.1948, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 55.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002843/0.3491, allocations: 1.795 MB / 0.5207 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.3505, allocations: 0.8006 MB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.3506, allocations: 5.125 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3508, allocations: 39.34 kB / 0.5215 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.3512, allocations: 74.12 kB / 0.5216 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.3514, allocations: 63.69 kB / 0.5216 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3516, allocations: 139.9 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.3516, allocations: 7.016 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3518, allocations: 73.48 kB / 0.5218 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3519, allocations: 81.62 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.352, allocations: 7.094 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3521, allocations: 64.09 kB / 0.522 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.3522, allocations: 35.31 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.3522, allocations: 37.28 kB / 0.5221 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.3525, allocations: 137.7 kB / 0.5222 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3525, allocations: 4 kB / 0.5222 GB, free: 1.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3525, allocations: 1.125 kB / 0.5222 GB, free: 1.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3525, allocations: 0.7031 kB / 0.5222 GB, free: 1.516 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004658/0.353, allocations: 411.5 kB / 0.5226 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.353, allocations: 8.812 kB / 0.5226 GB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002887/0.3533, allocations: 35.2 kB / 0.5226 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3535, allocations: 188 kB / 0.5228 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3535, allocations: 9.578 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3535, allocations: 18.47 kB / 0.5228 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3538, allocations: 178 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3539, allocations: 4.969 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.3539, allocations: 5.031 kB / 0.523 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.3539, allocations: 10.23 kB / 0.523 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.3542, allocations: 140.5 kB / 0.5232 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.3549, allocations: 0.6382 MB / 0.5238 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.3552, allocations: 110.6 kB / 0.5239 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.3553, allocations: 41.31 kB / 0.5239 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3553, allocations: 160 / 0.5239 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.3554, allocations: 40.77 kB / 0.524 GB, free: 76 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.3554, allocations: 4 kB / 0.524 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003974/0.3558, allocations: 135.8 kB / 0.5241 GB, free: 16 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.3558, allocations: 53.23 kB / 0.5241 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.3559, allocations: 126.5 kB / 0.5243 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3559, allocations: 29.7 kB / 0.5243 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.356, allocations: 122.2 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.356, allocations: 30.69 kB / 0.5244 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.3561, allocations: 33.27 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.3562, allocations: 319.8 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.3563, allocations: 34.34 kB / 0.5248 GB, free: 15.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3565, allocations: 101 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.3567, allocations: 155.7 kB / 0.5251 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3567, allocations: 0 / 0.5251 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003158/0.3571, allocations: 158.8 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3571, allocations: 10.95 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3571, allocations: 1.812 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3571, allocations: 3.594 kB / 0.5252 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.3573, allocations: 36.09 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3573, allocations: 8.609 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.461e-05/0.3574, allocations: 21.98 kB / 0.5253 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.3574, allocations: 5.938 kB / 0.5253 GB, free: 15.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.881e-05/0.3575, allocations: 133.3 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3576, allocations: 7.703 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.3579, allocations: 126.4 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3579, allocations: 1.688 kB / 0.5256 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3579, allocations: 0 / 0.5256 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3579, allocations: 6.312 kB / 0.5256 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3581, allocations: 206.9 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3581, allocations: 0 / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.3582, allocations: 26.81 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.3583, allocations: 1.375 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3583, allocations: 4 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3583, allocations: 2.031 kB / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3583, allocations: 0 / 0.5258 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.3586, allocations: 215.6 kB / 0.526 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.3586, allocations: 83.81 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3586, allocations: 4.938 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.05e-05/0.3587, allocations: 6.328 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.3588, allocations: 5.094 kB / 0.5261 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3588, allocations: 7.406 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.775e-05/0.3588, allocations: 92.84 kB / 0.5262 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3589, allocations: 4 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.3591, allocations: 19.25 kB / 0.5262 GB, free: 14.26 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001282/0.3592, allocations: 102.5 kB / 0.5263 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.3595, allocations: 105.6 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3596, allocations: 0 / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3597, allocations: 42.56 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.3599, allocations: 15.47 kB / 0.5265 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.3603, allocations: 246.2 kB / 0.5267 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.3606, allocations: 0.7193 MB / 0.5274 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.552e-05/0.3607, allocations: 23.72 kB / 0.5274 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.535e-05/0.3608, allocations: 13.22 kB / 0.5274 GB, free: 13.25 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3608, allocations: 4 kB / 0.5274 GB, free: 13.24 MB / 398.1 MB Notification: Performance of Templates: time 0.003247/0.364, allocations: 0.9424 MB / 0.5284 GB, free: 12.88 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches