Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 88.19 kB / 20.65 MB, free: 3.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009925/0.0009925, allocations: 169 kB / 24.06 MB, free: 460 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1662/0.1662, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 348.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/3e-05, allocations: 6.25 kB / 348.2 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003063/0.003093, allocations: 1.848 MB / 350 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.004421, allocations: 0.8188 MB / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004526, allocations: 0 / 350.8 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.004826, allocations: 39.7 kB / 350.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.005099, allocations: 79.52 kB / 350.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.005354, allocations: 71.67 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.005539, allocations: 139.4 kB / 351.2 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.032e-05/0.005599, allocations: 4 kB / 351.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.005818, allocations: 95.59 kB / 351.2 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.005987, allocations: 83.81 kB / 351.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.006009, allocations: 4 kB / 351.3 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.006167, allocations: 43.92 kB / 351.4 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.006248, allocations: 35.89 kB / 351.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.006286, allocations: 23.92 kB / 351.4 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.006531, allocations: 143.5 kB / 351.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.006536, allocations: 0 / 351.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.006538, allocations: 3.938 kB / 351.6 MB, free: 5.707 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.006545, allocations: 0 / 351.6 MB, free: 5.707 MB / 282.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.0004583/0.007003, allocations: 428.2 kB / 352 MB, free: 5.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.00706, allocations: 12.03 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003064/0.007366, allocations: 52.78 kB / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.007507, allocations: 132.4 kB / 352.2 MB, free: 5.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.007524, allocations: 8.375 kB / 352.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.007539, allocations: 16.36 kB / 352.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.007761, allocations: 149.8 kB / 352.4 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.007772, allocations: 3.938 kB / 352.4 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.007786, allocations: 3.984 kB / 352.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.00782, allocations: 15.98 kB / 352.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.475e-05/0.007884, allocations: 39.91 kB / 352.4 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.008487, allocations: 0.611 MB / 353 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.008652, allocations: 87.06 kB / 353.1 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.553e-05/0.008678, allocations: 15.69 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.008694, allocations: 4 kB / 353.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.008712, allocations: 33.39 kB / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.008714, allocations: 0 / 353.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001473/0.008861, allocations: 69.58 kB / 353.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/0.008881, allocations: 55.55 kB / 353.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.008956, allocations: 196.5 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.214e-06/0.008964, allocations: 29.7 kB / 353.5 MB, free: 3.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.009013, allocations: 166.8 kB / 353.7 MB, free: 3.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.00903, allocations: 31.77 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.009073, allocations: 35.36 kB / 353.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.009152, allocations: 0.4884 MB / 354.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.009174, allocations: 11.98 kB / 354.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.898e-05/0.009223, allocations: 97.16 kB / 354.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.058e-05/0.009304, allocations: 121.3 kB / 354.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.009306, allocations: 0 / 354.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001164/0.009423, allocations: 109.4 kB / 354.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.009437, allocations: 8 kB / 354.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.009442, allocations: 8.188 kB / 354.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.009455, allocations: 4 kB / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.009555, allocations: 39.92 kB / 354.6 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.009558, allocations: 4 kB / 354.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.009603, allocations: 19.88 kB / 354.6 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.00961, allocations: 4 kB / 354.6 MB, free: 2.344 MB / 282.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 7.045e-05/0.00968, allocations: 168.5 kB / 354.8 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.009703, allocations: 11.95 kB / 354.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.009831, allocations: 74.05 kB / 354.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.009833, allocations: 0 / 354.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.009838, allocations: 4 kB / 354.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.009842, allocations: 3.984 kB / 354.9 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.009954, allocations: 121.2 kB / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009956, allocations: 0 / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.01002, allocations: 27.92 kB / 355.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01003, allocations: 0 / 355.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.01003, allocations: 0 / 355.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01004, allocations: 11.94 kB / 355.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01004, allocations: 3.938 kB / 355.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.01016, allocations: 211.9 kB / 355.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.01017, allocations: 7.938 kB / 355.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.01018, allocations: 3.984 kB / 355.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.01022, allocations: 4 kB / 355.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.01026, allocations: 15.92 kB / 355.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.01027, allocations: 0 / 355.3 MB, free: 1.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.574e-05/0.0103, allocations: 135.2 kB / 355.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0103, allocations: 0 / 355.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.01049, allocations: 31.89 kB / 355.5 MB, free: 1.465 MB / 282.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.000155/0.01065, allocations: 99.25 kB / 355.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.01076, allocations: 59.58 kB / 355.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01077, allocations: 0 / 355.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.508e-05/0.01079, allocations: 28.11 kB / 355.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.01101, allocations: 17.22 kB / 355.7 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.01161, allocations: 245.3 kB / 355.9 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.01165, allocations: 71.33 kB / 356 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.01169, allocations: 16.47 kB / 356 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.01175, allocations: 78.2 kB / 356.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01175, allocations: 0 / 356.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of Templates: time 0.00354/0.01529, allocations: 1.017 MB / 357.1 MB, free: 15.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.324798892252147]