Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.001284/0.001284, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.213/0.213, 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.002368/0.002368, allocations: 76.03 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1264, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.004316/0.1307, allocations: 1.861 MB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.1327, allocations: 1.017 MB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1329, allocations: 0 / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.1333, allocations: 67.72 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.1337, allocations: 115.4 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.1343, allocations: 158.7 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003804/0.1347, allocations: 203.4 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1349, allocations: 29.53 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1351, allocations: 79.69 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.1353, allocations: 99.62 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.733e-05/0.1353, allocations: 16 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1354, allocations: 43.94 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1355, allocations: 43.81 kB / 483.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1357, allocations: 71.59 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.136, allocations: 187.7 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.136, allocations: 4 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.136, allocations: 0 / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.136, allocations: 0 / 484.2 MB, free: 1.129 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.001273/0.1373, allocations: 0.5798 MB / 484.8 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.1374, allocations: 12.03 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.287e-05/0.1374, allocations: 42.69 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.1375, allocations: 16.75 kB / 484.8 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1378, allocations: 240.7 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1379, allocations: 384 / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.1379, allocations: 15.94 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.1385, allocations: 137.5 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1385, allocations: 4 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.1385, allocations: 4 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1385, allocations: 4 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.1393, allocations: 159.8 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006331/0.14, allocations: 368.7 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008261/0.1408, allocations: 190.4 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.1412, allocations: 96.75 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.1413, allocations: 4.047 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006472/0.1419, allocations: 171 kB / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/0.142, allocations: 0 / 486.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003981/0.1459, allocations: 0.8163 MB / 487 MB, free: 14.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.146, allocations: 59.34 kB / 487.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/0.1464, allocations: 256.1 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.1464, allocations: 29.7 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.401e-05/0.1465, allocations: 124.1 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.1466, allocations: 43.59 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.1467, allocations: 33.7 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1469, allocations: 334.8 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007607/0.1477, allocations: 163.8 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.1484, allocations: 167.8 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/0.1498, allocations: 370.5 kB / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.1499, allocations: 0 / 488.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001636/0.1515, allocations: 456.4 kB / 489 MB, free: 12.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.1516, allocations: 59.41 kB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1516, allocations: 4 kB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.1516, allocations: 0 / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.1521, allocations: 75.78 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1521, allocations: 0 / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.1525, allocations: 75.89 kB / 489.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1526, allocations: 4 kB / 489.2 MB, free: 11.8 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.0001859/0.1528, allocations: 137.8 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.1528, allocations: 19.72 kB / 489.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1545, allocations: 413.3 kB / 489.8 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1545, allocations: 7.938 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.1545, allocations: 0 / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1545, allocations: 0 / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.1565, allocations: 0.7012 MB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1565, allocations: 7.938 kB / 490.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.1569, allocations: 71.78 kB / 490.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1569, allocations: 4 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.1569, allocations: 4 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1569, allocations: 3.938 kB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1569, allocations: 0 / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.1586, allocations: 478.2 kB / 491 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.1587, allocations: 104.8 kB / 491.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1587, allocations: 0 / 491.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.1592, allocations: 67.91 kB / 491.2 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.1593, allocations: 43.94 kB / 491.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1594, allocations: 7.938 kB / 491.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.1596, allocations: 189.8 kB / 491.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1596, allocations: 0 / 491.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1599, allocations: 47.91 kB / 491.5 MB, free: 9.426 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.003416/0.1634, allocations: 1.298 MB / 492.8 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.1651, allocations: 482.3 kB / 493.3 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1651, allocations: 0 / 493.3 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007844/0.1659, allocations: 189.5 kB / 493.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.1663, allocations: 33.72 kB / 493.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006635/0.173, allocations: 2.812 MB / 496.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/0.1734, allocations: 0.7202 MB / 497 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001409/0.1736, allocations: 25.36 kB / 497 MB, free: 3.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.1737, allocations: 55.41 kB / 497.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1738, allocations: 0 / 497.1 MB, free: 3.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/0.2303, allocations: 5.682 MB / 0.491 GB, free: 14.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.613, allocations: 14.38 kB / 0.491 GB, free: 14.19 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)