Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008155/0.0008155, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007395/0.0007396, allocations: 92.27 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.274/0.274, allocations: 43.56 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003351, allocations: 16 kB / 432.1 MB, free: 5.738 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09603, allocations: 58.85 MB / 490.9 MB, free: 10.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test19): time 0.001849/0.09792, allocations: 1.515 MB / 492.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.09881, allocations: 0.6007 MB / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.09889, allocations: 0 / 493 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.09925, allocations: 239.5 kB / 493.3 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.0995, allocations: 171.5 kB / 493.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.1003, allocations: 407.2 kB / 493.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002347/0.1006, allocations: 211.4 kB / 494 MB, free: 7.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1007, allocations: 44.23 kB / 494.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.1008, allocations: 99.59 kB / 494.2 MB, free: 7.527 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001686/0.101, allocations: 155.4 kB / 494.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.101, allocations: 4 kB / 494.3 MB, free: 7.371 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.1011, allocations: 39.94 kB / 494.4 MB, free: 7.332 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.1012, allocations: 79.73 kB / 494.5 MB, free: 7.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.1013, allocations: 112.9 kB / 494.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1015, allocations: 195.8 kB / 494.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1015, allocations: 0 / 494.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1015, allocations: 0 / 494.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1015, allocations: 0 / 494.8 MB, free: 6.945 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005938/0.1021, allocations: 0.5758 MB / 495.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1021, allocations: 16.02 kB / 495.4 MB, free: 6.305 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.152e-05/0.1022, allocations: 34.75 kB / 495.4 MB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.1022, allocations: 32.56 kB / 495.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.1025, allocations: 314.2 kB / 495.7 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.1025, allocations: 4.312 kB / 495.7 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1025, allocations: 8.375 kB / 495.7 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.1027, allocations: 85.59 kB / 495.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1027, allocations: 0 / 495.8 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1027, allocations: 4 kB / 495.8 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1027, allocations: 7.938 kB / 495.8 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1029, allocations: 47.97 kB / 495.9 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.1034, allocations: 456.4 kB / 496.3 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.1035, allocations: 54.55 kB / 496.4 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.1036, allocations: 24.98 kB / 496.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1036, allocations: 7.984 kB / 496.4 MB, free: 5.129 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1036, allocations: 34.5 kB / 496.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.1036, allocations: 0 / 496.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002824/0.1039, allocations: 137.4 kB / 496.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.104, allocations: 55.34 kB / 496.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/0.1044, allocations: 0.5409 MB / 497.2 MB, free: 4.324 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1045, allocations: 29.7 kB / 497.2 MB, free: 4.289 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1046, allocations: 196.1 kB / 497.4 MB, free: 4.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.1046, allocations: 19.72 kB / 497.4 MB, free: 4.074 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1046, allocations: 4 kB / 497.4 MB, free: 4.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1047, allocations: 350.8 kB / 497.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.1048, allocations: 19.98 kB / 497.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.818e-05/0.1049, allocations: 24.05 kB / 497.8 MB, free: 3.676 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.105, allocations: 52.78 kB / 497.9 MB, free: 3.621 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.105, allocations: 4 kB / 497.9 MB, free: 3.617 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001695/0.1052, allocations: 109.3 kB / 498 MB, free: 3.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1052, allocations: 4 kB / 498 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1052, allocations: 0 / 498 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1052, allocations: 7.938 kB / 498 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.191e-05/0.1053, allocations: 8 kB / 498 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1053, allocations: 3.984 kB / 498 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1054, allocations: 15.84 kB / 498 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1054, allocations: 4 kB / 498 MB, free: 3.461 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.1055, allocations: 169.8 kB / 498.2 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.1056, allocations: 35.53 kB / 498.2 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.1058, allocations: 128.9 kB / 498.3 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1058, allocations: 7.922 kB / 498.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1058, allocations: 3.984 kB / 498.3 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1058, allocations: 8 kB / 498.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1061, allocations: 273.5 kB / 498.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1061, allocations: 3.938 kB / 498.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.1061, allocations: 12 kB / 498.6 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1061, allocations: 0 / 498.6 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1062, allocations: 3.984 kB / 498.6 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1062, allocations: 7.875 kB / 498.6 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1062, allocations: 4 kB / 498.7 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.1064, allocations: 215.3 kB / 498.9 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.1065, allocations: 116.7 kB / 499 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1065, allocations: 0 / 499 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1066, allocations: 15.88 kB / 499 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1066, allocations: 7.984 kB / 499 MB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1066, allocations: 4 kB / 499 MB, free: 2.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003555/0.107, allocations: 407.1 kB / 499.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.107, allocations: 0 / 499.4 MB, free: 1.969 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.1073, allocations: 39.84 kB / 499.4 MB, free: 1.93 MB / 378.7 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001437/0.1087, allocations: 1.23 MB / 0.4889 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.1089, allocations: 51.97 kB / 0.489 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1089, allocations: 4 kB / 0.489 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.101e-05/0.1089, allocations: 27.92 kB / 0.489 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.1094, allocations: 73.66 kB / 0.4891 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1552/0.2646, allocations: 1.751 MB / 0.4908 GB, free: 42.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.2648, allocations: 0.7895 MB / 0.4916 GB, free: 41.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.265, allocations: 101.2 kB / 0.4917 GB, free: 41.64 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.265, allocations: 0 / 0.4917 GB, free: 41.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.911/3.176, allocations: 4.803 MB / 0.4964 GB, free: 41.29 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches