Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, 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.001762/0.001761, 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.519/1.519, 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.2325/0.2325, 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.002421/0.002421, allocations: 86.67 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1265, allocations: 62.45 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.004095/0.1307, allocations: 1.658 MB / 481.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1327, allocations: 1.167 MB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.1328, allocations: 4 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001852/0.133, allocations: 31.84 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.1334, allocations: 79.62 kB / 483.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.1337, allocations: 130.8 kB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.1339, allocations: 71.78 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.134, allocations: 23.97 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.1341, allocations: 23.92 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.1343, allocations: 39.78 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1343, allocations: 4 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.1345, allocations: 103.9 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.1346, allocations: 15.98 kB / 483.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.1347, allocations: 23.81 kB / 483.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.135, allocations: 155.8 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.135, allocations: 0 / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.135, allocations: 4 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.135, allocations: 4 kB / 483.7 MB, free: 1.598 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.0007/0.1357, allocations: 419.1 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.1358, allocations: 8.031 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.977e-05/0.1359, allocations: 38.73 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1359, allocations: 8.844 kB / 484.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.1362, allocations: 204 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1362, allocations: 384 / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1362, allocations: 12.36 kB / 484.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1364, allocations: 79.27 kB / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1365, allocations: 0 / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1365, allocations: 0 / 484.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1365, allocations: 4 kB / 484.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1366, allocations: 31.97 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.137, allocations: 296.8 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1372, allocations: 46.48 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.179e-05/0.1373, allocations: 24.94 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1373, allocations: 0 / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1373, allocations: 38.56 kB / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1373, allocations: 0 / 484.9 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007996/0.1381, allocations: 209.2 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/0.1382, allocations: 77.11 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1384, allocations: 168.2 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1384, allocations: 25.7 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.1385, allocations: 96.12 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1386, allocations: 19.72 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.1386, allocations: 21.7 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1387, allocations: 318.8 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.1389, allocations: 31.97 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.139, allocations: 49.69 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.1392, allocations: 84.95 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1392, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002882/0.1395, allocations: 113.6 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1396, allocations: 6.5 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1396, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1396, allocations: 4 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1397, allocations: 15.98 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1397, allocations: 8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.1398, allocations: 19.8 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1398, allocations: 8 kB / 486.2 MB, free: 14.91 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 (7): * Single equations (assignments): 7 * 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.0001007/0.1399, allocations: 121.8 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.14, allocations: 7.906 kB / 486.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.1403, allocations: 122.3 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1404, allocations: 4 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1404, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1404, allocations: 3.938 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005959/0.141, allocations: 398.3 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.141, allocations: 4 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.1411, allocations: 23.91 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1411, allocations: 0 / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1411, allocations: 11.94 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1411, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1411, allocations: 4 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.1415, allocations: 207.3 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.1416, allocations: 85 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.744e-05/0.1416, allocations: 7.938 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1417, allocations: 11.98 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.1418, allocations: 8 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1418, allocations: 4.266 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1419, allocations: 117.3 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1419, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1422, allocations: 35.98 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002309/0.1446, allocations: 1.132 MB / 488.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1449, allocations: 87.86 kB / 488.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1449, allocations: 3.938 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.145, allocations: 43.91 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1454, allocations: 22.98 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.1476, allocations: 1.575 MB / 490.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.1481, allocations: 0.6924 MB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.1482, allocations: 24.64 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.1483, allocations: 39.45 kB / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1483, allocations: 0 / 490.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.1793, allocations: 3.425 MB / 494.4 MB, free: 6.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.179, allocations: 16.25 kB / 494.4 MB, free: 6.707 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1)