Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_0_0_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.0009081/0.0009081, allocations: 94.62 kB / 17.35 MB, free: 6.344 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.0009856/0.0009856, allocations: 168.2 kB / 18.25 MB, free: 5.508 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.294/1.294, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2028/0.2028, allocations: 44.23 MB / 337.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002853, allocations: 13.09 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1053, allocations: 61.92 MB / 472.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002161/0.1075, allocations: 1.659 MB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.109, allocations: 0.9319 MB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1091, allocations: 3.938 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.1096, allocations: 247.5 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003234/0.1099, allocations: 175.5 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.1112, allocations: 0.6151 MB / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.1116, allocations: 299.1 kB / 476.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.1118, allocations: 80.53 kB / 476.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.112, allocations: 115.5 kB / 476.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1122, allocations: 179.4 kB / 476.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.1122, allocations: 4 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1124, allocations: 95.89 kB / 476.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.1126, allocations: 83.67 kB / 476.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.1127, allocations: 136.7 kB / 477 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003604/0.113, allocations: 314.8 kB / 477.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.113, allocations: 0 / 477.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1131, allocations: 0 / 477.3 MB, free: 8.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1131, allocations: 4 kB / 477.3 MB, free: 8.301 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006819/0.1138, allocations: 0.607 MB / 477.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1138, allocations: 11.97 kB / 477.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.902e-05/0.1139, allocations: 46.73 kB / 477.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.1139, allocations: 40.47 kB / 478 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.1142, allocations: 326.1 kB / 478.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1143, allocations: 4.375 kB / 478.3 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1143, allocations: 16.36 kB / 478.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1145, allocations: 129.6 kB / 478.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1145, allocations: 3.938 kB / 478.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1146, allocations: 8 kB / 478.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1146, allocations: 0 / 478.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.1148, allocations: 99.88 kB / 478.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.1154, allocations: 0.5158 MB / 479.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1156, allocations: 110.5 kB / 479.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/0.1157, allocations: 40.83 kB / 479.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.1157, allocations: 12 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1158, allocations: 34.5 kB / 479.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.1158, allocations: 0 / 479.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009281/0.1167, allocations: 456 kB / 479.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.1167, allocations: 55.41 kB / 479.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005329/0.1173, allocations: 0.5487 MB / 480.3 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1173, allocations: 29.7 kB / 480.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1174, allocations: 204.3 kB / 480.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.1175, allocations: 59.11 kB / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1175, allocations: 21.72 kB / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1176, allocations: 350.8 kB / 481 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.1178, allocations: 75.89 kB / 481 MB, free: 4.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.1179, allocations: 74.3 kB / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.1182, allocations: 168.7 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1182, allocations: 0 / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003601/0.1186, allocations: 234.8 kB / 481.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1186, allocations: 4 kB / 481.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1186, allocations: 4 kB / 481.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1186, allocations: 0 / 481.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1188, allocations: 43.91 kB / 481.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1188, allocations: 4 kB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.1189, allocations: 11.94 kB / 481.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.1189, allocations: 4 kB / 481.6 MB, free: 3.77 MB / 350.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.0001557/0.1191, allocations: 181.7 kB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.1191, allocations: 43.44 kB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.1196, allocations: 295.5 kB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1196, allocations: 7.984 kB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1196, allocations: 0 / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1197, allocations: 0 / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007944/0.1205, allocations: 0.6895 MB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1205, allocations: 0 / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1206, allocations: 35.98 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1206, allocations: 0 / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1206, allocations: 8 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.1206, allocations: 3.938 kB / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1206, allocations: 0 / 482.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.121, allocations: 348.7 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.87e-05/0.1211, allocations: 120.5 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1212, allocations: 8 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1213, allocations: 11.94 kB / 483.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.1213, allocations: 11.98 kB / 483.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1214, allocations: 7.984 kB / 483.3 MB, free: 1.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003819/0.1217, allocations: 411.1 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1218, allocations: 8 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1221, allocations: 51.98 kB / 483.8 MB, free: 1.453 MB / 350.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.002104/0.1242, allocations: 1.459 MB / 485.2 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1245, allocations: 178.9 kB / 485.4 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1245, allocations: 0 / 485.4 MB, free: 116 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.1247, allocations: 95.89 kB / 485.5 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.1253, allocations: 65.53 kB / 485.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.1292, allocations: 3.343 MB / 488.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1296, allocations: 0.8145 MB / 489.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001687/0.1298, allocations: 66.22 kB / 489.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1299, allocations: 119.4 kB / 489.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1299, allocations: 0 / 489.9 MB, free: 11.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.1487, allocations: 6.889 MB / 496.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/0.149, allocations: 233 kB / 497 MB, free: 4.469 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.955, allocations: 4 kB / 497 MB, free: 4.465 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches