Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008397/0.0008397, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002075, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001019/0.001019, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001306/0.002325, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.118/1.159, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2698/0.2698, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02423/0.294, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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=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_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 292.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.957e-05, allocations: 5.328 kB / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002298/0.002317, allocations: 1.91 MB / 294.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003379, allocations: 0.8262 MB / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.003448, allocations: 0 / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001445/0.003592, allocations: 43.77 kB / 295.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.003802, allocations: 79.52 kB / 295.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.003984, allocations: 75.66 kB / 295.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.004163, allocations: 143.3 kB / 295.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.004208, allocations: 4 kB / 295.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.004406, allocations: 95.66 kB / 295.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.00453, allocations: 83.81 kB / 295.9 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.004544, allocations: 4 kB / 295.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.004676, allocations: 59.91 kB / 296 MB, free: 2.953 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.004727, allocations: 23.92 kB / 296 MB, free: 2.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.004759, allocations: 19.94 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.004942, allocations: 123.5 kB / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479e-05/0.004957, allocations: 0 / 296.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004958, allocations: 3.938 kB / 296.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.004972, allocations: 0 / 296.1 MB, free: 2.785 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.000422/0.005394, allocations: 325.3 kB / 296.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.005424, allocations: 8.031 kB / 296.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.005661, allocations: 125.9 kB / 296.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.005777, allocations: 121.7 kB / 296.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.005789, allocations: 16.31 kB / 296.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.005801, allocations: 4.375 kB / 296.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.005986, allocations: 146.9 kB / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.005995, allocations: 3.938 kB / 296.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.006008, allocations: 7.984 kB / 296.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.006035, allocations: 11.98 kB / 296.9 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.644e-05/0.006091, allocations: 43.17 kB / 296.9 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.006547, allocations: 443 kB / 297.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.006713, allocations: 73.3 kB / 297.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.179e-05/0.006735, allocations: 8.859 kB / 297.4 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.006751, allocations: 7.984 kB / 297.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.006774, allocations: 30.56 kB / 297.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.006775, allocations: 0 / 297.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001338/0.006909, allocations: 61.78 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.006942, allocations: 59.39 kB / 297.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.571e-05/0.007018, allocations: 131.6 kB / 297.7 MB, free: 1.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.007029, allocations: 25.7 kB / 297.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.267e-05/0.007081, allocations: 120.1 kB / 297.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.007102, allocations: 35.66 kB / 297.9 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.007138, allocations: 29.7 kB / 297.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.007228, allocations: 314.8 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.007245, allocations: 8 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.151e-05/0.007297, allocations: 69.95 kB / 298.3 MB, free: 400 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.045e-05/0.007377, allocations: 110.6 kB / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.00738, allocations: 0 / 298.4 MB, free: 260 kB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001061/0.007486, allocations: 97.56 kB / 298.5 MB, free: 156 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.007501, allocations: 4 kB / 298.5 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.007508, allocations: 4 kB / 298.5 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.007522, allocations: 11.94 kB / 298.5 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.007674, allocations: 43.91 kB / 298.6 MB, free: 92 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007679, allocations: 4 kB / 298.6 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.007724, allocations: 19.88 kB / 298.6 MB, free: 68 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.007731, allocations: 4 kB / 298.6 MB, free: 64 kB / 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 8.692e-05/0.007818, allocations: 132.7 kB / 298.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.007835, allocations: 4 kB / 298.7 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.007937, allocations: 70.09 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.00794, allocations: 3.938 kB / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.007941, allocations: 0 / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.007944, allocations: 0 / 298.8 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.008042, allocations: 81.88 kB / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008043, allocations: 0 / 298.9 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.008133, allocations: 39.91 kB / 298.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.008141, allocations: 3.953 kB / 298.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.008143, allocations: 0 / 298.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.00815, allocations: 8 kB / 298.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.008153, allocations: 3.938 kB / 298.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.008154, allocations: 0 / 298.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.008261, allocations: 159.5 kB / 299.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.008272, allocations: 0 / 299.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.914e-05/0.008311, allocations: 11.98 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.008341, allocations: 3.938 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.008345, allocations: 4 kB / 299.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.835e-05/0.008363, allocations: 26.58 kB / 299.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008363, allocations: 0 / 299.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001545/0.008518, allocations: 31.89 kB / 299.2 MB, free: 15.44 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.0001059/0.008623, allocations: 92.28 kB / 299.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.008709, allocations: 45.03 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.008718, allocations: 7.984 kB / 299.3 MB, free: 15.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.008746, allocations: 24.78 kB / 299.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.008903, allocations: 15.94 kB / 299.4 MB, free: 15.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.01032, allocations: 263.1 kB / 299.6 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.01036, allocations: 71.33 kB / 299.7 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.204e-05/0.0104, allocations: 12.47 kB / 299.7 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.01045, allocations: 59.38 kB / 299.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01045, allocations: 4 kB / 299.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Templates: time 0.002555/0.01301, allocations: 0.9567 MB / 300.7 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.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.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: 2.930909057147801]