Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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 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 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 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 109.2 kB / 16.41 MB, free: 6.5 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.001766/0.001766, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.84 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1247, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004033/0.1288, allocations: 1.965 MB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1303, allocations: 0.7681 MB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.1304, allocations: 7.938 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.131, allocations: 259.2 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004048/0.1314, allocations: 191.3 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.1329, allocations: 0.5965 MB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.1333, allocations: 295.3 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.1335, allocations: 80.62 kB / 0.4915 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.1337, allocations: 135.5 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.134, allocations: 199.3 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.134, allocations: 12 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.1342, allocations: 71.95 kB / 0.4919 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1343, allocations: 91.69 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1345, allocations: 123 kB / 0.4921 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.1349, allocations: 334.3 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.135, allocations: 0 / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.135, allocations: 0 / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.135, allocations: 4 kB / 0.4924 GB, free: 7.188 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009269/0.1359, allocations: 0.6687 MB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.136, allocations: 11.89 kB / 0.493 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.635e-05/0.136, allocations: 46.73 kB / 0.4931 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.1361, allocations: 44.66 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004298/0.1366, allocations: 322.5 kB / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.1366, allocations: 8.375 kB / 0.4935 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1366, allocations: 20.3 kB / 0.4935 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.1369, allocations: 133.4 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.137, allocations: 0 / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.137, allocations: 8 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.137, allocations: 4 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.1372, allocations: 91.92 kB / 0.4937 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.138, allocations: 0.5159 MB / 0.4942 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1382, allocations: 114.4 kB / 0.4943 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.1383, allocations: 40.83 kB / 0.4943 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1383, allocations: 4 kB / 0.4944 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1384, allocations: 38.5 kB / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.1384, allocations: 0 / 0.4944 GB, free: 4.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001057/0.1394, allocations: 440.4 kB / 0.4948 GB, free: 4.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.1395, allocations: 55.62 kB / 0.4949 GB, free: 4.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.1401, allocations: 0.5526 MB / 0.4954 GB, free: 3.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.1401, allocations: 29.64 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.1403, allocations: 212.4 kB / 0.4956 GB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.1404, allocations: 55.48 kB / 0.4957 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.1404, allocations: 37.64 kB / 0.4957 GB, free: 3.547 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1406, allocations: 354.8 kB / 0.4961 GB, free: 3.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1408, allocations: 63.95 kB / 0.4961 GB, free: 3.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.1409, allocations: 70.62 kB / 0.4962 GB, free: 3.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.1412, allocations: 160.6 kB / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1412, allocations: 0 / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003981/0.1416, allocations: 224.2 kB / 0.4966 GB, free: 2.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1417, allocations: 11.98 kB / 0.4966 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.1417, allocations: 0 / 0.4966 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1417, allocations: 0 / 0.4966 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1419, allocations: 43.92 kB / 0.4966 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1419, allocations: 0 / 0.4966 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.145e-05/0.1419, allocations: 7.984 kB / 0.4966 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.142, allocations: 4 kB / 0.4966 GB, free: 2.613 MB / 382.1 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001891/0.1422, allocations: 185.7 kB / 0.4968 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.1422, allocations: 43.72 kB / 0.4968 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005835/0.1428, allocations: 273.5 kB / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1429, allocations: 0 / 0.4971 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1429, allocations: 4 kB / 0.4971 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1429, allocations: 3.984 kB / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009863/0.1439, allocations: 0.6777 MB / 0.4978 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1439, allocations: 7.938 kB / 0.4978 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.144, allocations: 27.98 kB / 0.4978 GB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.144, allocations: 7.938 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.144, allocations: 11.98 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1441, allocations: 3.938 kB / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1441, allocations: 0 / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1445, allocations: 333 kB / 0.4981 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1446, allocations: 116.8 kB / 0.4983 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.1447, allocations: 7.984 kB / 0.4983 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1448, allocations: 15.94 kB / 0.4983 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.1448, allocations: 7.984 kB / 0.4983 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.1449, allocations: 12 kB / 0.4983 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004598/0.1453, allocations: 411.1 kB / 0.4987 GB, free: 400 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1453, allocations: 0 / 0.4987 GB, free: 400 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003124/0.1457, allocations: 55.88 kB / 0.4987 GB, free: 344 kB / 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.003304/0.149, allocations: 1.45 MB / 0.5002 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.1494, allocations: 167.8 kB / 0.5003 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1494, allocations: 0 / 0.5003 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1495, allocations: 95.88 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.1501, allocations: 81.36 kB / 0.5005 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.1542, allocations: 3.201 MB / 0.5036 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/0.1547, allocations: 0.8143 MB / 0.5044 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.1549, allocations: 54.25 kB / 0.5045 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.155, allocations: 127.4 kB / 0.5046 GB, free: 10.26 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1551, allocations: 0 / 0.5046 GB, free: 10.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.1861, allocations: 7.512 MB / 0.5119 GB, free: 2.711 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/8.523, allocations: 4.062 kB / 0.5119 GB, free: 2.707 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches