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.001558/0.001558, allocations: 179.9 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.85/1.85, allocations: 221.3 MB / 236 MB, free: 2.906 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.0008531/0.0008529, allocations: 99.48 kB / 287 MB, free: 188 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.2252/0.2252, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.363e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1483, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5351/0.6835, allocations: 89.53 MB / 0.5892 GB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.6839, allocations: 79.36 kB / 0.5893 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01764/0.7015, allocations: 6.082 MB / 0.5952 GB, free: 9.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.628e-06/0.7016, allocations: 0 / 0.5952 GB, free: 9.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.7016, allocations: 7.828 kB / 0.5953 GB, free: 9.551 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.00106/0.7027, allocations: 0.5638 MB / 0.5958 GB, free: 8.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.7028, allocations: 12.03 kB / 0.5958 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.599e-05/0.7028, allocations: 34.56 kB / 0.5958 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.563e-05/0.7029, allocations: 15.81 kB / 0.5959 GB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.7032, allocations: 238.6 kB / 0.5961 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.7033, allocations: 7.938 kB / 0.5961 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.7033, allocations: 4 kB / 0.5961 GB, free: 8.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.7035, allocations: 85.59 kB / 0.5962 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.7035, allocations: 4 kB / 0.5962 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.7036, allocations: 0 / 0.5962 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.7036, allocations: 3.984 kB / 0.5962 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.7037, allocations: 52 kB / 0.5962 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009169/0.7046, allocations: 452.5 kB / 0.5967 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.7048, allocations: 82.52 kB / 0.5968 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.986e-05/0.7049, allocations: 36.86 kB / 0.5968 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.705, allocations: 0 / 0.5968 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.7052, allocations: 107.3 kB / 0.5969 GB, free: 7.688 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.407e-06/0.7052, allocations: 3.984 kB / 0.5969 GB, free: 7.684 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001842/0.7071, allocations: 0.5122 MB / 0.5974 GB, free: 7.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.7071, allocations: 55.36 kB / 0.5974 GB, free: 7.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.7074, allocations: 222.3 kB / 0.5977 GB, free: 6.875 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.7075, allocations: 29.7 kB / 0.5977 GB, free: 6.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.7075, allocations: 116.3 kB / 0.5978 GB, free: 6.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.7076, allocations: 51.38 kB / 0.5978 GB, free: 6.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.7076, allocations: 4.109 kB / 0.5979 GB, free: 6.668 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7078, allocations: 330.8 kB / 0.5982 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.7079, allocations: 56 kB / 0.5982 GB, free: 6.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.7081, allocations: 57.23 kB / 0.5983 GB, free: 6.227 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.7082, allocations: 96.48 kB / 0.5984 GB, free: 6.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.7082, allocations: 0 / 0.5984 GB, free: 6.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003866/0.7086, allocations: 228.7 kB / 0.5986 GB, free: 5.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/0.7087, allocations: 68.95 kB / 0.5986 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7087, allocations: 0 / 0.5986 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.7087, allocations: 0 / 0.5986 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/0.7092, allocations: 95.91 kB / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.7092, allocations: 0 / 0.5987 GB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.7096, allocations: 91.86 kB / 0.5988 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.7097, allocations: 8 kB / 0.5988 GB, free: 5.609 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.000106/0.7098, allocations: 112.9 kB / 0.5989 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.7098, allocations: 19.8 kB / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.7102, allocations: 171.3 kB / 0.5991 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.7102, allocations: 0 / 0.5991 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.7102, allocations: 4 kB / 0.5991 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.7103, allocations: 3.984 kB / 0.5991 GB, free: 5.289 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007272/0.711, allocations: 0.4996 MB / 0.5996 GB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.711, allocations: 4 kB / 0.5996 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.7114, allocations: 95.89 kB / 0.5997 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7114, allocations: 0 / 0.5997 GB, free: 4.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.7115, allocations: 4 kB / 0.5997 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7115, allocations: 0 / 0.5997 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7115, allocations: 7.953 kB / 0.5997 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.7118, allocations: 258.3 kB / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/0.7119, allocations: 100.9 kB / 0.6001 GB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.712, allocations: 4 kB / 0.6001 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.7124, allocations: 87.89 kB / 0.6002 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.7126, allocations: 59.86 kB / 0.6002 GB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.7126, allocations: 4 kB / 0.6002 GB, free: 4.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002009/0.7128, allocations: 172.6 kB / 0.6004 GB, free: 3.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.665e-06/0.7128, allocations: 4 kB / 0.6004 GB, free: 3.918 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003032/0.7131, allocations: 59.86 kB / 0.6004 GB, free: 3.859 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.001529/0.7147, allocations: 1.051 MB / 0.6015 GB, free: 2.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004551/0.7151, allocations: 238.8 kB / 0.6017 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7152, allocations: 7.938 kB / 0.6017 GB, free: 2.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.7153, allocations: 79.98 kB / 0.6018 GB, free: 2.543 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.7157, allocations: 26 kB / 0.6018 GB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.7164, allocations: 311.8 kB / 0.6021 GB, free: 2.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.7169, allocations: 0.732 MB / 0.6028 GB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00013/0.717, allocations: 21.19 kB / 0.6028 GB, free: 1.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.7172, allocations: 51.42 kB / 0.6029 GB, free: 1.348 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7172, allocations: 3.938 kB / 0.6029 GB, free: 1.344 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.7402, allocations: 4.831 MB / 0.6076 GB, free: 12.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.7405, allocations: 178.9 kB / 0.6078 GB, free: 12.38 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/2.538, allocations: 4 kB / 0.6078 GB, free: 12.38 MB / 426.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)