Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",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.001504/0.001504, allocations: 186.1 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.116/2.116, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001197/0.001197, allocations: 98.8 kB / 270.9 MB, free: 8.359 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.5428/0.5428, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004884/0.0004883, allocations: 15.94 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1412, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.6275, allocations: 87.57 MB / 0.5644 GB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/0.628, allocations: 78.34 kB / 0.5644 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03656/0.6646, allocations: 6.459 MB / 0.5707 GB, free: 8.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6646, allocations: 4 kB / 0.5707 GB, free: 8.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.058e-05/0.6647, allocations: 4.656 kB / 0.5707 GB, free: 8.457 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001439/0.6661, allocations: 0.7104 MB / 0.5714 GB, free: 7.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.6662, allocations: 12.03 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.6663, allocations: 38.55 kB / 0.5715 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.6664, allocations: 54.78 kB / 0.5715 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.6677, allocations: 475 kB / 0.572 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.6677, allocations: 8 kB / 0.572 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.6678, allocations: 3.984 kB / 0.572 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.6681, allocations: 83.38 kB / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6681, allocations: 0 / 0.5721 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6681, allocations: 9.016 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.6681, allocations: 0 / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.6683, allocations: 35.92 kB / 0.5721 GB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.669, allocations: 382.2 kB / 0.5725 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004426/0.6694, allocations: 113.3 kB / 0.5726 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.6695, allocations: 3.188 kB / 0.5726 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.6698, allocations: 101.2 kB / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.214e-06/0.6698, allocations: 0 / 0.5727 GB, free: 6.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008546/0.6707, allocations: 210.3 kB / 0.5729 GB, free: 6.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.6708, allocations: 77.11 kB / 0.573 GB, free: 5.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.6729, allocations: 0.9121 MB / 0.5739 GB, free: 5.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.673, allocations: 29.7 kB / 0.5739 GB, free: 5.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.6732, allocations: 242.6 kB / 0.5741 GB, free: 4.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.6733, allocations: 35.53 kB / 0.5742 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.6733, allocations: 11.94 kB / 0.5742 GB, free: 4.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6735, allocations: 314.8 kB / 0.5745 GB, free: 4.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.6737, allocations: 31.98 kB / 0.5745 GB, free: 4.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.6739, allocations: 60.91 kB / 0.5746 GB, free: 4.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.6741, allocations: 36.05 kB / 0.5746 GB, free: 4.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6741, allocations: 0 / 0.5746 GB, free: 4.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004623/0.6746, allocations: 129.6 kB / 0.5747 GB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.6746, allocations: 8 kB / 0.5747 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.6746, allocations: 0 / 0.5747 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.6747, allocations: 0 / 0.5747 GB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.6749, allocations: 27.92 kB / 0.5747 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.6749, allocations: 3.938 kB / 0.5747 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.6752, allocations: 19.84 kB / 0.5748 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.6752, allocations: 4 kB / 0.5748 GB, free: 4.074 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * 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.0004147/0.6757, allocations: 237.5 kB / 0.575 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.6758, allocations: 51.44 kB / 0.575 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.6765, allocations: 193.5 kB / 0.5752 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.6765, allocations: 3.938 kB / 0.5752 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6765, allocations: 4 kB / 0.5752 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.6765, allocations: 0.6562 kB / 0.5752 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.6771, allocations: 385.2 kB / 0.5756 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6771, allocations: 0 / 0.5756 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.166e-05/0.6772, allocations: 8 kB / 0.5756 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.6773, allocations: 8 kB / 0.5756 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.6773, allocations: 4.234 kB / 0.5756 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.6773, allocations: 8 kB / 0.5756 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.6773, allocations: 3.938 kB / 0.5756 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.678, allocations: 227 kB / 0.5759 GB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.6784, allocations: 196.3 kB / 0.576 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6785, allocations: 11.98 kB / 0.5761 GB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.6787, allocations: 4 kB / 0.5761 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.6788, allocations: 11.98 kB / 0.5761 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.6788, allocations: 8 kB / 0.5761 GB, free: 2.625 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.6804, allocations: 0.7252 MB / 0.5768 GB, free: 1.902 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6804, allocations: 0 / 0.5768 GB, free: 1.902 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005239/0.6809, allocations: 80 kB / 0.5769 GB, free: 1.824 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002288/0.6832, allocations: 1.162 MB / 0.578 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004654/0.6837, allocations: 87.89 kB / 0.5781 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6838, allocations: 4.125 kB / 0.5781 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.684, allocations: 43.92 kB / 0.5781 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006835/0.6847, allocations: 58.83 kB / 0.5782 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.6918, allocations: 3.331 MB / 0.5814 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.6925, allocations: 0.8546 MB / 0.5823 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.6929, allocations: 147.4 kB / 0.5824 GB, free: 12.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6929, allocations: 4 kB / 0.5824 GB, free: 12.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.938/3.631, allocations: 8.218 MB / 0.5904 GB, free: 3.879 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat