Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.00118/0.00118, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.286/1.286, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008457/0.0008458, allocations: 100.6 kB / 292.1 MB, free: 10.92 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.3237/0.3237, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003287, allocations: 8 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3592, allocations: 61.91 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.4789, allocations: 89.61 MB / 0.5971 GB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.4792, allocations: 87.91 kB / 0.5972 GB, free: 5.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.4958, allocations: 6.085 MB / 0.6032 GB, free: 15.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.048e-06/0.4958, allocations: 0 / 0.6032 GB, free: 15.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.516e-05/0.4959, allocations: 4 kB / 0.6032 GB, free: 15.31 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.001119/0.497, allocations: 0.5955 MB / 0.6038 GB, free: 14.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.4971, allocations: 12.03 kB / 0.6038 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.133e-05/0.4971, allocations: 38.48 kB / 0.6038 GB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.4972, allocations: 15.81 kB / 0.6038 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.4975, allocations: 242.4 kB / 0.6041 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.4975, allocations: 8 kB / 0.6041 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.4976, allocations: 4 kB / 0.6041 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.4981, allocations: 169.5 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4981, allocations: 4 kB / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.4982, allocations: 0 / 0.6042 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.4982, allocations: 7.938 kB / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007369/0.4989, allocations: 207.8 kB / 0.6044 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.4999, allocations: 456.5 kB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.5006, allocations: 238.4 kB / 0.6051 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.5007, allocations: 4 kB / 0.6051 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.5012, allocations: 191.1 kB / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.184e-06/0.5012, allocations: 0 / 0.6053 GB, free: 12.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.003852/0.5051, allocations: 1.094 MB / 0.6064 GB, free: 11.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.5052, allocations: 63.34 kB / 0.6064 GB, free: 11.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.5054, allocations: 222 kB / 0.6066 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.5055, allocations: 33.64 kB / 0.6067 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.5055, allocations: 124.1 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.5056, allocations: 35.45 kB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.519e-05/0.5056, allocations: 4 kB / 0.6068 GB, free: 11.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.5057, allocations: 330.8 kB / 0.6071 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.5064, allocations: 215.8 kB / 0.6073 GB, free: 10.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006945/0.5072, allocations: 215.8 kB / 0.6075 GB, free: 10.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.5078, allocations: 258.1 kB / 0.6078 GB, free: 10.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5078, allocations: 4 kB / 0.6078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001492/0.5093, allocations: 0.5395 MB / 0.6083 GB, free: 9.793 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.5094, allocations: 59.41 kB / 0.6084 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5094, allocations: 0 / 0.6084 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.5094, allocations: 0 / 0.6084 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.5099, allocations: 103.8 kB / 0.6085 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5099, allocations: 4 kB / 0.6085 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.5103, allocations: 91.86 kB / 0.6086 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.5104, allocations: 8 kB / 0.6086 GB, free: 9.52 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.0001349/0.5105, allocations: 131.5 kB / 0.6087 GB, free: 9.383 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.5105, allocations: 19.81 kB / 0.6087 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.512, allocations: 0.4926 MB / 0.6092 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.5121, allocations: 0 / 0.6092 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5121, allocations: 4 kB / 0.6092 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5121, allocations: 0 / 0.6092 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.5138, allocations: 0.8183 MB / 0.61 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5139, allocations: 3.938 kB / 0.61 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.5142, allocations: 91.91 kB / 0.6101 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.5143, allocations: 0 / 0.6101 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.5143, allocations: 4 kB / 0.6101 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5143, allocations: 4 kB / 0.6101 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.5143, allocations: 3.953 kB / 0.6101 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.5158, allocations: 0.5702 MB / 0.6107 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.5159, allocations: 96.92 kB / 0.6108 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.781e-05/0.5159, allocations: 3.984 kB / 0.6108 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.5164, allocations: 87.91 kB / 0.6108 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.5165, allocations: 55.91 kB / 0.6109 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.5166, allocations: 11.89 kB / 0.6109 GB, free: 7.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.5167, allocations: 176.7 kB / 0.6111 GB, free: 6.855 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5167, allocations: 0 / 0.6111 GB, free: 6.855 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003144/0.517, allocations: 51.98 kB / 0.6111 GB, free: 6.805 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.002535/0.5196, allocations: 1.409 MB / 0.6125 GB, free: 5.535 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.5212, allocations: 0.557 MB / 0.613 GB, free: 4.953 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5212, allocations: 96 / 0.613 GB, free: 4.953 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.5219, allocations: 235.7 kB / 0.6133 GB, free: 4.723 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.5223, allocations: 23.98 kB / 0.6133 GB, free: 4.699 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/0.5262, allocations: 1.661 MB / 0.6149 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.5266, allocations: 0.7321 MB / 0.6156 GB, free: 2.215 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.5268, allocations: 25.41 kB / 0.6157 GB, free: 2.188 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.5269, allocations: 51.42 kB / 0.6157 GB, free: 2.137 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5269, allocations: 0 / 0.6157 GB, free: 2.137 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.5446, allocations: 4.83 MB / 0.6204 GB, free: 13.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.5448, allocations: 212 kB / 0.6206 GB, free: 13.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/2.297, allocations: 4 kB / 0.6206 GB, free: 13.2 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)