Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001839/0.001839, allocations: 107.9 kB / 17.63 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 210.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2196/0.2196, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.002255/0.002255, allocations: 89.88 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1223, allocations: 62.44 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003093/0.1254, allocations: 1.622 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1264, allocations: 0.5455 MB / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1265, allocations: 0 / 482.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1268, allocations: 83.7 kB / 482.5 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.1271, allocations: 99.62 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1274, allocations: 118.8 kB / 482.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1275, allocations: 79.81 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1276, allocations: 19.98 kB / 482.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.797e-05/0.1277, allocations: 35.84 kB / 482.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1278, allocations: 55.83 kB / 482.9 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1278, allocations: 4 kB / 482.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.128, allocations: 47.97 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.128, allocations: 19.92 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.1281, allocations: 35.73 kB / 483 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1283, allocations: 103.9 kB / 483.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1283, allocations: 3.938 kB / 483.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1283, allocations: 0 / 483.1 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1283, allocations: 0 / 483.1 MB, free: 2.293 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.0004852/0.1288, allocations: 414.9 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1288, allocations: 12.03 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.1289, allocations: 34.75 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.1289, allocations: 8.844 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.1291, allocations: 200.8 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1291, allocations: 4.375 kB / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.1291, allocations: 384 / 483.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.1293, allocations: 61.55 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1293, allocations: 7.906 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.1293, allocations: 0 / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1293, allocations: 4 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1294, allocations: 27.97 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1299, allocations: 300.8 kB / 484.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.13, allocations: 46.48 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1301, allocations: 24.84 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1301, allocations: 0 / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1301, allocations: 42.58 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1301, allocations: 0 / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009046/0.131, allocations: 245 kB / 484.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1311, allocations: 51.41 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.1313, allocations: 218.3 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1313, allocations: 29.7 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.1314, allocations: 104.1 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1314, allocations: 31.61 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1315, allocations: 17.72 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1317, allocations: 330.8 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.092e-05/0.1318, allocations: 23.98 kB / 485.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.1318, allocations: 39.91 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.132, allocations: 72.81 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1321, allocations: 0 / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002355/0.1323, allocations: 117.8 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1323, allocations: 8 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1323, allocations: 0 / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1323, allocations: 0 / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1325, allocations: 23.92 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1325, allocations: 3.938 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.238e-05/0.1325, allocations: 4 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.1325, allocations: 0 / 485.5 MB, free: 15.6 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 (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.0001039/0.1326, allocations: 129.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.1327, allocations: 19.81 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002986/0.133, allocations: 131 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.133, allocations: 4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.133, allocations: 3.938 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.133, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.1336, allocations: 427.3 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1336, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.1337, allocations: 23.86 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1337, allocations: 4 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1337, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1337, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.1337, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.134, allocations: 216.2 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.1341, allocations: 84.95 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1341, allocations: 7.938 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.1342, allocations: 11.98 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.1342, allocations: 3.938 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1342, allocations: 4 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1344, allocations: 160.2 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1344, allocations: 7.938 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1347, allocations: 27.98 kB / 486.8 MB, free: 14.24 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 (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.002153/0.1368, allocations: 1.089 MB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.1371, allocations: 79.88 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1371, allocations: 0 / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.1372, allocations: 47.86 kB / 488 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.1376, allocations: 24.84 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1398, allocations: 1.697 MB / 489.7 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004564/0.1402, allocations: 0.708 MB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.97e-05/0.1403, allocations: 20.97 kB / 490.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.1404, allocations: 39.42 kB / 490.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.743e-06/0.1404, allocations: 0 / 490.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.1665, allocations: 3.098 MB / 493.6 MB, free: 7.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.177, allocations: 9.125 kB / 493.6 MB, free: 7.539 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1)