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.001313/0.001313, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001449/0.001449, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 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.474/1.474, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2282/0.2282, allocations: 46.94 MB / 361.6 MB, free: 3.926 MB / 286.1 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.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|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.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 79.88 kB / 0.4974 GB, free: 7.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3057, allocations: 66.09 MB / 0.5619 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003315/0.309, allocations: 1.775 MB / 0.5637 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.3104, allocations: 0.7645 MB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.3104, allocations: 7.938 kB / 0.5644 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.3107, allocations: 39.81 kB / 0.5645 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.3109, allocations: 75.58 kB / 0.5645 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.3111, allocations: 71.72 kB / 0.5646 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3113, allocations: 135.4 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.3114, allocations: 15.95 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3115, allocations: 67.7 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.3117, allocations: 91.7 kB / 0.5649 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3117, allocations: 4 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.3118, allocations: 51.89 kB / 0.565 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.623e-05/0.3119, allocations: 31.91 kB / 0.565 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.312, allocations: 35.73 kB / 0.565 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.3122, allocations: 133.9 kB / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3122, allocations: 0 / 0.5652 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3122, allocations: 3.938 kB / 0.5652 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3122, allocations: 0 / 0.5652 GB, free: 0.6523 MB / 398.1 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.0005786/0.3128, allocations: 340.6 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.3128, allocations: 12.03 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/0.3132, allocations: 36.81 kB / 0.5655 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3134, allocations: 134.4 kB / 0.5657 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3134, allocations: 4.375 kB / 0.5657 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3134, allocations: 20.11 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.3138, allocations: 172.1 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.3138, allocations: 3.938 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3138, allocations: 8 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.3139, allocations: 15.98 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.3142, allocations: 135.9 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.315, allocations: 0.5081 MB / 0.5665 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.3153, allocations: 114.6 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3154, allocations: 36.83 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.3155, allocations: 0 / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.3155, allocations: 34.56 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.3155, allocations: 0 / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004412/0.3159, allocations: 145.6 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.316, allocations: 51.41 kB / 0.5669 GB, free: 14.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3161, allocations: 137.1 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.3161, allocations: 25.7 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.3162, allocations: 124.1 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.3162, allocations: 23.8 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/0.3163, allocations: 41.59 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3164, allocations: 314.8 kB / 0.5675 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.3165, allocations: 39.95 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.3167, allocations: 91.64 kB / 0.5676 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.317, allocations: 147.5 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.317, allocations: 0 / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003308/0.3173, allocations: 161.4 kB / 0.5679 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3173, allocations: 10.34 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3173, allocations: 0 / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3173, allocations: 4 kB / 0.5679 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.3175, allocations: 43.91 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3175, allocations: 256 / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.3176, allocations: 27.88 kB / 0.568 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3176, allocations: 8 kB / 0.568 GB, free: 13.49 MB / 414.1 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.0001187/0.3177, allocations: 133.6 kB / 0.5681 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.3178, allocations: 7.953 kB / 0.5681 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003192/0.3181, allocations: 118 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3181, allocations: 0 / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3181, allocations: 7.938 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3181, allocations: 4 kB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.3183, allocations: 141.2 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.3183, allocations: 3.938 kB / 0.5684 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.3184, allocations: 23.98 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3184, allocations: 0 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3184, allocations: 0 / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3184, allocations: 3.984 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3184, allocations: 4 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.3187, allocations: 211.4 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.3188, allocations: 11.89 kB / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.3188, allocations: 0 / 0.5686 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.3189, allocations: 11.98 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.3189, allocations: 11.92 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3189, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.385e-05/0.319, allocations: 95.27 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.319, allocations: 0 / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3192, allocations: 23.94 kB / 0.5688 GB, free: 12.62 MB / 414.1 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.0001379/0.3194, allocations: 103.2 kB / 0.5689 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002965/0.3197, allocations: 92.41 kB / 0.569 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.3197, allocations: 7.938 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3198, allocations: 40.62 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.3201, allocations: 16.02 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.3206, allocations: 281.2 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.3207, allocations: 93.25 kB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.3207, allocations: 15.44 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3207, allocations: 4 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of Templates: time 0.003253/0.324, allocations: 1.354 MB / 0.5707 GB, free: 10.57 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.7872269111685455]