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_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,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.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 118.4 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 55.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3491, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002548/0.3517, allocations: 1.68 MB / 0.5206 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009616/0.3527, allocations: 0.7336 MB / 0.5213 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.153e-05/0.3527, allocations: 1.031 kB / 0.5213 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.353, allocations: 38.22 kB / 0.5213 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.3532, allocations: 67.22 kB / 0.5214 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.3534, allocations: 55.88 kB / 0.5214 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.3536, allocations: 156 kB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.3537, allocations: 9.828 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.3538, allocations: 59.91 kB / 0.5217 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3539, allocations: 81.95 kB / 0.5217 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.354, allocations: 8.438 kB / 0.5217 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.3541, allocations: 67.7 kB / 0.5218 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.11e-05/0.3542, allocations: 51.64 kB / 0.5219 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.478e-05/0.3543, allocations: 62.5 kB / 0.5219 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.3546, allocations: 171 kB / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3546, allocations: 0 / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3546, allocations: 0 / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.3547, allocations: 3.938 kB / 0.5221 GB, free: 1.605 MB / 382.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.0005827/0.3552, allocations: 471.8 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3553, allocations: 9.469 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/0.3558, allocations: 77.25 kB / 0.5226 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.356, allocations: 210.8 kB / 0.5228 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.356, allocations: 14.22 kB / 0.5228 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.3561, allocations: 6.469 kB / 0.5228 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004877/0.3566, allocations: 258.1 kB / 0.5231 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3566, allocations: 4 kB / 0.5231 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3566, allocations: 9.203 kB / 0.5231 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.72e-05/0.3566, allocations: 17.17 kB / 0.5231 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.3572, allocations: 240.3 kB / 0.5233 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3583, allocations: 0.6603 MB / 0.524 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.3587, allocations: 229.2 kB / 0.5242 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.359, allocations: 79.45 kB / 0.5243 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.359, allocations: 5.844 kB / 0.5243 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.359, allocations: 35.81 kB / 0.5243 GB, free: 220 kB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.359, allocations: 1.062 kB / 0.5243 GB, free: 220 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007708/0.3598, allocations: 285.7 kB / 0.5246 GB, free: 148 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.3599, allocations: 54.78 kB / 0.5246 GB, free: 84 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3602, allocations: 226 kB / 0.5249 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.3602, allocations: 26.83 kB / 0.5249 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3604, allocations: 128.5 kB / 0.525 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.3604, allocations: 41.58 kB / 0.525 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.3605, allocations: 43.77 kB / 0.5251 GB, free: 15.74 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3607, allocations: 328.8 kB / 0.5254 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.361, allocations: 78.8 kB / 0.5255 GB, free: 15.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.3613, allocations: 122.8 kB / 0.5256 GB, free: 15.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.3618, allocations: 199 kB / 0.5258 GB, free: 15.26 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.3618, allocations: 3.938 kB / 0.5258 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005449/0.3623, allocations: 259.8 kB / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3624, allocations: 5.5 kB / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3624, allocations: 1.375 kB / 0.526 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.3624, allocations: 6.688 kB / 0.526 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.3647, allocations: 272.5 kB / 0.5263 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009514/0.3742, allocations: 9.237 MB / 0.5353 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.3745, allocations: 30.36 kB / 0.5354 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.3746, allocations: 13.02 kB / 0.5354 GB, free: 5.664 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.3747, allocations: 145.2 kB / 0.5355 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.3748, allocations: 15.91 kB / 0.5355 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.3753, allocations: 245.2 kB / 0.5358 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3753, allocations: 2.344 kB / 0.5358 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.3753, allocations: 0 / 0.5358 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3753, allocations: 3.984 kB / 0.5358 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3756, allocations: 242.7 kB / 0.536 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3756, allocations: 0 / 0.536 GB, free: 5.117 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00158/0.3772, allocations: 216.3 kB / 0.5362 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3772, allocations: 1.062 kB / 0.5362 GB, free: 5.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.3772, allocations: 9.047 kB / 0.5362 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007316/0.3845, allocations: 8.747 MB / 0.5448 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3845, allocations: 0 / 0.5448 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.385, allocations: 289 kB / 0.545 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.3851, allocations: 99.45 kB / 0.5451 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3852, allocations: 10.05 kB / 0.5451 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3854, allocations: 15.55 kB / 0.5451 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.89e-05/0.3855, allocations: 18.62 kB / 0.5452 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.3855, allocations: 6.734 kB / 0.5452 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3857, allocations: 194.2 kB / 0.5454 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3857, allocations: 0 / 0.5454 GB, free: 11.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000448/0.3861, allocations: 64.03 kB / 0.5454 GB, free: 11.53 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.3863, allocations: 102.6 kB / 0.5455 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3883, allocations: 0.5934 MB / 0.5461 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3883, allocations: 0 / 0.5461 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.3896, allocations: 409.8 kB / 0.5465 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.39, allocations: 40.5 kB / 0.5465 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.3909, allocations: 453.9 kB / 0.547 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3912, allocations: 0.7551 MB / 0.5477 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.3916, allocations: 111.4 kB / 0.5478 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3917, allocations: 51.38 kB / 0.5478 GB, free: 9.84 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3917, allocations: 0 / 0.5478 GB, free: 9.84 MB / 414.1 MB Notification: Performance of Templates: time 0.01119/0.4029, allocations: 7.74 MB / 0.5554 GB, free: 4.68 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_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/kc_laminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches