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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 177.7 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008715/0.0008716, allocations: 98.23 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3209/0.3209, allocations: 44.22 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.000314, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3422, allocations: 61.9 MB / 0.5096 GB, free: 37.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.4683, allocations: 90.07 MB / 0.5976 GB, free: 4.941 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4686, allocations: 79.89 kB / 0.5977 GB, free: 4.871 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01831/0.487, allocations: 6.191 MB / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.487, allocations: 0 / 0.6037 GB, free: 14.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.184e-05/0.487, allocations: 8 kB / 0.6037 GB, free: 14.65 MB / 426.7 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.001375/0.4884, allocations: 0.5799 MB / 0.6043 GB, free: 14.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.4885, allocations: 12.03 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.4886, allocations: 34.56 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.273e-05/0.4887, allocations: 23.7 kB / 0.6044 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.4891, allocations: 242.3 kB / 0.6046 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4891, allocations: 8 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.4891, allocations: 11.91 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.4898, allocations: 165.5 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4898, allocations: 0 / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.4898, allocations: 0 / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4899, allocations: 3.938 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.4908, allocations: 219.8 kB / 0.605 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.492, allocations: 464.5 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.4931, allocations: 246.4 kB / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.4931, allocations: 4 kB / 0.6057 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.4938, allocations: 191.2 kB / 0.6058 GB, free: 12.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.4938, allocations: 4 kB / 0.6058 GB, free: 12.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.005126/0.499, allocations: 1.101 MB / 0.6069 GB, free: 11.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.4991, allocations: 63.36 kB / 0.607 GB, free: 11.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.4994, allocations: 218.3 kB / 0.6072 GB, free: 10.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.4995, allocations: 33.69 kB / 0.6072 GB, free: 10.85 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4996, allocations: 124 kB / 0.6073 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.4997, allocations: 39.69 kB / 0.6074 GB, free: 10.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/0.4997, allocations: 4 kB / 0.6074 GB, free: 10.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4999, allocations: 326.8 kB / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/0.5009, allocations: 231.7 kB / 0.6079 GB, free: 10.13 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009235/0.5018, allocations: 219.8 kB / 0.6081 GB, free: 9.914 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009583/0.5028, allocations: 264.4 kB / 0.6084 GB, free: 9.645 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5028, allocations: 0 / 0.6084 GB, free: 9.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002054/0.5048, allocations: 0.553 MB / 0.6089 GB, free: 9.074 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.792e-05/0.5049, allocations: 68.95 kB / 0.609 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.505, allocations: 0 / 0.609 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.505, allocations: 0 / 0.609 GB, free: 8.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.5056, allocations: 95.91 kB / 0.6091 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.5056, allocations: 3.938 kB / 0.6091 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.5062, allocations: 92.42 kB / 0.6092 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.5062, allocations: 4.109 kB / 0.6092 GB, free: 8.805 MB / 426.7 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.0002196/0.5065, allocations: 143.4 kB / 0.6093 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.5065, allocations: 15.81 kB / 0.6093 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.5087, allocations: 0.5121 MB / 0.6098 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5087, allocations: 7.938 kB / 0.6098 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.5087, allocations: 3.938 kB / 0.6098 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5087, allocations: 0 / 0.6098 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.5112, allocations: 0.8261 MB / 0.6106 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5112, allocations: 0 / 0.6106 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/0.5118, allocations: 95.91 kB / 0.6107 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5118, allocations: 0 / 0.6107 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.035e-05/0.5118, allocations: 7.984 kB / 0.6107 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.5119, allocations: 3.938 kB / 0.6107 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.5119, allocations: 3.953 kB / 0.6107 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.5135, allocations: 0.5782 MB / 0.6113 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.5137, allocations: 96.91 kB / 0.6114 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.5137, allocations: 8 kB / 0.6114 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.5142, allocations: 87.91 kB / 0.6115 GB, free: 6.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.5143, allocations: 55.91 kB / 0.6116 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.5144, allocations: 7.953 kB / 0.6116 GB, free: 6.258 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002063/0.5146, allocations: 180.6 kB / 0.6117 GB, free: 6.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5146, allocations: 0 / 0.6117 GB, free: 6.082 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.5149, allocations: 56 kB / 0.6118 GB, free: 6.027 MB / 426.7 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.003478/0.5184, allocations: 1.419 MB / 0.6132 GB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.5206, allocations: 0.5648 MB / 0.6137 GB, free: 4.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.5207, allocations: 96 / 0.6137 GB, free: 4.156 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.5217, allocations: 235.8 kB / 0.6139 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.5222, allocations: 36.64 kB / 0.614 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005586/0.5278, allocations: 1.723 MB / 0.6157 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.5282, allocations: 0.7321 MB / 0.6164 GB, free: 1.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.5285, allocations: 33.41 kB / 0.6164 GB, free: 1.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.5287, allocations: 59.34 kB / 0.6165 GB, free: 1.262 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5287, allocations: 0 / 0.6165 GB, free: 1.262 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.5523, allocations: 4.91 MB / 0.6213 GB, free: 12.48 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.5525, allocations: 212.4 kB / 0.6215 GB, free: 12.24 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.309, allocations: 0 / 0.6215 GB, free: 12.24 MB / 442.7 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)