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.0008521/0.0008521, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001526/0.002378, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001423/0.001423, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002325/0.003748, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.136/1.136, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1021/1.238, allocations: 53.86 MB / 243.9 MB, free: 14.88 MB / 250.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.3061/0.3061, allocations: 34.89 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02803/0.3342, allocations: 13.23 MB / 292.8 MB, free: 6.414 MB / 282.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 1.884e-06/1.884e-06, allocations: 0 / 294.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.836e-05, allocations: 2.969 kB / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.004298/0.004326, allocations: 1.918 MB / 296 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.006226, allocations: 0.8382 MB / 296.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.006337, allocations: 0 / 296.9 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.006583, allocations: 39.81 kB / 296.9 MB, free: 2.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.006888, allocations: 83.45 kB / 297 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.007145, allocations: 67.67 kB / 297.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002302/0.007375, allocations: 147.3 kB / 297.2 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.007427, allocations: 4 kB / 297.2 MB, free: 1.988 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.007709, allocations: 87.73 kB / 297.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.007888, allocations: 87.75 kB / 297.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.007908, allocations: 4 kB / 297.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001636/0.008072, allocations: 55.91 kB / 297.4 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.008138, allocations: 23.92 kB / 297.5 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.906e-05/0.008177, allocations: 19.94 kB / 297.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.008425, allocations: 119.6 kB / 297.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.008439, allocations: 0 / 297.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.00844, allocations: 0 / 297.6 MB, free: 1.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.008452, allocations: 0 / 297.6 MB, free: 1.598 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.0005615/0.009014, allocations: 329.2 kB / 297.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.009052, allocations: 12.92 kB / 297.9 MB, free: 1.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.009375, allocations: 129.9 kB / 298.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.00953, allocations: 121.7 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.009548, allocations: 8.359 kB / 298.2 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.00957, allocations: 12.38 kB / 298.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.009836, allocations: 144.2 kB / 298.3 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.009849, allocations: 7.938 kB / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.009866, allocations: 8 kB / 298.3 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/0.009902, allocations: 7.984 kB / 298.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.976e-05/0.009982, allocations: 35.92 kB / 298.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.01061, allocations: 451 kB / 298.8 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.01084, allocations: 69.36 kB / 298.9 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.01087, allocations: 8.859 kB / 298.9 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.01088, allocations: 0 / 298.9 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.01091, allocations: 34.56 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.01091, allocations: 0 / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001655/0.01107, allocations: 65.56 kB / 299 MB, free: 48 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.01113, allocations: 59.39 kB / 299.1 MB, free: 15.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.409e-05/0.01122, allocations: 128.6 kB / 299.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.01124, allocations: 25.7 kB / 299.2 MB, free: 15.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.0113, allocations: 120.1 kB / 299.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.01132, allocations: 35.72 kB / 299.4 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.01137, allocations: 29.7 kB / 299.4 MB, free: 15.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.01147, allocations: 314.8 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.0115, allocations: 11.98 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.01156, allocations: 71.66 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.01167, allocations: 106.7 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01167, allocations: 0 / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001402/0.01181, allocations: 101.5 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.01183, allocations: 4 kB / 300 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01183, allocations: 4 kB / 300 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01185, allocations: 11.88 kB / 300 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.01201, allocations: 43.91 kB / 300 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.01201, allocations: 4 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.361e-05/0.01206, allocations: 15.89 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.01206, allocations: 4 kB / 300.1 MB, free: 14.86 MB / 298.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 5.916e-05/0.01212, allocations: 124.8 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.01214, allocations: 7.984 kB / 300.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.01224, allocations: 74.03 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01224, allocations: 3.938 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01225, allocations: 0 / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01225, allocations: 3.984 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.01236, allocations: 89.88 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01236, allocations: 0 / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.01245, allocations: 35.97 kB / 300.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.01246, allocations: 3.953 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.01246, allocations: 3.984 kB / 300.4 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.01247, allocations: 4 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.01247, allocations: 3.938 kB / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01247, allocations: 0 / 300.4 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.566e-05/0.01256, allocations: 159.5 kB / 300.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.01258, allocations: 4 kB / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.01261, allocations: 0 / 300.6 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.01264, allocations: 11.92 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.01265, allocations: 4 kB / 300.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.962e-05/0.01267, allocations: 26.84 kB / 300.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01267, allocations: 0 / 300.6 MB, free: 14.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.01282, allocations: 27.89 kB / 300.6 MB, free: 14.23 MB / 298.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.000119/0.01294, allocations: 80.41 kB / 300.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.72e-05/0.01302, allocations: 56.8 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.515e-06/0.01303, allocations: 4 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.01307, allocations: 32.78 kB / 300.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.01324, allocations: 46.45 kB / 300.9 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.01459, allocations: 255.8 kB / 301.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.01464, allocations: 75.27 kB / 301.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.278e-05/0.01468, allocations: 8.484 kB / 301.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.01474, allocations: 63.38 kB / 301.3 MB, free: 13.56 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01474, allocations: 4 kB / 301.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Templates: time 0.002876/0.01762, allocations: 0.9086 MB / 302.2 MB, free: 12.7 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0345213701948524]