Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",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.0009023/0.0009024, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 184.6 kB / 16.92 MB, free: 6.934 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.569/1.569, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3497/0.3497, allocations: 43.57 MB / 315 MB, free: 8.941 MB / 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.0005023/0.0005023, allocations: 16 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002115/0.1327, allocations: 1.372 MB / 444.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007059/0.1334, allocations: 351.6 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.1335, allocations: 0 / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.1337, allocations: 15.92 kB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1338, allocations: 35.84 kB / 445.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1341, allocations: 111.8 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1343, allocations: 67.78 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.727e-05/0.1344, allocations: 24.48 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.1345, allocations: 31.8 kB / 445.5 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.1346, allocations: 27.84 kB / 445.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1346, allocations: 4 kB / 445.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1347, allocations: 51.97 kB / 445.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.599e-05/0.1348, allocations: 23.86 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.223e-05/0.1349, allocations: 53.5 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1351, allocations: 115.6 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1351, allocations: 0 / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1351, allocations: 0 / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1351, allocations: 4 kB / 445.8 MB, free: 10.53 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005993/0.1357, allocations: 415.1 kB / 446.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1357, allocations: 12.03 kB / 446.2 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.1358, allocations: 38.75 kB / 446.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.1358, allocations: 8.844 kB / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1361, allocations: 204.1 kB / 446.5 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1361, allocations: 4.375 kB / 446.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1361, allocations: 384 / 446.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.1364, allocations: 115.2 kB / 446.6 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1364, allocations: 3.938 kB / 446.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1365, allocations: 0 / 446.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1365, allocations: 0 / 446.6 MB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.1368, allocations: 95.92 kB / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.1372, allocations: 300.8 kB / 447 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1374, allocations: 82.47 kB / 447.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1376, allocations: 52.95 kB / 447.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1376, allocations: 4.062 kB / 447.1 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1377, allocations: 30.56 kB / 447.2 MB, free: 9.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1377, allocations: 4 kB / 447.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.00168/0.1394, allocations: 472.8 kB / 447.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1394, allocations: 81.11 kB / 447.7 MB, free: 8.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1396, allocations: 149.7 kB / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1396, allocations: 25.7 kB / 447.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.1397, allocations: 96.12 kB / 448 MB, free: 8.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1397, allocations: 31.55 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.1398, allocations: 17.72 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1399, allocations: 322.8 kB / 448.3 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.1402, allocations: 87.92 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003099/0.1405, allocations: 105.6 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.1411, allocations: 192.9 kB / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1411, allocations: 0 / 448.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006459/0.1417, allocations: 225.5 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1418, allocations: 4 kB / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1418, allocations: 0 / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1418, allocations: 0 / 448.9 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.142, allocations: 51.95 kB / 449 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.142, allocations: 4 kB / 449 MB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1422, allocations: 35.84 kB / 449 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1422, allocations: 4 kB / 449 MB, free: 7.066 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 (8): * Single equations (assignments): 8 * 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.0001049/0.1423, allocations: 129.8 kB / 449.2 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1424, allocations: 7.906 kB / 449.2 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007144/0.1431, allocations: 246.2 kB / 449.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1431, allocations: 0 / 449.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1431, allocations: 384 / 449.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1431, allocations: 7.875 kB / 449.4 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.1441, allocations: 0.514 MB / 449.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1441, allocations: 0 / 449.9 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1443, allocations: 43.97 kB / 450 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1443, allocations: 0 / 450 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.1443, allocations: 7.938 kB / 450 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1443, allocations: 0 / 450 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1443, allocations: 0 / 450 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.145, allocations: 331.1 kB / 450.3 MB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.56e-05/0.1451, allocations: 97 kB / 450.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1451, allocations: 3.938 kB / 450.4 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.1453, allocations: 31.97 kB / 450.4 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/0.1454, allocations: 11.98 kB / 450.4 MB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1454, allocations: 4 kB / 450.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.865e-05/0.1455, allocations: 122.9 kB / 450.6 MB, free: 5.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1455, allocations: 0 / 450.6 MB, free: 5.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1457, allocations: 24 kB / 450.6 MB, free: 5.402 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 (8): * Single equations (assignments): 8 * 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.00191/0.1477, allocations: 1.207 MB / 451.8 MB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006848/0.1484, allocations: 191.8 kB / 452 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1484, allocations: 0 / 452 MB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.1487, allocations: 103.9 kB / 452.1 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1491, allocations: 23.67 kB / 452.1 MB, free: 3.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002909/0.152, allocations: 1.895 MB / 454 MB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1523, allocations: 0.7043 MB / 454.7 MB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.909e-05/0.1524, allocations: 16.72 kB / 454.7 MB, free: 1.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.1525, allocations: 31.42 kB / 454.7 MB, free: 1.145 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1525, allocations: 0 / 454.7 MB, free: 1.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2305/0.383, allocations: 3.054 MB / 457.8 MB, free: 45.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.3832, allocations: 256.9 kB / 458.1 MB, free: 45.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.298, allocations: 0 / 458.1 MB, free: 45.13 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches