Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001161, 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.001217/0.001218, 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.462/1.462, 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.221/0.221, allocations: 46.11 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.002105/0.002105, allocations: 84.77 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1354, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00413/0.1396, allocations: 1.846 MB / 482.1 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1415, allocations: 1.048 MB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.1416, allocations: 0 / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.1419, allocations: 67.66 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000352/0.1423, allocations: 115.4 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.1428, allocations: 212.7 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.1431, allocations: 215.2 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1432, allocations: 29.55 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1434, allocations: 79.75 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1435, allocations: 103.6 kB / 483.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.1436, allocations: 12 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1437, allocations: 43.98 kB / 484 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.747e-05/0.1438, allocations: 43.88 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.1439, allocations: 71.53 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1442, allocations: 187.7 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1442, allocations: 0 / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1442, allocations: 0 / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1442, allocations: 4 kB / 484.3 MB, free: 1.059 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001152/0.1454, allocations: 0.5876 MB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1454, allocations: 8.031 kB / 484.9 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.1455, allocations: 38.75 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.069e-05/0.1455, allocations: 20.73 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1458, allocations: 240.7 kB / 485.2 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1458, allocations: 4.375 kB / 485.2 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.1459, allocations: 11.92 kB / 485.2 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005331/0.1464, allocations: 149.5 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1464, allocations: 3.938 kB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1465, allocations: 0 / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1465, allocations: 8 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007483/0.1472, allocations: 163.8 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008468/0.1481, allocations: 432.5 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/0.1489, allocations: 194.4 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.1493, allocations: 100.7 kB / 486.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1493, allocations: 8 kB / 486.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005758/0.1499, allocations: 159.2 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.1499, allocations: 0 / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003753/0.1537, allocations: 0.8399 MB / 487.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1537, allocations: 59.48 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/0.154, allocations: 257 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.154, allocations: 29.7 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/0.1541, allocations: 128 kB / 487.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.1542, allocations: 39.55 kB / 487.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.217e-05/0.1543, allocations: 33.7 kB / 487.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1545, allocations: 334.8 kB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.1552, allocations: 175.8 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.1559, allocations: 178.5 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.1573, allocations: 376 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1573, allocations: 3.938 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001573/0.1589, allocations: 476.2 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.866e-05/0.159, allocations: 67.41 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.159, allocations: 0 / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.159, allocations: 3.984 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004174/0.1594, allocations: 71.83 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1594, allocations: 4 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.1599, allocations: 67.91 kB / 489.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1599, allocations: 0 / 489.5 MB, free: 11.58 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001368/0.16, allocations: 141.8 kB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.868e-05/0.1601, allocations: 15.81 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/0.1616, allocations: 419.1 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1617, allocations: 3.938 kB / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1617, allocations: 0 / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1617, allocations: 0 / 490 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.1635, allocations: 0.7353 MB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1636, allocations: 4 kB / 490.8 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.1639, allocations: 63.84 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.164, allocations: 4 kB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.164, allocations: 0 / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.164, allocations: 3.984 kB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.164, allocations: 4 kB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.1655, allocations: 490.8 kB / 491.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.1656, allocations: 96.84 kB / 491.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.1656, allocations: 8 kB / 491.4 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.1661, allocations: 67.91 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.1662, allocations: 47.94 kB / 491.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1663, allocations: 4 kB / 491.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1664, allocations: 188.5 kB / 491.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1665, allocations: 288 / 491.7 MB, free: 9.207 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002924/0.1668, allocations: 48 kB / 491.8 MB, free: 9.16 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003182/0.1699, allocations: 1.325 MB / 493.1 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.1716, allocations: 494.3 kB / 493.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1716, allocations: 0 / 493.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007487/0.1723, allocations: 183.8 kB / 493.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1727, allocations: 42.69 kB / 493.8 MB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006116/0.1788, allocations: 2.875 MB / 496.7 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1792, allocations: 0.7357 MB / 497.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001481/0.1794, allocations: 29.41 kB / 497.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1795, allocations: 55.42 kB / 497.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1795, allocations: 4 kB / 497.5 MB, free: 3.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.2117, allocations: 5.756 MB / 0.4915 GB, free: 13.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.432, allocations: 9.016 kB / 0.4915 GB, free: 13.73 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)