Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001942/0.001942, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.8 MB, free: 10.57 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.2408/0.2408, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002916/0.002916, allocations: 85.61 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1224, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003078/0.1256, allocations: 1.612 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009904/0.1266, allocations: 0.5376 MB / 482.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1266, allocations: 4 kB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1269, allocations: 91.69 kB / 482.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.1272, allocations: 107.6 kB / 482.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1275, allocations: 95.69 kB / 482.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1277, allocations: 83.8 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.1278, allocations: 16 kB / 482.8 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.1279, allocations: 39.84 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.128, allocations: 55.81 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.128, allocations: 0 / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1281, allocations: 47.98 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.1282, allocations: 27.91 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.1283, allocations: 31.69 kB / 483 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1285, allocations: 108 kB / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1285, allocations: 0 / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1285, allocations: 0 / 483.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1285, allocations: 0 / 483.1 MB, free: 2.273 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.000524/0.129, allocations: 426.8 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.1291, allocations: 12.02 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.1291, allocations: 34.75 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.1292, allocations: 16.75 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.1294, allocations: 204.1 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.1294, allocations: 384 / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1294, allocations: 4.375 kB / 483.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1296, allocations: 53.62 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1296, allocations: 7.922 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1296, allocations: 0 / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1296, allocations: 7.938 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.026e-05/0.1297, allocations: 19.98 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1301, allocations: 304.7 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.1302, allocations: 46.48 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.1303, allocations: 16.86 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1303, allocations: 4 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1303, allocations: 34.56 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1303, allocations: 0 / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008807/0.1312, allocations: 233.2 kB / 484.5 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.1313, allocations: 51.41 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.1315, allocations: 235.1 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1315, allocations: 29.7 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.1316, allocations: 108.1 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.1317, allocations: 31.56 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1317, allocations: 21.7 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1319, allocations: 322.8 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.1319, allocations: 23.98 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.132, allocations: 27.98 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1322, allocations: 64.77 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1322, allocations: 0 / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000213/0.1324, allocations: 105.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1324, allocations: 7.984 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1324, allocations: 0 / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1325, allocations: 0 / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1326, allocations: 23.98 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1326, allocations: 8 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.1326, allocations: 4 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.1327, 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.0001125/0.1328, allocations: 133.8 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1328, allocations: 15.81 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.1331, allocations: 111 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.1331, allocations: 8 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1331, allocations: 3.938 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1331, allocations: 0 / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005152/0.1337, allocations: 407.2 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1337, allocations: 0 / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.1337, allocations: 27.86 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1338, allocations: 4.031 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1338, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1338, allocations: 4 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1338, allocations: 7.922 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.134, allocations: 200.3 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.1341, allocations: 96.84 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.1341, allocations: 4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.364e-05/0.1342, allocations: 4 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.178e-05/0.1343, allocations: 7.984 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.1343, allocations: 4 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1344, allocations: 180.2 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1344, allocations: 0 / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.1347, allocations: 23.98 kB / 486.7 MB, free: 14.27 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.002128/0.1368, allocations: 1.095 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1371, allocations: 67.89 kB / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1371, allocations: 0 / 487.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.158e-05/0.1372, allocations: 39.91 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1375, allocations: 18.22 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.1396, allocations: 1.696 MB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.14, allocations: 0.708 MB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.1401, allocations: 8.672 kB / 490.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.064e-05/0.1401, allocations: 43.36 kB / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1401, allocations: 0 / 490.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.1664, allocations: 3.137 MB / 493.5 MB, free: 7.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.232, allocations: 5.016 kB / 493.5 MB, free: 7.555 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1)