Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002374/0.002374, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 222.5 MB, free: 9.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001195/0.001194, allocations: 96.36 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.7394/0.7394, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004763, allocations: 12 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4767/0.6119, allocations: 88.7 MB / 0.5655 GB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.6122, allocations: 76.45 kB / 0.5655 GB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02016/0.6324, allocations: 4.267 MB / 0.5697 GB, free: 9.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6324, allocations: 0 / 0.5697 GB, free: 9.395 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.549e-05/0.6325, allocations: 12 kB / 0.5697 GB, free: 9.383 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008634/0.6334, allocations: 472.7 kB / 0.5702 GB, free: 8.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.6334, allocations: 12.03 kB / 0.5702 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.6335, allocations: 42.48 kB / 0.5702 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.6336, allocations: 19.25 kB / 0.5702 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.6341, allocations: 222.8 kB / 0.5704 GB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.6341, allocations: 12 kB / 0.5704 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.6341, allocations: 4 kB / 0.5705 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.6345, allocations: 112.2 kB / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6345, allocations: 0 / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.6346, allocations: 1.406 kB / 0.5706 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.6346, allocations: 5.031 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.6348, allocations: 55.97 kB / 0.5706 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000913/0.6358, allocations: 0.5243 MB / 0.5711 GB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.6363, allocations: 90.59 kB / 0.5712 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.6363, allocations: 0 / 0.5712 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002967/0.6366, allocations: 93.64 kB / 0.5713 GB, free: 7.555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.295e-06/0.6367, allocations: 0 / 0.5713 GB, free: 7.555 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006838/0.6374, allocations: 152.2 kB / 0.5715 GB, free: 7.402 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/0.6375, allocations: 51.41 kB / 0.5715 GB, free: 7.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003822/0.6379, allocations: 174.6 kB / 0.5717 GB, free: 7.156 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.6379, allocations: 29.7 kB / 0.5717 GB, free: 7.121 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.638, allocations: 186.3 kB / 0.5719 GB, free: 6.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.249e-05/0.6381, allocations: 27.64 kB / 0.5719 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.6381, allocations: 7.875 kB / 0.5719 GB, free: 6.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6383, allocations: 318.8 kB / 0.5722 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.6385, allocations: 27.98 kB / 0.5722 GB, free: 6.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.6387, allocations: 68.98 kB / 0.5723 GB, free: 6.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.6389, allocations: 35.98 kB / 0.5723 GB, free: 6.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.6389, allocations: 0 / 0.5723 GB, free: 6.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004704/0.6394, allocations: 138.2 kB / 0.5725 GB, free: 6.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6394, allocations: 8 kB / 0.5725 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6394, allocations: 0 / 0.5725 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.6395, allocations: 3.953 kB / 0.5725 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.6397, allocations: 27.92 kB / 0.5725 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.6397, allocations: 4 kB / 0.5725 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.6399, allocations: 8.469 kB / 0.5725 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.6399, allocations: 12.11 kB / 0.5725 GB, free: 6.234 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.000177/0.6401, allocations: 140.4 kB / 0.5727 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.6401, allocations: 11.81 kB / 0.5727 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.6407, allocations: 134.9 kB / 0.5728 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.6407, allocations: 7.953 kB / 0.5728 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6407, allocations: 0 / 0.5728 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6407, allocations: 7.984 kB / 0.5728 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.641, allocations: 217.6 kB / 0.573 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.641, allocations: 0 / 0.573 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.6412, allocations: 19.98 kB / 0.573 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.6412, allocations: 3.984 kB / 0.5731 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.6412, allocations: 4.875 kB / 0.5731 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.6412, allocations: 0 / 0.5731 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.6413, allocations: 3.953 kB / 0.5731 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.6419, allocations: 196.9 kB / 0.5732 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.642, allocations: 88.95 kB / 0.5733 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.6421, allocations: 4 kB / 0.5733 GB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6422, allocations: 11.98 kB / 0.5733 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.276e-05/0.6423, allocations: 11.98 kB / 0.5734 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.6423, allocations: 8.016 kB / 0.5734 GB, free: 5.277 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.6425, allocations: 145.2 kB / 0.5735 GB, free: 5.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6426, allocations: 3.938 kB / 0.5735 GB, free: 5.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003619/0.6429, allocations: 32.06 kB / 0.5735 GB, free: 5.102 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002233/0.6452, allocations: 1.044 MB / 0.5746 GB, free: 4.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.6458, allocations: 83.89 kB / 0.5746 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6458, allocations: 4 kB / 0.5746 GB, free: 4.047 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.646, allocations: 44.36 kB / 0.5747 GB, free: 4.004 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.6464, allocations: 36.28 kB / 0.5747 GB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.649, allocations: 1.478 MB / 0.5762 GB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.6494, allocations: 0.7278 MB / 0.5769 GB, free: 1.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.6496, allocations: 47.36 kB / 0.5769 GB, free: 1.637 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6496, allocations: 0 / 0.5769 GB, free: 1.637 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.772/3.422, allocations: 2.772 MB / 0.5796 GB, free: 14.87 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)