Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00167/0.00167, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.2448/0.2448, allocations: 46.11 MB / 344.2 MB, free: 11.52 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.00225/0.002251, allocations: 82.56 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1223, allocations: 62.45 MB / 480.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003112/0.1254, allocations: 1.6 MB / 481.8 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1272, allocations: 1.156 MB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.424e-05/0.1273, allocations: 4 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.1275, allocations: 19.84 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1278, allocations: 79.62 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.128, allocations: 91.7 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1282, allocations: 71.83 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1283, allocations: 8 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.306e-05/0.1283, allocations: 31.84 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007328/0.1291, allocations: 31.84 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1291, allocations: 4 kB / 483.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1293, allocations: 103.9 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.1294, allocations: 7.984 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.429e-05/0.1294, allocations: 27.8 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1297, allocations: 136 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1297, allocations: 0 / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1297, allocations: 0 / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1297, allocations: 0 / 483.6 MB, free: 1.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005724/0.1303, allocations: 415.1 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1303, allocations: 8.031 kB / 484 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1304, allocations: 30.75 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.017e-05/0.1304, allocations: 8.844 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1306, allocations: 192.2 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1307, allocations: 8.375 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1307, allocations: 384 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1308, allocations: 67.33 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1309, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1309, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1309, allocations: 4 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.821e-05/0.131, allocations: 23.92 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.1313, allocations: 276.9 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1316, allocations: 42.55 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.1316, allocations: 16.8 kB / 484.6 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1316, allocations: 4 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1317, allocations: 34.56 kB / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1317, allocations: 0 / 484.7 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005729/0.1323, allocations: 149.5 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.1323, allocations: 77.11 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1325, allocations: 148.3 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.1326, allocations: 33.58 kB / 485.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.1327, allocations: 100.1 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1327, allocations: 15.72 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1327, allocations: 17.72 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1329, allocations: 322.8 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.133, allocations: 19.98 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.47e-05/0.1331, allocations: 33.77 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1332, allocations: 48.86 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1332, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002082/0.1334, allocations: 81.7 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1335, allocations: 4 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1335, allocations: 7.969 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1335, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.1336, allocations: 12 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1336, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.744e-05/0.1337, allocations: 19.83 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1337, allocations: 0 / 485.7 MB, free: 15.29 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 (5): * Single equations (assignments): 5 * 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.000119/0.1338, allocations: 113.8 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.1339, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.1341, allocations: 97.75 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1342, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1342, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1342, allocations: 11.92 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.1347, allocations: 346.6 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1347, allocations: 0 / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.1348, allocations: 20.23 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1348, allocations: 0 / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1348, allocations: 3.938 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1348, allocations: 4 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1348, allocations: 4 kB / 486.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.1351, allocations: 179.4 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.1352, allocations: 77.11 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1352, allocations: 3.938 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.1353, allocations: 4 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1353, allocations: 11.98 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.1353, allocations: 7.938 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1355, allocations: 111.3 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1355, allocations: 0 / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.1358, allocations: 35.98 kB / 486.8 MB, free: 14.16 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 (5): * Single equations (assignments): 5 * 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.002247/0.138, allocations: 1.082 MB / 487.8 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1383, allocations: 67.83 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.1383, allocations: 4 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.338e-05/0.1384, allocations: 23.92 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1387, allocations: 24.98 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.1407, allocations: 1.405 MB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.1411, allocations: 0.6885 MB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.943e-05/0.1412, allocations: 16.19 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.1412, allocations: 31.42 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1412, allocations: 0 / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.1687, allocations: 3.143 MB / 493.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.471, allocations: 5.062 kB / 493.2 MB, free: 7.793 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1)