Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001819/0.001819, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002223/0.002223, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.515/1.515, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2251/0.2251, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 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.HeatTransfer.Plate.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.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.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.476e-05, allocations: 5.234 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003296/0.003321, allocations: 1.817 MB / 444.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.004994, allocations: 0.9229 MB / 445.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.00507, allocations: 4 kB / 445.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.005378, allocations: 39.7 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.005648, allocations: 79.52 kB / 445.6 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004112/0.006059, allocations: 135.3 kB / 445.7 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.006413, allocations: 215.1 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.006463, allocations: 5.812 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.00671, allocations: 119.6 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.006882, allocations: 91.75 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.006914, allocations: 8 kB / 446.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.007154, allocations: 99.81 kB / 446.2 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.36e-05/0.007247, allocations: 63.75 kB / 446.3 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.007332, allocations: 55.83 kB / 446.3 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004149/0.007747, allocations: 259.1 kB / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.007749, allocations: 0 / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.00775, allocations: 0 / 446.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.007754, allocations: 0 / 446.6 MB, free: 1.469 MB / 366.1 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.001017/0.008771, allocations: 457.3 kB / 447 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.008804, allocations: 16.03 kB / 447.1 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.009184, allocations: 48.8 kB / 447.1 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.009485, allocations: 181.4 kB / 447.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.009498, allocations: 8.547 kB / 447.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.009532, allocations: 12.38 kB / 447.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.01011, allocations: 267.2 kB / 447.6 MB, free: 432 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01012, allocations: 8.125 kB / 447.6 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.01014, allocations: 4.375 kB / 447.6 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.01018, allocations: 24.14 kB / 447.6 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005987/0.01078, allocations: 220.4 kB / 447.8 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2009/0.2117, allocations: 0.7006 MB / 448.5 MB, free: 19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000422/0.2121, allocations: 183.8 kB / 448.7 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.2124, allocations: 99.66 kB / 448.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.2124, allocations: 2.953 kB / 448.8 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.2124, allocations: 42.5 kB / 448.8 MB, free: 18.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.665e-06/0.2124, allocations: 3.938 kB / 448.8 MB, free: 18.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001078/0.2135, allocations: 312.1 kB / 449.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.2135, allocations: 110.6 kB / 449.3 MB, free: 18.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2137, allocations: 191.1 kB / 449.4 MB, free: 18.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2138, allocations: 30.39 kB / 449.5 MB, free: 18.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.2138, allocations: 145.2 kB / 449.6 MB, free: 18.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2139, allocations: 35.05 kB / 449.6 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.951e-05/0.2139, allocations: 42.52 kB / 449.7 MB, free: 18.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.214, allocations: 324.2 kB / 450 MB, free: 18.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.2143, allocations: 93.95 kB / 450.1 MB, free: 18.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.2146, allocations: 131.8 kB / 450.2 MB, free: 18.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.2152, allocations: 232.9 kB / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2152, allocations: 0 / 450.4 MB, free: 17.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000695/0.2159, allocations: 276.6 kB / 450.7 MB, free: 17.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2159, allocations: 6.484 kB / 450.7 MB, free: 17.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.2159, allocations: 11.81 kB / 450.7 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2159, allocations: 2.312 kB / 450.7 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.2162, allocations: 40.62 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2162, allocations: 3.016 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/0.2164, allocations: 28.83 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.2164, allocations: 12.45 kB / 450.8 MB, free: 17.85 MB / 366.1 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 0.0001118/0.2165, allocations: 137.9 kB / 451 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.712e-05/0.2166, allocations: 18.84 kB / 451 MB, free: 17.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005064/0.2171, allocations: 221.4 kB / 451.2 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2171, allocations: 4.281 kB / 451.2 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2171, allocations: 1.344 kB / 451.2 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2171, allocations: 2.047 kB / 451.2 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.2174, allocations: 188.5 kB / 451.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.2174, allocations: 6.938 kB / 451.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/0.2176, allocations: 41.52 kB / 451.4 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2176, allocations: 1.156 kB / 451.4 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.2177, allocations: 8.906 kB / 451.4 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.2177, allocations: 1.891 kB / 451.4 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2177, allocations: 0 / 451.4 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.2183, allocations: 474.5 kB / 451.9 MB, free: 17.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.2184, allocations: 23.66 kB / 451.9 MB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2184, allocations: 13.09 kB / 451.9 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2186, allocations: 17.48 kB / 452 MB, free: 17.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.2187, allocations: 19.66 kB / 452 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.2188, allocations: 5.703 kB / 452 MB, free: 17.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.2189, allocations: 147.6 kB / 452.1 MB, free: 17.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2189, allocations: 0 / 452.1 MB, free: 17.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.2193, allocations: 74.02 kB / 452.2 MB, free: 17.04 MB / 366.1 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.0002575/0.2196, allocations: 154.1 kB / 452.4 MB, free: 16.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006637/0.2202, allocations: 290 kB / 452.6 MB, free: 16.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2202, allocations: 0 / 452.6 MB, free: 16.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.2206, allocations: 174.3 kB / 452.8 MB, free: 16.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.2211, allocations: 26.14 kB / 452.8 MB, free: 16.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000933/0.222, allocations: 435.6 kB / 453.3 MB, free: 16.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.2221, allocations: 128.8 kB / 453.4 MB, free: 16.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.2222, allocations: 35.59 kB / 453.4 MB, free: 16.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.2223, allocations: 22.23 kB / 453.4 MB, free: 16.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2223, allocations: 0 / 453.4 MB, free: 16.36 MB / 366.1 MB Notification: Performance of Templates: time 0.007921/0.2302, allocations: 3.052 MB / 456.5 MB, free: 16.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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: 5.1500111892819405]