Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_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.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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 111 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.00147/0.00147, allocations: 212.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.402/1.402, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 71.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3486, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002997/0.3517, allocations: 1.799 MB / 0.5334 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3531, allocations: 0.8366 MB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.3532, allocations: 1.375 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.3534, allocations: 41.33 kB / 0.5343 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.3537, allocations: 74.77 kB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.3539, allocations: 72.28 kB / 0.5344 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3541, allocations: 126.8 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.3542, allocations: 13.48 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.3544, allocations: 78 kB / 0.5347 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.3546, allocations: 76.78 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3546, allocations: 8.062 kB / 0.5347 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001669/0.3548, allocations: 66.27 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.3548, allocations: 37.45 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.904e-05/0.3549, allocations: 42.86 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3552, allocations: 136.2 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3552, allocations: 0 / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3552, allocations: 1.281 kB / 0.535 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3552, allocations: 4 kB / 0.535 GB, free: 11.1 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006042/0.3558, allocations: 406.2 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3559, allocations: 13.05 kB / 0.5354 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.3563, allocations: 30.38 kB / 0.5354 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.3565, allocations: 186.9 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3565, allocations: 12.58 kB / 0.5356 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.3565, allocations: 15.03 kB / 0.5356 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.3569, allocations: 184.3 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3569, allocations: 0 / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.357, allocations: 5.156 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/0.357, allocations: 7.625 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003518/0.3574, allocations: 138.7 kB / 0.536 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.3582, allocations: 0.6404 MB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.3586, allocations: 108.8 kB / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.3587, allocations: 40.27 kB / 0.5367 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3587, allocations: 5.516 kB / 0.5367 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3588, allocations: 40.05 kB / 0.5368 GB, free: 9.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3588, allocations: 3.938 kB / 0.5368 GB, free: 9.492 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004625/0.3593, allocations: 135.8 kB / 0.5369 GB, free: 9.414 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.3593, allocations: 52.62 kB / 0.537 GB, free: 9.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3594, allocations: 134 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3594, allocations: 31.03 kB / 0.5371 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3595, allocations: 113.4 kB / 0.5372 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.3595, allocations: 23.56 kB / 0.5372 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.3596, allocations: 35.61 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3597, allocations: 320.8 kB / 0.5376 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.3598, allocations: 36.95 kB / 0.5376 GB, free: 8.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.36, allocations: 98.25 kB / 0.5377 GB, free: 8.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.3603, allocations: 150.2 kB / 0.5379 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3603, allocations: 1.031 kB / 0.5379 GB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003396/0.3606, allocations: 149.4 kB / 0.538 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3607, allocations: 7.688 kB / 0.538 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3607, allocations: 10.06 kB / 0.538 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3607, allocations: 3.219 kB / 0.538 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.3609, allocations: 46.03 kB / 0.5381 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3609, allocations: 7.219 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.361, allocations: 19.45 kB / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.361, allocations: 5.359 kB / 0.5381 GB, free: 8.344 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 0.0001054/0.3611, allocations: 134.6 kB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.3612, allocations: 12 kB / 0.5382 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.3615, allocations: 127.5 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3615, allocations: 1.125 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3615, allocations: 0 / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3615, allocations: 1.156 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.3618, allocations: 197.7 kB / 0.5385 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3618, allocations: 0 / 0.5385 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.3619, allocations: 36.41 kB / 0.5386 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3619, allocations: 1.188 kB / 0.5386 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.3619, allocations: 0 / 0.5386 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3619, allocations: 1.188 kB / 0.5386 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.362, allocations: 4 kB / 0.5386 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003171/0.3623, allocations: 221.2 kB / 0.5388 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.3623, allocations: 83.02 kB / 0.5389 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3624, allocations: 1.125 kB / 0.5389 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.3625, allocations: 8.266 kB / 0.5389 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3625, allocations: 7.188 kB / 0.5389 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3625, allocations: 1 kB / 0.5389 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.953e-05/0.3626, allocations: 94.05 kB / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3626, allocations: 0 / 0.539 GB, free: 7.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3629, allocations: 30.78 kB / 0.539 GB, free: 7.492 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.0001532/0.3631, allocations: 103.7 kB / 0.5391 GB, free: 7.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.3634, allocations: 98.02 kB / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3634, allocations: 0.5 kB / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.3635, allocations: 49.48 kB / 0.5393 GB, free: 7.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3638, allocations: 12.06 kB / 0.5393 GB, free: 7.328 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.3644, allocations: 268.1 kB / 0.5395 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3646, allocations: 0.7049 MB / 0.5402 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.3647, allocations: 25.08 kB / 0.5402 GB, free: 6.391 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3647, allocations: 0 / 0.5402 GB, free: 6.391 MB / 398.1 MB Notification: Performance of Templates: time 0.003663/0.3684, allocations: 1.31 MB / 0.5415 GB, free: 5.727 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches