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.0009533/0.0009533, allocations: 170.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 86.02 kB / 281.6 MB, free: 5.27 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.237/0.237, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.709e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.6047, allocations: 88.88 MB / 0.5816 GB, free: 7.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.605, allocations: 75.95 kB / 0.5816 GB, free: 7.371 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01668/0.6217, allocations: 6.041 MB / 0.5875 GB, free: 1.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.6217, allocations: 0 / 0.5875 GB, free: 1.328 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.6218, allocations: 3.828 kB / 0.5875 GB, free: 1.328 MB / 394.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.0009609/0.6227, allocations: 0.556 MB / 0.5881 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.6228, allocations: 11.98 kB / 0.5881 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.6229, allocations: 15.81 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.6232, allocations: 230.7 kB / 0.5883 GB, free: 432 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.6232, allocations: 4 kB / 0.5883 GB, free: 428 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.6232, allocations: 11.97 kB / 0.5883 GB, free: 416 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/0.6234, allocations: 48 kB / 0.5884 GB, free: 368 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.6235, allocations: 85.53 kB / 0.5885 GB, free: 276 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.6235, allocations: 4 kB / 0.5885 GB, free: 272 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.6236, allocations: 0 / 0.5885 GB, free: 272 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.6236, allocations: 0 / 0.5885 GB, free: 272 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.6244, allocations: 433.1 kB / 0.5889 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.6246, allocations: 78.58 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.319e-05/0.6246, allocations: 32.86 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.6247, allocations: 3.984 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.6249, allocations: 104 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.6249, allocations: 0 / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001745/0.6266, allocations: 0.4966 MB / 0.5896 GB, free: 15.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.6267, allocations: 55.41 kB / 0.5896 GB, free: 15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.6269, allocations: 206.1 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.6269, allocations: 25.7 kB / 0.5899 GB, free: 14.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.627, allocations: 124.1 kB / 0.59 GB, free: 14.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.6271, allocations: 39.47 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.6271, allocations: 0 / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6272, allocations: 334.8 kB / 0.5903 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.6274, allocations: 52 kB / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.6275, allocations: 57.19 kB / 0.5904 GB, free: 14.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.434e-05/0.6275, allocations: 31.98 kB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.6275, allocations: 0 / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002984/0.6279, allocations: 170.9 kB / 0.5906 GB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.6279, allocations: 63.34 kB / 0.5907 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6279, allocations: 0 / 0.5907 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.628, allocations: 4 kB / 0.5907 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.6284, allocations: 95.91 kB / 0.5908 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.6284, allocations: 0 / 0.5908 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.6289, allocations: 87.89 kB / 0.5909 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.6289, allocations: 8 kB / 0.5909 GB, free: 13.68 MB / 410.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 () * 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 8.828e-05/0.629, allocations: 116.8 kB / 0.591 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002376/0.6292, allocations: 149.5 kB / 0.5911 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.863e-05/0.6293, allocations: 15.81 kB / 0.5911 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000329/0.6296, allocations: 182.2 kB / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.6296, allocations: 0 / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6296, allocations: 0 / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.6297, allocations: 3.953 kB / 0.5913 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.6302, allocations: 467.1 kB / 0.5918 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6302, allocations: 0 / 0.5918 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.6306, allocations: 95.84 kB / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.6306, allocations: 4 kB / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.6307, allocations: 3.984 kB / 0.5919 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6307, allocations: 4 kB / 0.5919 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6307, allocations: 3.953 kB / 0.5919 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.631, allocations: 243.3 kB / 0.5921 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.6311, allocations: 96.91 kB / 0.5922 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.6311, allocations: 4 kB / 0.5922 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.6316, allocations: 83.91 kB / 0.5923 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.6317, allocations: 56.19 kB / 0.5923 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.6318, allocations: 15.94 kB / 0.5923 GB, free: 12.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001535/0.6319, allocations: 164.6 kB / 0.5925 GB, free: 11.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6319, allocations: 3.938 kB / 0.5925 GB, free: 11.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.6323, allocations: 51.92 kB / 0.5926 GB, free: 11.86 MB / 410.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) * 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.001271/0.6335, allocations: 1.025 MB / 0.5936 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.6339, allocations: 246.7 kB / 0.5938 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.634, allocations: 3.938 kB / 0.5938 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.6341, allocations: 64 kB / 0.5939 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.6344, allocations: 27.91 kB / 0.5939 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.6351, allocations: 290.7 kB / 0.5942 GB, free: 10.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.6355, allocations: 0.7357 MB / 0.5949 GB, free: 9.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.6356, allocations: 21.2 kB / 0.5949 GB, free: 9.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.6357, allocations: 51.41 kB / 0.595 GB, free: 9.371 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6357, allocations: 0 / 0.595 GB, free: 9.371 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.6587, allocations: 4.342 MB / 0.5992 GB, free: 5.039 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.659, allocations: 167.6 kB / 0.5994 GB, free: 4.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.547, allocations: 3.938 kB / 0.5994 GB, free: 4.84 MB / 410.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)