Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.0009962/0.0009962, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009316/0.0009316, allocations: 170.6 kB / 24.99 MB, free: 8.793 MB / 18.57 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 0.9832/0.9832, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.273/0.273, allocations: 32.81 MB / 294.6 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|m_flow.[0-9,]+.|Re_1.[0-9,]+.|Nu_1.[0-9,]+.|Nu_2.[0-9,]+.|Nu_3.[0-9,]+.|Nu_4.[0-9,]+.|Re|Pr.[0-9,]+.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.913e-05/3.102e-05, allocations: 6.25 kB / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.009352/0.009383, allocations: 2.25 MB / 378.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004735/0.01412, allocations: 1.157 MB / 379.5 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.01427, allocations: 3.938 kB / 379.5 MB, free: 1.527 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.01476, allocations: 55.67 kB / 379.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.01503, allocations: 119.2 kB / 379.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.01556, allocations: 195.3 kB / 379.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/0.01606, allocations: 0.513 MB / 380.3 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.01613, allocations: 25.28 kB / 380.4 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.01946, allocations: 231.1 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.01968, allocations: 171.4 kB / 380.8 MB, free: 232 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.01971, allocations: 12 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.02, allocations: 143.8 kB / 380.9 MB, free: 76 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.02012, allocations: 103.5 kB / 381 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001321/0.02026, allocations: 123.5 kB / 381.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.02085, allocations: 0.4942 MB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.02085, allocations: 0 / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02086, allocations: 0 / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.02086, allocations: 8 kB / 381.6 MB, free: 15.35 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009814/0.02185, allocations: 0.7803 MB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.02189, allocations: 12.03 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.02225, allocations: 116.6 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003331/0.02558, allocations: 231.9 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.0256, allocations: 33.38 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.02565, allocations: 48.31 kB / 382.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.02626, allocations: 460.3 kB / 383.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.02627, allocations: 7.938 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.02631, allocations: 20 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-05/0.02635, allocations: 24.98 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003089/0.02666, allocations: 169.8 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.02813, allocations: 1.403 MB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.02845, allocations: 161.2 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.02856, allocations: 59.19 kB / 385.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.677e-05/0.02861, allocations: 15.86 kB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.02864, allocations: 41.39 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 2.665e-06/0.02864, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005376/0.02918, allocations: 195.5 kB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.02923, allocations: 110.8 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.02945, allocations: 308.2 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.02948, allocations: 29.7 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.02961, allocations: 306.9 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.02967, allocations: 79.61 kB / 386.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.02978, allocations: 91.58 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.03002, allocations: 0.5196 MB / 386.8 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.03013, allocations: 32.27 kB / 386.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.03032, allocations: 223.3 kB / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.03064, allocations: 280.6 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.03064, allocations: 7.875 kB / 387.3 MB, free: 9.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004416/0.03109, allocations: 269.1 kB / 387.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.0311, allocations: 8 kB / 387.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-05/0.03116, allocations: 43.98 kB / 387.6 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.03117, allocations: 4.531 kB / 387.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.03131, allocations: 39.91 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.03132, allocations: 8 kB / 387.7 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.03146, allocations: 35.77 kB / 387.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.03149, allocations: 27.94 kB / 387.8 MB, free: 8.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000121/0.03161, allocations: 176.5 kB / 387.9 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.03169, allocations: 31.86 kB / 388 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.03214, allocations: 270.9 kB / 388.2 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.03215, allocations: 7.984 kB / 388.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.03215, allocations: 0 / 388.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.03216, allocations: 4 kB / 388.2 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004212/0.03258, allocations: 332.3 kB / 388.6 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.03263, allocations: 43.98 kB / 388.6 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.0327, allocations: 19.92 kB / 388.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.0327, allocations: 0 / 388.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.03273, allocations: 15.98 kB / 388.6 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.03273, allocations: 4 kB / 388.6 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.03273, allocations: 0 / 388.6 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004226/0.03315, allocations: 0.5476 MB / 389.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.03319, allocations: 19.86 kB / 389.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.03322, allocations: 15.98 kB / 389.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.03339, allocations: 8 kB / 389.2 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.03347, allocations: 31.84 kB / 389.3 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.0335, allocations: 15.98 kB / 389.3 MB, free: 7.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.03361, allocations: 193.1 kB / 389.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03361, allocations: 0 / 389.5 MB, free: 7.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005129/0.03412, allocations: 163.4 kB / 389.6 MB, free: 6.844 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002782/0.0344, allocations: 155 kB / 389.8 MB, free: 6.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004797/0.03488, allocations: 477.8 kB / 390.2 MB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03488, allocations: 8 kB / 390.2 MB, free: 6.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.03513, allocations: 392 kB / 390.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.03561, allocations: 44.47 kB / 390.7 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.03708, allocations: 0.7583 MB / 391.4 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.03719, allocations: 143.9 kB / 391.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.0373, allocations: 49.83 kB / 391.6 MB, free: 4.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.03735, allocations: 16.5 kB / 391.6 MB, free: 4.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.432e-06/0.03735, allocations: 4 kB / 391.6 MB, free: 4.594 MB / 362.7 MB Notification: Performance of Templates: time 0.008457/0.0458, allocations: 5.553 MB / 397.2 MB, free: 15.14 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.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.350332092959434]