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.001104/0.001104, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002712, allocations: 449.7 kB / 10.37 MB, free: 324 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.001109/0.001109, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.00251, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9717/0.9717, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08508/1.057, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.2575/0.2575, allocations: 34.87 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02469/0.2822, allocations: 13.23 MB / 292.6 MB, free: 6.461 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 2.054e-06/2.054e-06, allocations: 0 / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.568e-05, allocations: 3.516 kB / 293.9 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003536/0.003562, allocations: 1.925 MB / 295.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.004925, allocations: 0.8343 MB / 296.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.004994, allocations: 3.938 kB / 296.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.00514, allocations: 31.84 kB / 296.7 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.005328, allocations: 79.5 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.005463, allocations: 71.61 kB / 296.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.005599, allocations: 139.3 kB / 297 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.668e-05/0.005635, allocations: 8 kB / 297 MB, free: 2.074 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.005813, allocations: 95.77 kB / 297.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.005929, allocations: 83.77 kB / 297.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.005944, allocations: 4 kB / 297.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.006067, allocations: 51.91 kB / 297.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.00612, allocations: 31.86 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.006148, allocations: 16 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.006324, allocations: 123.5 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.006338, allocations: 0 / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.006339, allocations: 0 / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.006353, allocations: 0 / 297.4 MB, free: 1.676 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.0004013/0.006754, allocations: 325.3 kB / 297.7 MB, free: 1.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.006784, allocations: 12.92 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.007022, allocations: 129.9 kB / 297.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.007131, allocations: 117.7 kB / 297.9 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.007142, allocations: 8.375 kB / 297.9 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.007155, allocations: 12.36 kB / 298 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.007327, allocations: 144.2 kB / 298.1 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.007337, allocations: 7.875 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.007345, allocations: 0 / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.007368, allocations: 19.92 kB / 298.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.007424, allocations: 35.98 kB / 298.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.007832, allocations: 450.9 kB / 298.6 MB, free: 340 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.007989, allocations: 61.38 kB / 298.7 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.088e-05/0.00801, allocations: 21 kB / 298.7 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.008022, allocations: 0 / 298.7 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.008041, allocations: 34.56 kB / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.008043, allocations: 0 / 298.7 MB, free: 200 kB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001134/0.008156, allocations: 57.56 kB / 298.8 MB, free: 136 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.008188, allocations: 63.39 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.342e-05/0.008281, allocations: 129.1 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.008294, allocations: 25.7 kB / 299 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/0.008345, allocations: 120.1 kB / 299.1 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.008362, allocations: 27.73 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.008396, allocations: 33.7 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.008461, allocations: 322.8 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.008478, allocations: 8 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.008519, allocations: 71.7 kB / 299.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.308e-05/0.008592, allocations: 98.69 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.008595, allocations: 8 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001016/0.008697, allocations: 101.4 kB / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.008709, allocations: 4 kB / 299.8 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.008715, allocations: 4 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.008726, allocations: 3.938 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.008881, allocations: 48.22 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.008886, allocations: 3.938 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.373e-05/0.00893, allocations: 23.88 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.008938, allocations: 4 kB / 299.8 MB, free: 14.94 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.867e-05/0.008997, allocations: 120.6 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.009012, allocations: 4 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.009117, allocations: 70.03 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.009121, allocations: 7.938 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.009122, allocations: 0 / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.009125, allocations: 4 kB / 300 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.911e-05/0.009224, allocations: 89.86 kB / 300.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009226, allocations: 3.938 kB / 300.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.863e-05/0.009314, allocations: 27.97 kB / 300.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-06/0.009324, allocations: 7.953 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.009326, allocations: 0 / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.009332, allocations: 4 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.009336, allocations: 7.938 kB / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.009337, allocations: 0 / 300.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.296e-05/0.00943, allocations: 155.5 kB / 300.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.009441, allocations: 4 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.816e-05/0.009479, allocations: 7.984 kB / 300.3 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.009508, allocations: 7.938 kB / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.009511, allocations: 0 / 300.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.628e-05/0.009527, allocations: 16.84 kB / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009527, allocations: 0 / 300.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.009671, allocations: 31.89 kB / 300.4 MB, free: 14.33 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.0001102/0.009781, allocations: 86.27 kB / 300.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.279e-05/0.009874, allocations: 56.7 kB / 300.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.009879, allocations: 0 / 300.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.009902, allocations: 20.84 kB / 300.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.01005, allocations: 12 kB / 300.6 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.0114, allocations: 271.7 kB / 300.8 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.153e-05/0.01144, allocations: 71.33 kB / 300.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.567e-05/0.01149, allocations: 24.95 kB / 300.9 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.01154, allocations: 55.38 kB / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01154, allocations: 0 / 301 MB, free: 13.68 MB / 298.7 MB Notification: Performance of Templates: time 0.002994/0.01453, allocations: 0.9554 MB / 301.9 MB, free: 12.78 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.007204633206129]