Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.001095/0.001095, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001071/0.001071, allocations: 169.7 kB / 24.82 MB, free: 8.887 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.9509/0.9509, allocations: 177.2 MB / 205.3 MB, free: 5.496 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.3075/0.3075, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.[0-9,]+.|eta.[0-9,]+.|lambda.[0-9,]+.|rho.[0-9,]+.|velocity.[0-9,]+.|Nu.[0-9,]+.|Pr.[0-9,]+.|Re.[0-9,]+.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.426e-05, allocations: 2.312 kB / 376.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003151/0.003185, allocations: 1.878 MB / 378.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.004685, allocations: 0.9851 MB / 379.4 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.004795, allocations: 4 kB / 379.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002577/0.005052, allocations: 39.7 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.005322, allocations: 75.53 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004375/0.00576, allocations: 131.4 kB / 379.6 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.006051, allocations: 219 kB / 379.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.923e-05/0.006101, allocations: 9.812 kB / 379.8 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002604/0.006361, allocations: 115.6 kB / 380 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.00651, allocations: 95.69 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.006536, allocations: 8 kB / 380.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.006751, allocations: 99.88 kB / 380.2 MB, free: 0.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.006848, allocations: 59.77 kB / 380.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.889e-05/0.006907, allocations: 51.83 kB / 380.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.007243, allocations: 243.1 kB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007247, allocations: 0 / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.007248, allocations: 0 / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.007254, allocations: 0 / 380.5 MB, free: 368 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006743/0.007928, allocations: 0.5463 MB / 381 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.007973, allocations: 12.03 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.008201, allocations: 52.81 kB / 381.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.008384, allocations: 168.8 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.008401, allocations: 12.59 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.008418, allocations: 8.375 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.008676, allocations: 183.3 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.00869, allocations: 192 / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.008709, allocations: 8.359 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.008742, allocations: 20.16 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.008835, allocations: 56.58 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.009554, allocations: 0.7907 MB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.0097, allocations: 113.2 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.009754, allocations: 39.05 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.009787, allocations: 7.938 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.009815, allocations: 41.52 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.925e-06/0.009818, allocations: 0 / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000289/0.01011, allocations: 121.5 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.01016, allocations: 102.8 kB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.01031, allocations: 239.4 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.01033, allocations: 29.7 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.01042, allocations: 186.9 kB / 383.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.01045, allocations: 39.59 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.01051, allocations: 43.34 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.01067, allocations: 0.5079 MB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.503e-05/0.01071, allocations: 15.92 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.01078, allocations: 66.11 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.0109, allocations: 106.1 kB / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01091, allocations: 0 / 384 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001881/0.01109, allocations: 129.7 kB / 384.1 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.01111, allocations: 4 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.01113, allocations: 11.94 kB / 384.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.01115, allocations: 8.156 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.01128, allocations: 27.97 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.01128, allocations: 4 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.277e-05/0.01135, allocations: 19.94 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.01137, allocations: 4 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 9.747e-05/0.01146, allocations: 172.4 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.01151, allocations: 19.89 kB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.01171, allocations: 119 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.01172, allocations: 7.984 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01172, allocations: 4 kB / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01172, allocations: 0 / 384.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.01194, allocations: 149.2 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.01195, allocations: 15.98 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.112e-05/0.01203, allocations: 19.98 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01203, allocations: 4 kB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.01204, allocations: 11.92 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01205, allocations: 4 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01205, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.01232, allocations: 486.1 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.01234, allocations: 27.83 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.01236, allocations: 7.938 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01246, allocations: 8 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.01251, allocations: 15.97 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01252, allocations: 4 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.582e-05/0.0126, allocations: 168.2 kB / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0126, allocations: 0 / 385.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.0129, allocations: 75.77 kB / 385.5 MB, free: 10.99 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0002216/0.01312, allocations: 163.1 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.01332, allocations: 148.9 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01332, allocations: 4.062 kB / 385.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.0134, allocations: 120.7 kB / 385.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.01374, allocations: 37.25 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.01457, allocations: 415.2 kB / 386.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.4e-05/0.01464, allocations: 91.27 kB / 386.4 MB, free: 9.922 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.0147, allocations: 12.64 kB / 386.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.01483, allocations: 114.2 kB / 386.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01483, allocations: 3.938 kB / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of Templates: time 0.005682/0.02052, allocations: 3.359 MB / 389.9 MB, free: 6.469 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/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.1411273078992963]