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.000761/0.000761, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0008115/0.0008116, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.363/1.363, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1914/0.1914, allocations: 44.26 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 9.344 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.001863/0.1164, allocations: 1.531 MB / 473.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1177, allocations: 0.8539 MB / 474.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.1177, allocations: 4 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.118, allocations: 59.78 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1182, allocations: 71.67 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.1186, allocations: 184.9 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.1189, allocations: 183.4 kB / 475.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.88e-05/0.119, allocations: 21.5 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.1191, allocations: 75.67 kB / 475.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1192, allocations: 91.66 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1192, allocations: 4 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.189e-05/0.1193, allocations: 39.97 kB / 475.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.1194, allocations: 39.83 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.065e-05/0.1195, allocations: 97.23 kB / 475.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.1197, allocations: 167.7 kB / 475.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1197, allocations: 4 kB / 475.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1197, allocations: 3.938 kB / 475.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.1197, allocations: 0 / 475.8 MB, free: 9.793 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.0009524/0.1207, allocations: 0.5723 MB / 476.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1207, allocations: 12.03 kB / 476.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1208, allocations: 34.75 kB / 476.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.1208, allocations: 16.75 kB / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.121, allocations: 247.8 kB / 476.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.121, allocations: 4.375 kB / 476.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.1211, allocations: 11.94 kB / 476.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005018/0.1216, allocations: 169.5 kB / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1216, allocations: 0 / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1216, allocations: 0 / 476.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1216, allocations: 4 kB / 476.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.1224, allocations: 215.8 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008134/0.1232, allocations: 468.4 kB / 477.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.1241, allocations: 246.4 kB / 477.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.1245, allocations: 116.8 kB / 477.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1245, allocations: 4 kB / 477.9 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005646/0.1251, allocations: 195.2 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1251, allocations: 0 / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003999/0.1291, allocations: 1.074 MB / 479.1 MB, free: 6.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.1292, allocations: 59.48 kB / 479.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.1294, allocations: 251.2 kB / 479.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.1295, allocations: 25.7 kB / 479.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.1295, allocations: 132 kB / 479.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.1296, allocations: 36.11 kB / 479.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1296, allocations: 21.7 kB / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1298, allocations: 330.8 kB / 480 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.1306, allocations: 223.7 kB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000761/0.1313, allocations: 223.8 kB / 480.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.1328, allocations: 482.4 kB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1329, allocations: 3.938 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001683/0.1346, allocations: 0.5589 MB / 481.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-05/0.1346, allocations: 55.41 kB / 481.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1346, allocations: 0 / 481.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1346, allocations: 4 kB / 481.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004524/0.1351, allocations: 99.78 kB / 481.6 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1351, allocations: 4 kB / 481.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.1356, allocations: 91.89 kB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.1356, allocations: 8 kB / 481.7 MB, free: 3.586 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.0001565/0.1358, allocations: 129.8 kB / 481.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1358, allocations: 23.72 kB / 481.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.1375, allocations: 0.5027 MB / 482.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1375, allocations: 11.92 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.1375, allocations: 4 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1376, allocations: 0 / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.1394, allocations: 0.8184 MB / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1394, allocations: 0 / 483.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.1399, allocations: 95.78 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1399, allocations: 0 / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.1399, allocations: 4 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1399, allocations: 4 kB / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1399, allocations: 0 / 483.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1415, allocations: 0.5803 MB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1416, allocations: 96.77 kB / 483.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.1416, allocations: 11.98 kB / 484 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.1421, allocations: 87.91 kB / 484 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.1423, allocations: 43.94 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1423, allocations: 11.98 kB / 484.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1425, allocations: 184.6 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1425, allocations: 0 / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.1428, allocations: 40 kB / 484.3 MB, free: 0.8516 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.00264/0.1454, allocations: 1.425 MB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.1471, allocations: 0.5725 MB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1471, allocations: 0 / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007949/0.1479, allocations: 239.7 kB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1483, allocations: 36.41 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006262/0.1546, allocations: 3.132 MB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.1549, allocations: 0.7283 MB / 490.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.1551, allocations: 29.39 kB / 490.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.1552, allocations: 63.34 kB / 490.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1552, allocations: 0 / 490.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.1711, allocations: 4.908 MB / 495.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.1715, allocations: 244.7 kB / 495.7 MB, free: 5.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.969, allocations: 0 / 495.7 MB, free: 5.574 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)