Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_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.0008336/0.0008339, allocations: 97.8 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008786/0.0008787, allocations: 190.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 45.91 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1143, allocations: 63.47 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.001916/0.1163, allocations: 1.533 MB / 483.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1177, allocations: 0.9672 MB / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.1177, allocations: 0 / 484.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.118, allocations: 59.8 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.1183, allocations: 95.58 kB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.1187, allocations: 187.3 kB / 484.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1189, allocations: 163.5 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.1191, allocations: 21.55 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1192, allocations: 79.61 kB / 484.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1193, allocations: 91.64 kB / 484.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.1193, allocations: 8 kB / 484.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.352e-05/0.1194, allocations: 31.98 kB / 484.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.909e-05/0.1195, allocations: 39.83 kB / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.1196, allocations: 45.64 kB / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1197, allocations: 135.9 kB / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1198, allocations: 4 kB / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1198, allocations: 0 / 485.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1198, allocations: 0 / 485.1 MB, free: 1.805 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.0009533/0.1207, allocations: 0.5799 MB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1208, allocations: 8.031 kB / 485.7 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.1208, allocations: 38.55 kB / 485.7 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.1209, allocations: 15.81 kB / 485.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.1211, allocations: 231.8 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1211, allocations: 7.984 kB / 486 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.1212, allocations: 8 kB / 486 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.1216, allocations: 173.4 kB / 486.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1217, allocations: 4 kB / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1217, allocations: 3.984 kB / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1217, allocations: 0 / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006949/0.1224, allocations: 215.8 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007661/0.1232, allocations: 456.5 kB / 486.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.1239, allocations: 262.3 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.1243, allocations: 112.8 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.1243, allocations: 0 / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005096/0.1249, allocations: 191.2 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.1249, allocations: 0 / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003611/0.1285, allocations: 1.086 MB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1285, allocations: 55.41 kB / 488.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.1288, allocations: 253 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1288, allocations: 37.64 kB / 488.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1289, allocations: 124.1 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.129, allocations: 39.59 kB / 488.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.129, allocations: 4 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1291, allocations: 334.8 kB / 489.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/0.1298, allocations: 223.8 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.1305, allocations: 219.9 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.1312, allocations: 269.5 kB / 490 MB, free: 12.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1312, allocations: 7.984 kB / 490 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001484/0.1327, allocations: 0.555 MB / 490.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.1328, allocations: 63.41 kB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1328, allocations: 0 / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1328, allocations: 3.953 kB / 490.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.1332, allocations: 99.89 kB / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1332, allocations: 0 / 490.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.1336, allocations: 87.91 kB / 490.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1336, allocations: 8 kB / 490.8 MB, free: 11.82 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 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.1338, allocations: 145.8 kB / 490.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1338, allocations: 15.81 kB / 490.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.1354, allocations: 0.5104 MB / 491.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1354, allocations: 4 kB / 491.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.1354, allocations: 3.953 kB / 491.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1354, allocations: 3.984 kB / 491.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001851/0.1373, allocations: 0.8183 MB / 492.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1373, allocations: 4 kB / 492.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003609/0.1376, allocations: 91.91 kB / 492.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.1377, allocations: 0 / 492.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1377, allocations: 11.94 kB / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1377, allocations: 0 / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1377, allocations: 0 / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1391, allocations: 0.5771 MB / 493 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.1392, allocations: 100.8 kB / 493.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.1392, allocations: 0 / 493.1 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.1396, allocations: 95.86 kB / 493.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.1398, allocations: 51.91 kB / 493.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.1398, allocations: 7.984 kB / 493.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001903/0.14, allocations: 184.5 kB / 493.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.14, allocations: 0 / 493.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.1404, allocations: 44 kB / 493.4 MB, free: 9.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002592/0.143, allocations: 1.422 MB / 494.9 MB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.1446, allocations: 0.5714 MB / 495.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1447, allocations: 0 / 495.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007291/0.1454, allocations: 243.7 kB / 495.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1458, allocations: 37.55 kB / 495.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003975/0.1498, allocations: 1.728 MB / 497.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1502, allocations: 0.7361 MB / 498.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.1503, allocations: 29.39 kB / 498.2 MB, free: 4.316 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1505, allocations: 59.41 kB / 498.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1505, allocations: 0 / 498.2 MB, free: 4.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.1675, allocations: 4.943 MB / 0.4914 GB, free: 15.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.1677, allocations: 221.9 kB / 0.4916 GB, free: 15.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.123, allocations: 0 / 0.4916 GB, free: 15.19 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)