Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.00167/0.00167, allocations: 103.7 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.001799/0.0018, allocations: 212.6 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.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.226/0.226, allocations: 46.12 MB / 344.2 MB, free: 11.55 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.002222/0.002222, allocations: 83.39 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1158, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003241/0.1191, allocations: 1.678 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1201, allocations: 0.5649 MB / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.1202, allocations: 0 / 482.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1205, allocations: 67.7 kB / 482.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.1209, allocations: 103.6 kB / 482.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.1212, allocations: 138.5 kB / 482.8 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1214, allocations: 75.83 kB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1216, allocations: 24.2 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.515e-05/0.1217, allocations: 43.78 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1218, allocations: 59.81 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1218, allocations: 4 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1219, allocations: 47.98 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.205e-05/0.122, allocations: 19.92 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.1221, allocations: 43.67 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.1223, allocations: 119.9 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1223, allocations: 0 / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1223, allocations: 0 / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1223, allocations: 0 / 483.2 MB, free: 2.137 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.0006688/0.123, allocations: 442.8 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1231, allocations: 12.03 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.1231, allocations: 30.75 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.1232, allocations: 16.69 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1234, allocations: 208.1 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1234, allocations: 4.375 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.1234, allocations: 4.375 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1236, allocations: 69.53 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1237, allocations: 0 / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1237, allocations: 8 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1237, allocations: 4 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1238, allocations: 31.97 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.1243, allocations: 312.7 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1246, allocations: 58.59 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.1247, allocations: 28.97 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1247, allocations: 7.984 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1248, allocations: 30.56 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1248, allocations: 0 / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00147/0.1262, allocations: 401.1 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.1263, allocations: 59.34 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.1265, allocations: 210.4 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1266, allocations: 25.7 kB / 485.1 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1267, allocations: 116 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.1268, allocations: 47.38 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.1268, allocations: 29.7 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.127, allocations: 322.8 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1272, allocations: 43.97 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.1273, allocations: 40.08 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1276, allocations: 109 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1276, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003228/0.1279, allocations: 141.4 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1279, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1279, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.128, allocations: 3.938 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1281, allocations: 31.97 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1281, allocations: 4 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.1282, allocations: 8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1282, allocations: 3.984 kB / 486 MB, free: 15.09 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.0001147/0.1283, allocations: 125.8 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.1284, allocations: 19.75 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.1288, allocations: 170.9 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.1288, allocations: 7.922 kB / 486.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1288, allocations: 3.984 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1288, allocations: 3.938 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.1296, allocations: 483.9 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.1296, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1297, allocations: 27.98 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1297, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.1297, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1297, allocations: 7.984 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1297, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.1301, allocations: 257 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1302, allocations: 89 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1302, allocations: 4.188 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1303, allocations: 15.98 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.1304, allocations: 11.98 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1304, allocations: 4 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1305, allocations: 172.8 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 0 / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1308, allocations: 27.98 kB / 487.4 MB, free: 13.57 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.002288/0.1331, allocations: 1.138 MB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1335, allocations: 103.9 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1335, allocations: 4 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1336, allocations: 59.89 kB / 488.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1341, allocations: 24.16 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.1365, allocations: 1.872 MB / 490.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1368, allocations: 0.7197 MB / 491.3 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.1369, allocations: 16.48 kB / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.489e-05/0.137, allocations: 39.42 kB / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.137, allocations: 0 / 491.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.1629, allocations: 3.417 MB / 494.8 MB, free: 6.273 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.399, allocations: 8.953 kB / 494.8 MB, free: 6.266 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1)