Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, 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.001334/0.001334, 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.572/1.572, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2202/0.2202, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002128/0.002128, allocations: 77.41 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1215, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003163/0.1247, allocations: 1.686 MB / 481.9 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1257, allocations: 0.5532 MB / 482.4 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.1258, allocations: 4 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.126, allocations: 43.8 kB / 482.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1263, allocations: 91.61 kB / 482.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1266, allocations: 139.2 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1268, allocations: 75.77 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1269, allocations: 24.22 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.127, allocations: 31.84 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.1271, allocations: 47.83 kB / 482.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1271, allocations: 4 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1272, allocations: 55.92 kB / 483 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.1273, allocations: 15.92 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.1273, allocations: 39.73 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1275, allocations: 107.9 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1276, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1276, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1276, allocations: 4 kB / 483.1 MB, free: 2.219 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.0005629/0.1281, allocations: 419.1 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.1282, allocations: 8.031 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.919e-05/0.1282, allocations: 38.69 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.1283, allocations: 12.84 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1285, allocations: 196 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1285, allocations: 4.375 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1285, allocations: 4.375 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1287, allocations: 69.59 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1287, allocations: 3.906 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1288, allocations: 4 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1288, allocations: 0 / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.1289, allocations: 43.91 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.1293, allocations: 312.7 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1296, allocations: 58.59 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.1297, allocations: 24.97 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1297, allocations: 3.984 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1297, allocations: 38.55 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1297, allocations: 0 / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001436/0.1312, allocations: 401.1 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1312, allocations: 55.39 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1314, allocations: 182.2 kB / 485 MB, free: 184 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.1315, allocations: 29.7 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.1315, allocations: 100.1 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.1316, allocations: 35.45 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.1316, allocations: 33.73 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1318, allocations: 322.8 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.1319, allocations: 43.97 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.132, allocations: 43.95 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.1323, allocations: 104.8 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1323, allocations: 0 / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000314/0.1326, allocations: 137.5 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1326, allocations: 7.984 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1327, allocations: 0 / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1327, allocations: 3.938 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1328, allocations: 27.92 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1328, allocations: 8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.1329, allocations: 11.98 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1329, allocations: 7.938 kB / 485.9 MB, free: 15.24 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.0001118/0.133, allocations: 129.8 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.1331, allocations: 7.906 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004072/0.1335, allocations: 170.6 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.1335, allocations: 7.938 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1335, allocations: 0 / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1335, allocations: 0 / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.1342, allocations: 483.8 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1342, allocations: 0 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1343, allocations: 23.98 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1343, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1343, allocations: 4 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1343, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1344, allocations: 192 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.1347, allocations: 261 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.081e-05/0.1348, allocations: 96.91 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.1349, allocations: 4 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.135, allocations: 11.98 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.135, allocations: 11.98 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.135, allocations: 8 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1352, allocations: 135.2 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1352, allocations: 0 / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1355, allocations: 31.98 kB / 487.2 MB, free: 13.77 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.002567/0.138, allocations: 1.128 MB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.1384, allocations: 111.8 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1384, allocations: 0 / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1386, allocations: 63.89 kB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.1391, allocations: 15.91 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.1417, allocations: 1.787 MB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.142, allocations: 0.7118 MB / 491 MB, free: 9.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.714e-05/0.1421, allocations: 20.53 kB / 491 MB, free: 9.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.1422, allocations: 35.42 kB / 491.1 MB, free: 9.918 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1422, allocations: 4 kB / 491.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.1676, allocations: 3.241 MB / 494.3 MB, free: 6.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.725, allocations: 12.31 kB / 494.3 MB, free: 6.742 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1)