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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000869/0.000869, allocations: 81.81 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 168.4 kB / 24.82 MB, free: 8.941 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.106/1.106, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.259/0.259, allocations: 34.87 MB / 296.6 MB, free: 0.4922 MB / 266.7 MB " [Timeout remaining time 180] 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=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|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=5050,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.[0-9,]+.|L|eta|rho|input_mdot.[0-9,]+.|input_dp.[0-9,]+.|M_FLOW.[0-9,]+.|DP.[0-9,]+.|velocity.[0-9,]+.|Re.[0-9,]+.|DP_plot.[0-9,]+.|zeta_TOT.[0-9,]+.|lambda_FRI.[0-9,]+.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.821e-05/4.062e-05, allocations: 4.703 kB / 379.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004063/0.004104, allocations: 1.845 MB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.005618, allocations: 0.8176 MB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.00572, allocations: 4 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.005994, allocations: 35.83 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.006316, allocations: 79.5 kB / 382 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.006583, allocations: 75.61 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.0068, allocations: 139.3 kB / 382.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.684e-05/0.006846, allocations: 7.984 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.00711, allocations: 91.73 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.007287, allocations: 95.73 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.007307, allocations: 8 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.007465, allocations: 39.98 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.672e-05/0.007552, allocations: 35.84 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.0076, allocations: 27.91 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.007897, allocations: 135.5 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.007902, allocations: 0 / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.007904, allocations: 0 / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.007908, allocations: 0 / 382.7 MB, free: 14.33 MB / 362.7 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.0005471/0.008456, allocations: 440 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.00851, allocations: 8.031 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003299/0.008839, allocations: 52.8 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.009034, allocations: 136.5 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.009053, allocations: 8.375 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.009076, allocations: 8.375 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.009368, allocations: 152 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.009383, allocations: 3.938 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.009398, allocations: 4 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.009442, allocations: 8 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.904e-05/0.009541, allocations: 45.31 kB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.01029, allocations: 0.615 MB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.01051, allocations: 71.06 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.01054, allocations: 19.91 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.01057, allocations: 4 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.0106, allocations: 37.39 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.0106, allocations: 4 kB / 384.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002018/0.0108, allocations: 69.58 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.01083, allocations: 51.41 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.01097, allocations: 192.6 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.01099, allocations: 25.7 kB / 384.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.01109, allocations: 166.8 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.01112, allocations: 31.72 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.01119, allocations: 39.36 kB / 384.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.01142, allocations: 0.4923 MB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.01146, allocations: 7.984 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.245e-05/0.01152, allocations: 97.16 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.307e-05/0.01161, allocations: 113 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01162, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001323/0.01175, allocations: 117.4 kB / 385.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.01177, allocations: 11.98 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.01177, allocations: 3.938 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01179, allocations: 4 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01193, allocations: 35.92 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.01193, allocations: 4 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.01211, allocations: 23.88 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.01213, allocations: 8.25 kB / 385.8 MB, free: 10.96 MB / 362.7 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.0001067/0.01223, allocations: 164.5 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.01227, allocations: 7.953 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.01246, allocations: 78.03 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01246, allocations: 3.984 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-06/0.01246, allocations: 0 / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.01247, allocations: 4 kB / 386 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001474/0.01261, allocations: 121.1 kB / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.01262, allocations: 0 / 386.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.01272, allocations: 39.91 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01272, allocations: 0 / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01273, allocations: 4 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.01273, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01274, allocations: 7.938 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.01289, allocations: 208.3 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.0129, allocations: 8 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.01291, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.01298, allocations: 7.984 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.01302, allocations: 7.938 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.01303, allocations: 7.984 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.659e-05/0.01308, allocations: 139.2 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01308, allocations: 0 / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001955/0.01328, allocations: 23.95 kB / 386.6 MB, free: 10.08 MB / 362.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 (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.0001477/0.01343, allocations: 107.2 kB / 386.7 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.01354, allocations: 59.72 kB / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01354, allocations: 0 / 386.7 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.01357, allocations: 27.61 kB / 386.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/0.01375, allocations: 8 kB / 386.8 MB, free: 9.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.01433, allocations: 254.6 kB / 387 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.866e-05/0.01437, allocations: 75.27 kB / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.01442, allocations: 4.5 kB / 387.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.01448, allocations: 82.19 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01449, allocations: 4 kB / 387.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of Templates: time 0.00294/0.01743, allocations: 1.016 MB / 388.2 MB, free: 8.434 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.161446064710617]