Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001719/0.001719, allocations: 103.5 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.002043/0.002043, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2252/0.2252, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 73.09 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1205, allocations: 62.47 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.005484/0.1261, allocations: 1.693 MB / 481.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1278, allocations: 0.5923 MB / 482.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.1279, allocations: 7.938 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1282, allocations: 27.84 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.1285, allocations: 75.56 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.1292, allocations: 188.3 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1294, allocations: 95.75 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1296, allocations: 19.94 kB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.945e-05/0.1297, allocations: 43.83 kB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.754e-05/0.1298, allocations: 39.78 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1298, allocations: 8 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.1301, allocations: 103.9 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.1302, allocations: 27.91 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.1302, allocations: 35.8 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1305, allocations: 167.8 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1305, allocations: 3.984 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.1305, allocations: 0 / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.1306, allocations: 3.938 kB / 483.3 MB, free: 1.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007333/0.1313, allocations: 451 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1313, allocations: 8.031 kB / 483.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.1314, allocations: 30.75 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.1314, allocations: 12.84 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.1317, allocations: 204.1 kB / 484 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1317, allocations: 4.375 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1318, allocations: 4.375 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.1321, allocations: 99.3 kB / 484.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1321, allocations: 3.938 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1321, allocations: 0 / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1321, allocations: 0 / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000324/0.1324, allocations: 67.92 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.1331, allocations: 364.5 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.1334, allocations: 74.53 kB / 484.6 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.1336, allocations: 56.88 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1336, allocations: 0 / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.1337, allocations: 34.5 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1337, allocations: 0 / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001725/0.1354, allocations: 404.9 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.999e-05/0.1355, allocations: 81.11 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.1357, allocations: 170.1 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1358, allocations: 29.7 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.761e-05/0.1358, allocations: 104.1 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1359, allocations: 31.55 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.136, allocations: 21.72 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.1362, allocations: 322.8 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.1366, allocations: 79.91 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.1369, allocations: 101.6 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.1376, allocations: 160.7 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1376, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007241/0.1383, allocations: 225.5 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1383, allocations: 8 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1383, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1384, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.1386, allocations: 39.95 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1386, allocations: 7.938 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.1388, allocations: 19.97 kB / 486.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1388, allocations: 12.36 kB / 486.5 MB, free: 14.57 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001287/0.1389, allocations: 121.8 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.139, allocations: 11.91 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/0.1398, allocations: 226.1 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1398, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.1398, allocations: 7.938 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1398, allocations: 4 kB / 486.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1409, allocations: 0.5217 MB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1409, allocations: 4 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.1412, allocations: 39.89 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1412, allocations: 3.938 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1412, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.1412, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1412, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007574/0.142, allocations: 303.5 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.142, allocations: 93.03 kB / 487.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1421, allocations: 7.938 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1423, allocations: 27.97 kB / 487.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.1423, allocations: 15.92 kB / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1424, allocations: 0 / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1425, allocations: 123.2 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1425, allocations: 4 kB / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000315/0.1428, allocations: 43.98 kB / 488 MB, free: 12.93 MB / 366.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 (9): * Single equations (assignments): 9 * 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.002704/0.1455, allocations: 1.228 MB / 489.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.1463, allocations: 183.8 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1463, allocations: 0 / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.1466, allocations: 95.86 kB / 489.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.147, allocations: 23.41 kB / 489.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.1504, allocations: 1.929 MB / 491.5 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1508, allocations: 0.7119 MB / 492.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.151, allocations: 32.52 kB / 492.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.1511, allocations: 35.42 kB / 492.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1511, allocations: 4 kB / 492.3 MB, free: 8.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02703/0.1781, allocations: 4.306 MB / 496.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.553, allocations: 5.109 kB / 496.6 MB, free: 4.516 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1)