Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 104.4 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.001292/0.001292, 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.502/1.502, allocations: 227.4 MB / 246.8 MB, free: 10.56 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.234/0.234, allocations: 46.11 MB / 344.2 MB, free: 11.54 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.002474/0.002474, allocations: 88.44 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1254, allocations: 62.44 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.004633/0.1301, allocations: 1.657 MB / 481.9 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1316, allocations: 0.5415 MB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.1318, allocations: 0 / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1322, allocations: 35.78 kB / 482.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.1327, allocations: 87.61 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.133, allocations: 91.7 kB / 482.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1332, allocations: 87.81 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1333, allocations: 24.27 kB / 482.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.1334, allocations: 35.78 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.1335, allocations: 35.86 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1335, allocations: 4 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1337, allocations: 47.98 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.1338, allocations: 23.91 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.1338, allocations: 35.73 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.134, allocations: 107.6 kB / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.134, allocations: 0 / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.134, allocations: 0 / 483 MB, free: 2.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1341, allocations: 0 / 483 MB, free: 2.285 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006038/0.1347, allocations: 407 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1347, allocations: 15.97 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.802e-05/0.1348, allocations: 38.73 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.1348, allocations: 8.844 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1351, allocations: 202.2 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1351, allocations: 4.375 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.1352, allocations: 4.375 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.1354, allocations: 77.53 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1354, allocations: 4 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1354, allocations: 0 / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1354, allocations: 4 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1355, allocations: 43.91 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1361, allocations: 312.7 kB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1362, allocations: 62.5 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.1363, allocations: 28.84 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.1364, allocations: 0 / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.1364, allocations: 38.56 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.1364, allocations: 0 / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001186/0.1376, allocations: 301.6 kB / 484.5 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.1377, allocations: 51.41 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1379, allocations: 169.2 kB / 484.7 MB, free: 364 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1379, allocations: 25.7 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.138, allocations: 108 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.138, allocations: 39.39 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.1381, allocations: 25.72 kB / 484.9 MB, free: 148 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1383, allocations: 326.9 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1384, allocations: 39.91 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.853e-05/0.1385, allocations: 35.98 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.1387, allocations: 95.45 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1387, allocations: 0 / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002691/0.139, allocations: 137.5 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.139, allocations: 7.938 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.139, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.139, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1392, allocations: 31.91 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1392, allocations: 4.234 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.1392, allocations: 8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1393, allocations: 0 / 485.6 MB, free: 15.46 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 (13): * Single equations (assignments): 13 * 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.0001217/0.1394, allocations: 129.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1394, allocations: 11.84 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.1398, allocations: 173.9 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1398, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.1398, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1398, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.1405, allocations: 475.1 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1406, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.302e-05/0.1407, allocations: 27.92 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1407, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1407, allocations: 8 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1407, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1407, allocations: 0 / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.141, allocations: 244.1 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.946e-05/0.1411, allocations: 85.02 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.1411, allocations: 4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.1412, allocations: 15.98 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.1413, allocations: 7.984 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1413, allocations: 8 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1414, allocations: 127.2 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.094e-06/0.1414, allocations: 0 / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1417, allocations: 31.94 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.002228/0.1439, allocations: 1.107 MB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.1443, allocations: 99.89 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1443, allocations: 4 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.1444, allocations: 51.91 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.1448, allocations: 26.92 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1469, allocations: 1.669 MB / 489.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.1473, allocations: 0.7118 MB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.1473, allocations: 20.53 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.1474, allocations: 35.42 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1474, allocations: 4 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.1732, allocations: 3.098 MB / 493.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.348, allocations: 13.05 kB / 493.8 MB, free: 7.285 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1)