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.00127/0.00127, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.638/1.638, allocations: 221.4 MB / 236 MB, free: 2.949 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.0009526/0.0009524, allocations: 83.69 kB / 287 MB, free: 268 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2774/0.2774, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.603e-05, allocations: 7.938 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4594/0.6035, allocations: 89.98 MB / 0.5897 GB, free: 15.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/0.6038, allocations: 75.95 kB / 0.5897 GB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01722/0.6211, allocations: 6.179 MB / 0.5958 GB, free: 9.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6211, allocations: 4 kB / 0.5958 GB, free: 9.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.6211, allocations: 8 kB / 0.5958 GB, free: 9.016 MB / 410.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.0009665/0.6221, allocations: 0.5521 MB / 0.5963 GB, free: 8.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.6222, allocations: 12.03 kB / 0.5963 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.6222, allocations: 38.44 kB / 0.5964 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.6223, allocations: 15.81 kB / 0.5964 GB, free: 8.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.6227, allocations: 246.6 kB / 0.5966 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.6227, allocations: 4 kB / 0.5966 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.6227, allocations: 4 kB / 0.5966 GB, free: 8.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.623, allocations: 93.64 kB / 0.5967 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.623, allocations: 0 / 0.5967 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.623, allocations: 0 / 0.5967 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.623, allocations: 3.984 kB / 0.5967 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.6232, allocations: 59.92 kB / 0.5968 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.6241, allocations: 464.5 kB / 0.5972 GB, free: 7.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.6243, allocations: 86.67 kB / 0.5973 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.6244, allocations: 44.8 kB / 0.5974 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.6245, allocations: 0 / 0.5974 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.6247, allocations: 107.3 kB / 0.5975 GB, free: 7.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.6247, allocations: 0 / 0.5975 GB, free: 7.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001791/0.6265, allocations: 0.5278 MB / 0.598 GB, free: 6.586 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.6266, allocations: 59.36 kB / 0.598 GB, free: 6.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.6268, allocations: 219.2 kB / 0.5982 GB, free: 6.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.6268, allocations: 29.7 kB / 0.5983 GB, free: 6.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.6269, allocations: 120.1 kB / 0.5984 GB, free: 6.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.627, allocations: 39.61 kB / 0.5984 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.627, allocations: 4.281 kB / 0.5984 GB, free: 6.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.6271, allocations: 334.8 kB / 0.5987 GB, free: 5.762 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.6273, allocations: 59.98 kB / 0.5988 GB, free: 5.703 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.6274, allocations: 63.94 kB / 0.5989 GB, free: 5.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.6275, allocations: 104.8 kB / 0.599 GB, free: 5.527 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.6275, allocations: 0 / 0.599 GB, free: 5.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003843/0.6279, allocations: 238.3 kB / 0.5992 GB, free: 5.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.913e-05/0.628, allocations: 67.39 kB / 0.5993 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.628, allocations: 0 / 0.5993 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.628, allocations: 4 kB / 0.5993 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.6285, allocations: 95.84 kB / 0.5993 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.6285, allocations: 0 / 0.5993 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.629, allocations: 91.86 kB / 0.5994 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.629, allocations: 4 kB / 0.5994 GB, free: 5.008 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 9.768e-05/0.6291, allocations: 113 kB / 0.5995 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.6291, allocations: 23.72 kB / 0.5996 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.6295, allocations: 195.2 kB / 0.5998 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6295, allocations: 0 / 0.5998 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6295, allocations: 0 / 0.5998 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.6296, allocations: 0 / 0.5998 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.6302, allocations: 0.5192 MB / 0.6003 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6302, allocations: 0 / 0.6003 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.6306, allocations: 95.91 kB / 0.6004 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.6307, allocations: 3.938 kB / 0.6004 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.6307, allocations: 3.984 kB / 0.6004 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6307, allocations: 4 kB / 0.6004 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.6307, allocations: 7.953 kB / 0.6004 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.631, allocations: 259.3 kB / 0.6006 GB, free: 3.711 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.6311, allocations: 100.9 kB / 0.6007 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6312, allocations: 0 / 0.6007 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004417/0.6316, allocations: 87.91 kB / 0.6008 GB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.6318, allocations: 55.86 kB / 0.6009 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.6318, allocations: 11.98 kB / 0.6009 GB, free: 3.441 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.632, allocations: 175.6 kB / 0.601 GB, free: 3.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.632, allocations: 0 / 0.601 GB, free: 3.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.6323, allocations: 63.83 kB / 0.6011 GB, free: 3.207 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.001491/0.6338, allocations: 1.07 MB / 0.6021 GB, free: 2.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004286/0.6342, allocations: 254.7 kB / 0.6024 GB, free: 1.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6342, allocations: 0 / 0.6024 GB, free: 1.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.6344, allocations: 79.92 kB / 0.6025 GB, free: 1.867 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.6347, allocations: 32.58 kB / 0.6025 GB, free: 1.832 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.6355, allocations: 320.2 kB / 0.6028 GB, free: 1.484 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.6358, allocations: 0.736 MB / 0.6035 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000138/0.636, allocations: 37.17 kB / 0.6035 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.6361, allocations: 55.41 kB / 0.6036 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6361, allocations: 3.938 kB / 0.6036 GB, free: 0.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.6532, allocations: 4.902 MB / 0.6084 GB, free: 11.81 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.6534, allocations: 186.9 kB / 0.6086 GB, free: 11.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.537, allocations: 4 kB / 0.6086 GB, free: 11.58 MB / 426.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)