Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",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.001634/0.001639, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.227/2.227, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001145/0.001145, allocations: 91.56 kB / 270.9 MB, free: 8.375 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.5889/0.5889, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 20 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5658/0.7457, allocations: 87.71 MB / 0.5645 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/0.7461, allocations: 79.95 kB / 0.5646 GB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0315/0.7776, allocations: 5.384 MB / 0.5698 GB, free: 9.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.7777, allocations: 0 / 0.5698 GB, free: 9.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.7777, allocations: 4 kB / 0.5698 GB, free: 9.426 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.0009354/0.7787, allocations: 426.3 kB / 0.5702 GB, free: 8.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.408e-05/0.7788, allocations: 11.97 kB / 0.5702 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.711e-05/0.7789, allocations: 30.56 kB / 0.5703 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.7789, allocations: 15.34 kB / 0.5703 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.7795, allocations: 213.9 kB / 0.5705 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.7796, allocations: 4 kB / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.7796, allocations: 0 / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.7799, allocations: 53.67 kB / 0.5705 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.7799, allocations: 0 / 0.5705 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.7799, allocations: 7.938 kB / 0.5706 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.78, allocations: 1.031 kB / 0.5706 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.7801, allocations: 27.92 kB / 0.5706 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.7809, allocations: 300.8 kB / 0.5709 GB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.7813, allocations: 54.69 kB / 0.5709 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.7814, allocations: 0 / 0.5709 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.7818, allocations: 79.44 kB / 0.571 GB, free: 8.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.825e-06/0.7818, allocations: 0 / 0.571 GB, free: 8.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001133/0.7829, allocations: 177.2 kB / 0.5712 GB, free: 7.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.783, allocations: 55.41 kB / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.7834, allocations: 165.4 kB / 0.5714 GB, free: 7.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.7835, allocations: 25.7 kB / 0.5714 GB, free: 7.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.7836, allocations: 166.6 kB / 0.5716 GB, free: 7.453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.7837, allocations: 27.64 kB / 0.5716 GB, free: 7.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.7837, allocations: 0 / 0.5716 GB, free: 7.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/0.7839, allocations: 314.8 kB / 0.5719 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.7841, allocations: 23.98 kB / 0.5719 GB, free: 7.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.7843, allocations: 37.7 kB / 0.5719 GB, free: 7.043 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.7845, allocations: 20 kB / 0.572 GB, free: 7.023 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.7845, allocations: 0.75 kB / 0.572 GB, free: 7.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006641/0.7852, allocations: 105.5 kB / 0.5721 GB, free: 6.914 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/0.7853, allocations: 8.031 kB / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7853, allocations: 0 / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.7853, allocations: 0 / 0.5721 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.7856, allocations: 19.98 kB / 0.5721 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/0.7856, allocations: 7.891 kB / 0.5721 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.7858, allocations: 8 kB / 0.5721 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.7859, allocations: 192 / 0.5721 GB, free: 6.871 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.0002316/0.7861, allocations: 125.8 kB / 0.5722 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.7862, allocations: 15.84 kB / 0.5722 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/0.7869, allocations: 122.3 kB / 0.5724 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.7869, allocations: 3.984 kB / 0.5724 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.7869, allocations: 0 / 0.5724 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.7869, allocations: 3.953 kB / 0.5724 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.7881, allocations: 419.3 kB / 0.5728 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.7881, allocations: 0 / 0.5728 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.7883, allocations: 15.94 kB / 0.5728 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.7883, allocations: 4.031 kB / 0.5728 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.607e-05/0.7884, allocations: 4 kB / 0.5728 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.825e-05/0.7884, allocations: 7.953 kB / 0.5728 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7884, allocations: 0 / 0.5728 GB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.7891, allocations: 217.9 kB / 0.573 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.7892, allocations: 93.02 kB / 0.5731 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.7893, allocations: 7.953 kB / 0.5731 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.7895, allocations: 3.984 kB / 0.5731 GB, free: 5.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.7896, allocations: 4 kB / 0.5731 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.7896, allocations: 11.98 kB / 0.5731 GB, free: 5.711 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003101/0.79, allocations: 140.7 kB / 0.5733 GB, free: 5.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.79, allocations: 0 / 0.5733 GB, free: 5.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000623/0.7906, allocations: 35.92 kB / 0.5733 GB, free: 5.539 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.00313/0.7938, allocations: 1.203 MB / 0.5745 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.7943, allocations: 63.91 kB / 0.5745 GB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.7943, allocations: 0 / 0.5745 GB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.7945, allocations: 31.98 kB / 0.5746 GB, free: 4.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.7951, allocations: 19.98 kB / 0.5746 GB, free: 4.297 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.798, allocations: 0.9059 MB / 0.5755 GB, free: 3.328 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.7985, allocations: 0.7083 MB / 0.5761 GB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.7987, allocations: 39.36 kB / 0.5762 GB, free: 2.555 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7987, allocations: 0 / 0.5762 GB, free: 2.555 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.64/3.439, allocations: 2.444 MB / 0.5786 GB, free: 124 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat