Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 77.72 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09814/0.09954, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003258/0.1028, allocations: 1.708 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1043, allocations: 0.7556 MB / 482.6 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.1044, allocations: 4 kB / 482.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1048, allocations: 35.77 kB / 482.7 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.1051, allocations: 67.7 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1053, allocations: 59.75 kB / 482.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1055, allocations: 155.3 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1056, allocations: 13.39 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1057, allocations: 63.7 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1058, allocations: 79.72 kB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.1059, allocations: 4 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.106, allocations: 63.89 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.1061, allocations: 47.77 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.1062, allocations: 59.61 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1065, allocations: 171.7 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1065, allocations: 4 kB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1065, allocations: 0 / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1065, allocations: 4 kB / 483.4 MB, free: 1.855 MB / 350.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.0006707/0.1072, allocations: 466.8 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1073, allocations: 8.031 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.1073, allocations: 46.73 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005697/0.1079, allocations: 76.66 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1082, allocations: 219.9 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1082, allocations: 4.375 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1082, allocations: 12.36 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.1088, allocations: 271.8 kB / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1088, allocations: 0 / 484.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.1088, allocations: 8 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.1089, allocations: 15.98 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004875/0.1094, allocations: 239.8 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/0.1105, allocations: 0.6602 MB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.1109, allocations: 218.4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001703/0.1111, allocations: 84.83 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1111, allocations: 4 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1112, allocations: 38.5 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1112, allocations: 0 / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006901/0.1119, allocations: 289 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1119, allocations: 55.41 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.1121, allocations: 234.1 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1122, allocations: 25.7 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/0.1123, allocations: 119.9 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1123, allocations: 47.3 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.1124, allocations: 41.69 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1125, allocations: 326.8 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.1127, allocations: 83.91 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.1129, allocations: 115.3 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.1133, allocations: 199.2 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1133, allocations: 0 / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004792/0.1138, allocations: 249.3 kB / 487.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1138, allocations: 7.938 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1138, allocations: 0 / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1138, allocations: 4 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002412/0.1163, allocations: 271.7 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009005/0.1253, allocations: 9.241 MB / 497 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.1256, allocations: 28.02 kB / 497.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.1256, allocations: 7.984 kB / 497.1 MB, free: 3.113 MB / 366.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.0001379/0.1257, allocations: 145.7 kB / 497.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1258, allocations: 15.81 kB / 497.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005081/0.1263, allocations: 254.9 kB / 497.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1263, allocations: 0 / 497.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.11e-07/0.1263, allocations: 0 / 497.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1263, allocations: 0 / 497.5 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.1266, allocations: 245.3 kB / 497.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1266, allocations: 0 / 497.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.1282, allocations: 223.7 kB / 497.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1282, allocations: 0 / 497.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1282, allocations: 0 / 497.9 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007268/0.1355, allocations: 8.748 MB / 0.4948 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1355, allocations: 7.984 kB / 0.4948 GB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.136, allocations: 294.1 kB / 0.4951 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.1361, allocations: 100.8 kB / 0.4952 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.1361, allocations: 4.062 kB / 0.4952 GB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.1363, allocations: 15.98 kB / 0.4952 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.1364, allocations: 19.91 kB / 0.4952 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1364, allocations: 11.94 kB / 0.4952 GB, free: 8.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001648/0.1366, allocations: 187.1 kB / 0.4954 GB, free: 7.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1366, allocations: 0 / 0.4954 GB, free: 7.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004184/0.137, allocations: 64 kB / 0.4955 GB, free: 7.883 MB / 382.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.0007055/0.1377, allocations: 0.8214 MB / 0.4963 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.1398, allocations: 0.6159 MB / 0.4969 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1398, allocations: 0 / 0.4969 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.1411, allocations: 405.8 kB / 0.4973 GB, free: 6.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1414, allocations: 46.91 kB / 0.4973 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.1445, allocations: 2.539 MB / 0.4998 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1448, allocations: 0.7519 MB / 0.5005 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003391/0.1451, allocations: 117.4 kB / 0.5006 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.1453, allocations: 95.36 kB / 0.5007 GB, free: 2.359 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1453, allocations: 0 / 0.5007 GB, free: 2.359 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1944/0.3397, allocations: 10.12 MB / 0.5106 GB, free: 41.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.519, allocations: 10.42 kB / 0.5106 GB, free: 41.47 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches