Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 104.1 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.17 MB / 336.2 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 64.36 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1199, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003918/0.1239, allocations: 1.878 MB / 470.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.1254, allocations: 0.8654 MB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1256, allocations: 4 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1259, allocations: 59.8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1262, allocations: 71.72 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005703/0.1268, allocations: 186.6 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.1271, allocations: 199.4 kB / 472.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1273, allocations: 17.5 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.1274, allocations: 75.73 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.1276, allocations: 111.6 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.009e-05/0.1277, allocations: 12 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1278, allocations: 47.97 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.1279, allocations: 39.89 kB / 472.4 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.128, allocations: 75.53 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002857/0.1283, allocations: 179.7 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1283, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1283, allocations: 0 / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1283, allocations: 3.938 kB / 472.6 MB, free: 10.79 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.001153/0.1295, allocations: 0.576 MB / 473.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1296, allocations: 8.031 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.1296, allocations: 38.75 kB / 473.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.599e-05/0.1297, allocations: 20.66 kB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.13, allocations: 231.9 kB / 473.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.13, allocations: 8.375 kB / 473.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.13, allocations: 11.92 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/0.1305, allocations: 153.4 kB / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1306, allocations: 0 / 473.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1306, allocations: 3.984 kB / 473.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1306, allocations: 4 kB / 473.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.1313, allocations: 167.8 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008515/0.1322, allocations: 432.5 kB / 474.3 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/0.1329, allocations: 198.3 kB / 474.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.1333, allocations: 96.75 kB / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.1333, allocations: 0 / 474.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005703/0.1339, allocations: 171.2 kB / 474.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.1339, allocations: 3.938 kB / 474.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.004038/0.138, allocations: 0.8358 MB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.138, allocations: 55.5 kB / 475.6 MB, free: 7.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1383, allocations: 247.2 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1384, allocations: 25.7 kB / 475.9 MB, free: 7.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.1385, allocations: 128.1 kB / 476 MB, free: 7.188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.1385, allocations: 43.45 kB / 476 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.174e-05/0.1386, allocations: 33.7 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1387, allocations: 330.8 kB / 476.4 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007094/0.1394, allocations: 171.8 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.1401, allocations: 174.3 kB / 476.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.1414, allocations: 383.9 kB / 477.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1414, allocations: 0 / 477.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00159/0.143, allocations: 474.3 kB / 477.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.1431, allocations: 63.39 kB / 477.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1431, allocations: 0 / 477.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.1432, allocations: 0 / 477.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.1436, allocations: 75.84 kB / 477.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.1436, allocations: 3.984 kB / 477.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004404/0.1441, allocations: 63.91 kB / 477.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1441, allocations: 4 kB / 477.8 MB, free: 5.348 MB / 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: 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.0001802/0.1443, allocations: 141.8 kB / 477.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.1444, allocations: 19.72 kB / 477.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.146, allocations: 417.5 kB / 478.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.146, allocations: 4.047 kB / 478.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.146, allocations: 11.94 kB / 478.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.146, allocations: 0 / 478.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.1478, allocations: 0.7207 MB / 479.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1478, allocations: 0 / 479.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.1482, allocations: 71.84 kB / 479.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1482, allocations: 4.547 kB / 479.2 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.1482, allocations: 4 kB / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1482, allocations: 0 / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1482, allocations: 0 / 479.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.1498, allocations: 494.9 kB / 479.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.1499, allocations: 96.84 kB / 479.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.1499, allocations: 11.94 kB / 479.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/0.1504, allocations: 59.91 kB / 479.8 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.1506, allocations: 51.94 kB / 479.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1506, allocations: 7.984 kB / 479.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1508, allocations: 180.6 kB / 480 MB, free: 2.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1508, allocations: 0 / 480 MB, free: 2.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003297/0.1511, allocations: 47.98 kB / 480.1 MB, free: 2.938 MB / 350.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.002597/0.1538, allocations: 1.318 MB / 481.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.1553, allocations: 498 kB / 481.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1553, allocations: 4 kB / 481.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007294/0.1561, allocations: 187.7 kB / 482.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1565, allocations: 34.28 kB / 482.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005936/0.1624, allocations: 2.884 MB / 485 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1628, allocations: 0.7358 MB / 485.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.1629, allocations: 29.41 kB / 485.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.1631, allocations: 55.41 kB / 485.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1631, allocations: 0 / 485.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.1825, allocations: 5.281 MB / 491.1 MB, free: 8.027 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.1828, allocations: 233.8 kB / 491.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.17, allocations: 3.938 kB / 491.3 MB, free: 7.766 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)