Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.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.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 105.2 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.001293/0.001293, 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.406/1.406, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.233/0.233, allocations: 46.12 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.002269/0.002269, allocations: 81.48 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1171, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003335/0.1205, allocations: 1.674 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1216, allocations: 0.5532 MB / 482.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1217, allocations: 8 kB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.122, allocations: 55.73 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.1223, allocations: 99.58 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.1227, allocations: 130.6 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.123, allocations: 83.81 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1231, allocations: 16.23 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.192e-05/0.1232, allocations: 43.77 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1233, allocations: 47.83 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.1234, allocations: 4 kB / 482.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1235, allocations: 55.97 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1236, allocations: 23.92 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.1237, allocations: 27.75 kB / 483 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.124, allocations: 127.9 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.124, allocations: 3.938 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.124, allocations: 0 / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.124, allocations: 0 / 483.2 MB, free: 2.152 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007872/0.1248, allocations: 422.9 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1248, allocations: 8.031 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.1249, allocations: 34.73 kB / 483.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.125, allocations: 16.84 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1252, allocations: 200.8 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1253, allocations: 4.375 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.1253, allocations: 4.375 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.1255, allocations: 69.48 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1256, allocations: 8 kB / 483.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1256, allocations: 4 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1256, allocations: 0 / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1258, allocations: 39.95 kB / 483.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004799/0.1262, allocations: 312.7 kB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.1265, allocations: 54.55 kB / 484.3 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.568e-05/0.1266, allocations: 28.97 kB / 484.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.1267, allocations: 4 kB / 484.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1267, allocations: 34.56 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1267, allocations: 0 / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001522/0.1283, allocations: 404.7 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1283, allocations: 51.41 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1285, allocations: 207.3 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1286, allocations: 25.7 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1287, allocations: 112 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.1287, allocations: 31.55 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1288, allocations: 21.72 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.129, allocations: 326.8 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1291, allocations: 43.95 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1292, allocations: 43.97 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.1295, allocations: 96.81 kB / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1295, allocations: 0 / 485.7 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003328/0.1298, allocations: 161.6 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1299, allocations: 4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1299, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1299, allocations: 3.938 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.13, allocations: 28.55 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.13, allocations: 0 / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.1301, allocations: 7.984 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1301, allocations: 4 kB / 485.9 MB, free: 15.16 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 (11): * Single equations (assignments): 11 * 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.0001264/0.1303, allocations: 133.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1303, allocations: 15.81 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.1307, allocations: 170.9 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1308, allocations: 3.938 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1308, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1308, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007537/0.1315, allocations: 487.9 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1316, allocations: 3.984 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1317, allocations: 27.97 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1317, allocations: 4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1317, allocations: 4.062 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1317, allocations: 0 / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1317, allocations: 4 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.1321, allocations: 260.8 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1322, allocations: 85.02 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1322, allocations: 7.984 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.1323, allocations: 8 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1324, allocations: 7.984 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1324, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.1325, allocations: 151.9 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1325, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.1328, allocations: 35.89 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002293/0.1351, allocations: 1.131 MB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.1355, allocations: 123.8 kB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1355, allocations: 0 / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.1356, allocations: 59.89 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.136, allocations: 27.25 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.1385, allocations: 1.809 MB / 490.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1389, allocations: 0.708 MB / 491.2 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.888e-05/0.139, allocations: 16.56 kB / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.139, allocations: 43.41 kB / 491.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.139, allocations: 0 / 491.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02503/0.1641, allocations: 3.337 MB / 494.5 MB, free: 6.504 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.422/8.586, allocations: 5.906 kB / 494.6 MB, free: 6.5 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1)