Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2",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.002358/0.002358, allocations: 185.3 kB / 16.4 MB, free: 5.746 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.017/2.017, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001807/0.001806, allocations: 97.67 kB / 270.9 MB, free: 8.367 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.544/0.544, allocations: 43.55 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.0004697, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.6377, allocations: 87.67 MB / 0.5645 GB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.638, allocations: 67.97 kB / 0.5645 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.6632, allocations: 5.203 MB / 0.5696 GB, free: 9.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6633, allocations: 0.5469 kB / 0.5696 GB, free: 9.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.6633, allocations: 3.656 kB / 0.5696 GB, free: 9.652 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.0007003/0.664, allocations: 418.4 kB / 0.57 GB, free: 9.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6641, allocations: 8.031 kB / 0.57 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.6642, allocations: 42.55 kB / 0.57 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.6642, allocations: 11.34 kB / 0.5701 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.6646, allocations: 207.4 kB / 0.5703 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6647, allocations: 4 kB / 0.5703 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.6647, allocations: 4 kB / 0.5703 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.6649, allocations: 53.67 kB / 0.5703 GB, free: 8.824 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6649, allocations: 4 kB / 0.5703 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.6649, allocations: 0 / 0.5703 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.665, allocations: 4.969 kB / 0.5703 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.6651, allocations: 19.98 kB / 0.5703 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.6656, allocations: 288.9 kB / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.6659, allocations: 58.62 kB / 0.5707 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.666, allocations: 4 kB / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.6662, allocations: 71.5 kB / 0.5707 GB, free: 8.312 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.715e-06/0.6662, allocations: 0 / 0.5707 GB, free: 8.312 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008737/0.6671, allocations: 189.1 kB / 0.5709 GB, free: 8.121 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.6672, allocations: 51.41 kB / 0.571 GB, free: 8.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.6674, allocations: 146.1 kB / 0.5711 GB, free: 7.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.6675, allocations: 33.69 kB / 0.5711 GB, free: 7.863 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.6676, allocations: 158.6 kB / 0.5713 GB, free: 7.707 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.6676, allocations: 23.66 kB / 0.5713 GB, free: 7.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.6676, allocations: 0 / 0.5713 GB, free: 7.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6678, allocations: 322.8 kB / 0.5716 GB, free: 7.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.897e-05/0.6679, allocations: 19.94 kB / 0.5716 GB, free: 7.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.668, allocations: 33.7 kB / 0.5717 GB, free: 7.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.6681, allocations: 31.98 kB / 0.5717 GB, free: 7.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6682, allocations: 0 / 0.5717 GB, free: 7.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003032/0.6685, allocations: 89.62 kB / 0.5718 GB, free: 7.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.6685, allocations: 4 kB / 0.5718 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6685, allocations: 3.984 kB / 0.5718 GB, free: 7.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.6686, allocations: 4.75 kB / 0.5718 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.6687, allocations: 16 kB / 0.5718 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6687, allocations: 3.953 kB / 0.5718 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.6688, allocations: 4 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.6689, allocations: 12.02 kB / 0.5718 GB, free: 7.129 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.0001433/0.669, allocations: 121.8 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.6691, allocations: 19.75 kB / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003994/0.6695, allocations: 114.5 kB / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.6695, allocations: 0 / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6695, allocations: 4 kB / 0.5721 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6695, allocations: 7.891 kB / 0.5721 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007304/0.6703, allocations: 403.5 kB / 0.5725 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.892e-06/0.6703, allocations: 0 / 0.5725 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.078e-05/0.6704, allocations: 15.92 kB / 0.5725 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.6704, allocations: 3.938 kB / 0.5725 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.6704, allocations: 4 kB / 0.5725 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.6705, allocations: 3.953 kB / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6705, allocations: 0 / 0.5725 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.6709, allocations: 222 kB / 0.5727 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.671, allocations: 92.91 kB / 0.5728 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.671, allocations: 7.953 kB / 0.5728 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.6711, allocations: 4 kB / 0.5728 GB, free: 6.008 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.6712, allocations: 11.97 kB / 0.5728 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.6712, allocations: 4 kB / 0.5728 GB, free: 5.992 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.6714, allocations: 128.6 kB / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6714, allocations: 0 / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.6718, allocations: 35.92 kB / 0.573 GB, free: 5.832 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.002003/0.6738, allocations: 1.193 MB / 0.5742 GB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004043/0.6743, allocations: 67.89 kB / 0.5742 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6743, allocations: 0 / 0.5742 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.6744, allocations: 39.98 kB / 0.5743 GB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.6748, allocations: 21.41 kB / 0.5743 GB, free: 4.586 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.6766, allocations: 0.8296 MB / 0.5751 GB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.677, allocations: 0.7043 MB / 0.5758 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.6771, allocations: 31.53 kB / 0.5758 GB, free: 2.941 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6771, allocations: 7.938 kB / 0.5758 GB, free: 2.934 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.644/3.321, allocations: 2.33 MB / 0.5781 GB, free: 0.6094 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat