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.001437/0.001437, allocations: 170.4 kB / 8.74 MB, free: 348 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.475/1.475, allocations: 221.5 MB / 230.7 MB, free: 7.59 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.0009488/0.0009488, allocations: 93.23 kB / 281.6 MB, free: 5.336 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.1946/0.1946, allocations: 44.15 MB / 376.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.302e-05, allocations: 8.156 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 61.92 MB / 0.4948 GB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.6095, allocations: 89.33 MB / 0.582 GB, free: 7.051 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.6098, allocations: 67.97 kB / 0.5821 GB, free: 6.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.6269, allocations: 6.143 MB / 0.5881 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.627, allocations: 0 / 0.5881 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.627, allocations: 4 kB / 0.5881 GB, free: 0.8398 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.000924/0.6279, allocations: 0.5443 MB / 0.5886 GB, free: 244 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.261e-05/0.628, allocations: 20.53 kB / 0.5886 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.221e-05/0.6281, allocations: 19.81 kB / 0.5886 GB, free: 204 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.6284, allocations: 246.5 kB / 0.5889 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.6284, allocations: 4 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.6285, allocations: 4 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001472/0.6286, allocations: 55.98 kB / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.6288, allocations: 89.56 kB / 0.589 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.6288, allocations: 0 / 0.589 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.6288, allocations: 0 / 0.589 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.6288, allocations: 0 / 0.589 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.6296, allocations: 445 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.6298, allocations: 74.58 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.123e-05/0.6299, allocations: 40.84 kB / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.6299, allocations: 0 / 0.5896 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/0.6302, allocations: 103.3 kB / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.597e-06/0.6302, allocations: 4 kB / 0.5897 GB, free: 15.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.00178/0.632, allocations: 0.5105 MB / 0.5902 GB, free: 14.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.632, allocations: 55.41 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.6323, allocations: 214.2 kB / 0.5904 GB, free: 14.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.6323, allocations: 33.64 kB / 0.5904 GB, free: 14.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.526e-05/0.6324, allocations: 124.1 kB / 0.5906 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.6324, allocations: 35.45 kB / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.6325, allocations: 0 / 0.5906 GB, free: 14.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6326, allocations: 334.8 kB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.6327, allocations: 56 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.6328, allocations: 61.39 kB / 0.591 GB, free: 13.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.267e-05/0.6329, allocations: 43.98 kB / 0.5911 GB, free: 13.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6329, allocations: 0 / 0.5911 GB, free: 13.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000307/0.6333, allocations: 178.6 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.6333, allocations: 63.39 kB / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.6333, allocations: 0 / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6333, allocations: 0 / 0.5913 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.6338, allocations: 99.84 kB / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.6338, allocations: 0 / 0.5914 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004128/0.6342, allocations: 83.91 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.6342, allocations: 8 kB / 0.5915 GB, free: 13.12 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 0.0001011/0.6343, allocations: 114.5 kB / 0.5916 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002636/0.6346, allocations: 169.3 kB / 0.5918 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.6347, allocations: 15.81 kB / 0.5918 GB, free: 12.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.635, allocations: 187.5 kB / 0.5919 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.635, allocations: 0 / 0.5919 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.635, allocations: 4 kB / 0.5919 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.635, allocations: 7.953 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.6356, allocations: 489.3 kB / 0.5924 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6356, allocations: 0 / 0.5924 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.636, allocations: 95.91 kB / 0.5925 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.636, allocations: 3.984 kB / 0.5925 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.636, allocations: 8 kB / 0.5925 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.6361, allocations: 0 / 0.5925 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6361, allocations: 7.891 kB / 0.5925 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.6364, allocations: 251.2 kB / 0.5928 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.6364, allocations: 100.9 kB / 0.5929 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.6365, allocations: 0 / 0.5929 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.6369, allocations: 87.91 kB / 0.593 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.6371, allocations: 59.84 kB / 0.593 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.6371, allocations: 11.94 kB / 0.593 GB, free: 11.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.6373, allocations: 164.7 kB / 0.5932 GB, free: 11.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6373, allocations: 0 / 0.5932 GB, free: 11.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.6376, allocations: 51.94 kB / 0.5932 GB, free: 11.23 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.001135/0.6387, allocations: 1.04 MB / 0.5942 GB, free: 10.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.639, allocations: 246.8 kB / 0.5945 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6391, allocations: 0 / 0.5945 GB, free: 9.973 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.6392, allocations: 75.92 kB / 0.5946 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.6395, allocations: 28.66 kB / 0.5946 GB, free: 9.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.6403, allocations: 310.8 kB / 0.5949 GB, free: 9.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.6406, allocations: 0.7318 MB / 0.5956 GB, free: 8.773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002082/0.6408, allocations: 33.17 kB / 0.5956 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.641, allocations: 47.42 kB / 0.5957 GB, free: 8.695 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.641, allocations: 4 kB / 0.5957 GB, free: 8.691 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/0.7141, allocations: 4.43 MB / 0.6 GB, free: 4.273 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/0.7145, allocations: 163.6 kB / 0.6002 GB, free: 4.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.426, allocations: 0 / 0.6002 GB, free: 4.082 MB / 410.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)