Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, 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.002412/0.002412, 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.535/1.535, 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.2344/0.2344, allocations: 46.12 MB / 344.2 MB, free: 11.56 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.002247/0.002247, allocations: 82.75 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1419, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003825/0.1458, allocations: 1.592 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1471, allocations: 0.5299 MB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.1472, allocations: 4 kB / 482.3 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.1475, allocations: 23.84 kB / 482.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.1478, allocations: 83.62 kB / 482.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.1481, allocations: 94.81 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1483, allocations: 63.84 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1484, allocations: 8 kB / 482.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.1484, allocations: 23.91 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.1485, allocations: 27.8 kB / 482.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.1485, allocations: 4 kB / 482.7 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.1486, allocations: 28 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.568e-05/0.1487, allocations: 19.91 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.1487, allocations: 23.81 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1489, allocations: 80.06 kB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1489, allocations: 0 / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1489, allocations: 0 / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1489, allocations: 0 / 482.8 MB, free: 2.52 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005345/0.1495, allocations: 391.1 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1495, allocations: 8.031 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.1496, allocations: 38.69 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.1496, allocations: 12.84 kB / 483.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1498, allocations: 194.2 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1499, allocations: 4.375 kB / 483.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1499, allocations: 4.375 kB / 483.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.15, allocations: 45.62 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.15, allocations: 0 / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1501, allocations: 3.938 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1501, allocations: 4 kB / 483.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.1502, allocations: 19.98 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1506, allocations: 288.8 kB / 483.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002155/0.1508, allocations: 42.56 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.477e-05/0.1509, allocations: 8.859 kB / 483.8 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1509, allocations: 4 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1509, allocations: 38.56 kB / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.1509, allocations: 0 / 483.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006558/0.1516, allocations: 145.5 kB / 484 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/0.1517, allocations: 51.41 kB / 484.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1519, allocations: 168.8 kB / 484.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1519, allocations: 25.7 kB / 484.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.152, allocations: 104.1 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.152, allocations: 15.73 kB / 484.4 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1521, allocations: 17.72 kB / 484.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1522, allocations: 322.8 kB / 484.7 MB, free: 392 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.1523, allocations: 19.98 kB / 484.7 MB, free: 372 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.507e-05/0.1524, allocations: 11.98 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1525, allocations: 52.83 kB / 484.8 MB, free: 304 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1525, allocations: 3.938 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001874/0.1527, allocations: 81.81 kB / 484.9 MB, free: 212 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1528, allocations: 4 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1528, allocations: 0 / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1528, allocations: 8 kB / 484.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.1529, allocations: 15.92 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1529, allocations: 3.938 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1529, allocations: 12 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.153, allocations: 3.984 kB / 484.9 MB, free: 164 kB / 350.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 (5): * Single equations (assignments): 5 * 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 8.846e-05/0.153, allocations: 117.8 kB / 485 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.254e-05/0.1531, allocations: 7.906 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002512/0.1533, allocations: 86.05 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1534, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1534, allocations: 7.938 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1534, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1538, allocations: 350.4 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1538, allocations: 0 / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.1539, allocations: 15.98 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1539, allocations: 3.938 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1539, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1539, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1539, allocations: 4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.1542, allocations: 195.2 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.1542, allocations: 77.11 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1542, allocations: 3.938 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.1543, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1543, allocations: 7.984 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1544, allocations: 4.188 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1545, allocations: 126.6 kB / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1545, allocations: 0 / 485.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1547, allocations: 19.91 kB / 485.9 MB, free: 15.05 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 (5): * Single equations (assignments): 5 * 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.001898/0.1566, allocations: 1.011 MB / 487 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1568, allocations: 47.97 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1569, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.1569, allocations: 27.92 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1573, allocations: 15.98 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1592, allocations: 1.46 MB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1595, allocations: 0.6963 MB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.421e-05/0.1596, allocations: 8 kB / 489.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.1597, allocations: 31.42 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.444e-06/0.1597, allocations: 0 / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.1836, allocations: 2.522 MB / 491.8 MB, free: 9.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.232/8.415, allocations: 15.94 kB / 491.8 MB, free: 9.293 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1)