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.001093/0.001093, allocations: 97.47 kB / 17 MB, free: 6.418 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.001189/0.001189, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.403/1.403, allocations: 223.2 MB / 241.9 MB, free: 14.62 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.2048/0.2048, allocations: 44.22 MB / 337.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002903/0.0002905, allocations: 8 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1082, allocations: 61.91 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.002055/0.1103, allocations: 1.5 MB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.1115, allocations: 0.8153 MB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.1116, allocations: 0 / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1118, allocations: 63.78 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.112, allocations: 59.69 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.1124, allocations: 189.7 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.1126, allocations: 163.5 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.1128, allocations: 25.47 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.1129, allocations: 67.75 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.113, allocations: 91.69 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.113, allocations: 8 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.1131, allocations: 23.94 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.81e-05/0.1132, allocations: 35.89 kB / 474.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.746e-05/0.1132, allocations: 49.58 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1134, allocations: 135.9 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1134, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1134, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1134, allocations: 0 / 474.9 MB, free: 10.38 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.001059/0.1145, allocations: 0.5799 MB / 475.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1146, allocations: 8.031 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1146, allocations: 30.56 kB / 475.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.1146, allocations: 19.81 kB / 475.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1149, allocations: 226.7 kB / 475.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1149, allocations: 4 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.5e-05/0.1149, allocations: 15.89 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.1154, allocations: 173.4 kB / 475.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1154, allocations: 0 / 475.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1154, allocations: 4 kB / 475.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1155, allocations: 4 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.1161, allocations: 215.8 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.1169, allocations: 452.6 kB / 476.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006867/0.1176, allocations: 250.3 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.1179, allocations: 120.8 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.1179, allocations: 4 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.1184, allocations: 199 kB / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1184, allocations: 0 / 477.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003421/0.1219, allocations: 1.066 MB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.1219, allocations: 59.41 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1222, allocations: 243.1 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1222, allocations: 33.7 kB / 478.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.1223, allocations: 124.1 kB / 478.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.1223, allocations: 35.69 kB / 478.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.495e-05/0.1224, allocations: 4 kB / 478.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1225, allocations: 342.8 kB / 479 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006536/0.1231, allocations: 223.7 kB / 479.2 MB, free: 5.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006513/0.1238, allocations: 223.8 kB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.1245, allocations: 261.6 kB / 479.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1245, allocations: 4 kB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001419/0.1259, allocations: 0.555 MB / 480.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.899e-05/0.126, allocations: 71.39 kB / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.126, allocations: 0 / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.126, allocations: 0 / 480.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.1264, allocations: 92.02 kB / 480.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1264, allocations: 3.938 kB / 480.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.1268, allocations: 87.91 kB / 480.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.1268, allocations: 4 kB / 480.5 MB, free: 4.438 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 ($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.0001328/0.1269, allocations: 150.2 kB / 480.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.127, allocations: 19.81 kB / 480.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.1284, allocations: 0.5066 MB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1284, allocations: 0.5625 kB / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1284, allocations: 0 / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1284, allocations: 0 / 481.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.1301, allocations: 0.8222 MB / 482 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1301, allocations: 8 kB / 482 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.1304, allocations: 95.91 kB / 482.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1304, allocations: 3.938 kB / 482.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.1305, allocations: 3.984 kB / 482.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1305, allocations: 0 / 482.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1305, allocations: 0 / 482.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1318, allocations: 0.5792 MB / 482.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1319, allocations: 100.9 kB / 482.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.1319, allocations: 4 kB / 482.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.1323, allocations: 87.91 kB / 482.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.1325, allocations: 51.91 kB / 482.9 MB, free: 1.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1325, allocations: 4 kB / 482.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1327, allocations: 188.6 kB / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1327, allocations: 0 / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.133, allocations: 44 kB / 483.2 MB, free: 1.684 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 (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.002281/0.1353, allocations: 1.418 MB / 484.6 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.1367, allocations: 0.5687 MB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1367, allocations: 4 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006821/0.1374, allocations: 243.5 kB / 485.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1377, allocations: 28.66 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.1415, allocations: 1.702 MB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1419, allocations: 0.7283 MB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.142, allocations: 33.39 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1422, allocations: 51.41 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.766e-06/0.1422, allocations: 4 kB / 487.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.1593, allocations: 4.879 MB / 492.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.1595, allocations: 229.4 kB / 493 MB, free: 7.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.165, allocations: 11.88 kB / 493.1 MB, free: 7.938 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/linux/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)