Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",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.001577/0.001577, allocations: 185.1 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.124/2.124, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001161/0.001161, allocations: 95.39 kB / 270.9 MB, free: 8.387 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.5821/0.5821, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006105/0.0006104, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1365, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.485/0.6215, allocations: 87.66 MB / 0.5644 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/0.622, allocations: 79.95 kB / 0.5645 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03353/0.6556, allocations: 5.18 MB / 0.5696 GB, free: 9.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.462e-06/0.6556, allocations: 0 / 0.5696 GB, free: 9.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.6557, allocations: 7.594 kB / 0.5696 GB, free: 9.676 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001015/0.6567, allocations: 422.2 kB / 0.57 GB, free: 9.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/0.6568, allocations: 8.031 kB / 0.57 GB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.552e-05/0.6569, allocations: 42.55 kB / 0.57 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.026e-05/0.657, allocations: 11.34 kB / 0.57 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.6575, allocations: 203.4 kB / 0.5702 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.6576, allocations: 0 / 0.5702 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.6576, allocations: 4 kB / 0.5702 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.6579, allocations: 57.61 kB / 0.5703 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.658, allocations: 4 kB / 0.5703 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.658, allocations: 3.938 kB / 0.5703 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.658, allocations: 1.031 kB / 0.5703 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.6582, allocations: 19.98 kB / 0.5703 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006882/0.6589, allocations: 288.9 kB / 0.5706 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.6593, allocations: 62.61 kB / 0.5707 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.6593, allocations: 4 kB / 0.5707 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.6596, allocations: 71.5 kB / 0.5707 GB, free: 8.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.466e-06/0.6597, allocations: 0 / 0.5707 GB, free: 8.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001291/0.661, allocations: 189.1 kB / 0.5709 GB, free: 8.145 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.6611, allocations: 51.41 kB / 0.571 GB, free: 8.082 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002431/0.6613, allocations: 146.1 kB / 0.5711 GB, free: 7.926 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.6613, allocations: 29.7 kB / 0.5711 GB, free: 7.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.6614, allocations: 162.5 kB / 0.5713 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.6615, allocations: 23.66 kB / 0.5713 GB, free: 7.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/0.6615, allocations: 4 kB / 0.5713 GB, free: 7.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6617, allocations: 318.8 kB / 0.5716 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.6618, allocations: 20 kB / 0.5716 GB, free: 7.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.6619, allocations: 37.64 kB / 0.5717 GB, free: 7.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.662, allocations: 27.98 kB / 0.5717 GB, free: 7.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.662, allocations: 0 / 0.5717 GB, free: 7.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000307/0.6624, allocations: 97.61 kB / 0.5718 GB, free: 7.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.6624, allocations: 4 kB / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.6624, allocations: 0 / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6624, allocations: 8.734 kB / 0.5718 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.6626, allocations: 12 kB / 0.5718 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6626, allocations: 4.656 kB / 0.5718 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.625e-05/0.6627, allocations: 4 kB / 0.5718 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6627, allocations: 8.031 kB / 0.5718 GB, free: 7.152 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001678/0.6629, allocations: 125.8 kB / 0.572 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.663, allocations: 15.81 kB / 0.572 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.6634, allocations: 122.6 kB / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.6635, allocations: 0 / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.6635, allocations: 4 kB / 0.5721 GB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6635, allocations: 3.953 kB / 0.5721 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.6645, allocations: 399.3 kB / 0.5725 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.6645, allocations: 0 / 0.5725 GB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.6647, allocations: 15.88 kB / 0.5725 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.6647, allocations: 3.984 kB / 0.5725 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.6647, allocations: 8 kB / 0.5725 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.6647, allocations: 3.953 kB / 0.5725 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.6648, allocations: 0 / 0.5725 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.6653, allocations: 222 kB / 0.5727 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6654, allocations: 96.91 kB / 0.5728 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.6655, allocations: 3.953 kB / 0.5728 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.6656, allocations: 4 kB / 0.5728 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.6657, allocations: 7.984 kB / 0.5728 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.6658, allocations: 8 kB / 0.5728 GB, free: 6.012 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.666, allocations: 124.6 kB / 0.5729 GB, free: 5.891 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.666, allocations: 0 / 0.5729 GB, free: 5.891 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006313/0.6666, allocations: 35.92 kB / 0.573 GB, free: 5.855 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 7 * 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.002895/0.6696, allocations: 1.19 MB / 0.5741 GB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.6701, allocations: 63.91 kB / 0.5742 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6701, allocations: 0 / 0.5742 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.6703, allocations: 36.05 kB / 0.5742 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.6708, allocations: 32.78 kB / 0.5743 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.6732, allocations: 0.8334 MB / 0.5751 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.6737, allocations: 0.7005 MB / 0.5758 GB, free: 3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.6739, allocations: 35.36 kB / 0.5758 GB, free: 2.965 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6739, allocations: 0 / 0.5758 GB, free: 2.965 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/3.435, allocations: 2.326 MB / 0.5781 GB, free: 0.6406 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat