Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",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.001601/0.001605, 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.099/2.099, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.00117/0.00117, allocations: 99.53 kB / 270.9 MB, free: 8.383 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.5445/0.5445, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007125/0.0007124, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1421, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.505/0.6472, allocations: 87.58 MB / 0.5644 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/0.6476, allocations: 70.19 kB / 0.5644 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0291/0.6767, allocations: 6.465 MB / 0.5707 GB, free: 8.336 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6768, allocations: 3.469 kB / 0.5707 GB, free: 8.336 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.6768, allocations: 8.656 kB / 0.5707 GB, free: 8.328 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.001407/0.6782, allocations: 0.7065 MB / 0.5714 GB, free: 7.574 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.192e-05/0.6784, allocations: 16.03 kB / 0.5715 GB, free: 7.559 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.6784, allocations: 38.55 kB / 0.5715 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.6786, allocations: 54.78 kB / 0.5715 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.6798, allocations: 471.1 kB / 0.572 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.6799, allocations: 3.984 kB / 0.572 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.6799, allocations: 8 kB / 0.572 GB, free: 6.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.6802, allocations: 87.3 kB / 0.5721 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6802, allocations: 4 kB / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.6803, allocations: 5.031 kB / 0.5721 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.6803, allocations: 0 / 0.5721 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.6805, allocations: 31.97 kB / 0.5721 GB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/0.6812, allocations: 382.2 kB / 0.5725 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000615/0.6818, allocations: 109.3 kB / 0.5726 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.6819, allocations: 0 / 0.5726 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004797/0.6824, allocations: 117.1 kB / 0.5727 GB, free: 6.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 5.75e-06/0.6824, allocations: 3.984 kB / 0.5727 GB, free: 6.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000906/0.6833, allocations: 201 kB / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.6834, allocations: 89.09 kB / 0.573 GB, free: 5.816 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/0.6857, allocations: 0.9082 MB / 0.5739 GB, free: 4.902 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.6858, allocations: 29.7 kB / 0.5739 GB, free: 4.867 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.686, allocations: 242.6 kB / 0.5741 GB, free: 4.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.694e-05/0.6861, allocations: 31.55 kB / 0.5742 GB, free: 4.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.6861, allocations: 4 kB / 0.5742 GB, free: 4.594 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.6863, allocations: 322.8 kB / 0.5745 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.6865, allocations: 31.97 kB / 0.5745 GB, free: 4.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.6867, allocations: 52.92 kB / 0.5746 GB, free: 4.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.6869, allocations: 39.92 kB / 0.5746 GB, free: 4.137 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6869, allocations: 0 / 0.5746 GB, free: 4.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004521/0.6874, allocations: 130.3 kB / 0.5747 GB, free: 4.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6874, allocations: 4 kB / 0.5747 GB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6874, allocations: 4 kB / 0.5747 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.6874, allocations: 0 / 0.5747 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.6877, allocations: 19.98 kB / 0.5747 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.6877, allocations: 11.92 kB / 0.5748 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/0.6879, allocations: 19.78 kB / 0.5748 GB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.688, allocations: 8 kB / 0.5748 GB, free: 3.938 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.0003736/0.6884, allocations: 233.6 kB / 0.575 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.6885, allocations: 47.44 kB / 0.5751 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/0.6891, allocations: 202 kB / 0.5752 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6892, allocations: 0 / 0.5752 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6892, allocations: 128 / 0.5752 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6892, allocations: 7.984 kB / 0.5753 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.6898, allocations: 389.2 kB / 0.5756 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6898, allocations: 0 / 0.5756 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.6899, allocations: 12 kB / 0.5756 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.6899, allocations: 0 / 0.5756 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.6899, allocations: 7.984 kB / 0.5756 GB, free: 2.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.6899, allocations: 3.938 kB / 0.5756 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6899, allocations: 0 / 0.5756 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000633/0.6906, allocations: 227.7 kB / 0.5759 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.691, allocations: 196.3 kB / 0.5761 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/0.6911, allocations: 7.938 kB / 0.5761 GB, free: 2.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.6913, allocations: 8 kB / 0.5761 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.6913, allocations: 7.984 kB / 0.5761 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.6914, allocations: 4 kB / 0.5761 GB, free: 2.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001487/0.6929, allocations: 0.733 MB / 0.5768 GB, free: 1.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6929, allocations: 0 / 0.5768 GB, free: 1.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004812/0.6934, allocations: 76 kB / 0.5769 GB, free: 1.695 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.002197/0.6956, allocations: 1.158 MB / 0.578 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004211/0.696, allocations: 83.95 kB / 0.5781 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.696, allocations: 4.062 kB / 0.5781 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.6963, allocations: 51.89 kB / 0.5781 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006022/0.6969, allocations: 62.83 kB / 0.5782 GB, free: 412 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.7037, allocations: 3.328 MB / 0.5814 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.7044, allocations: 0.8507 MB / 0.5823 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.7049, allocations: 155.4 kB / 0.5824 GB, free: 11.97 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7049, allocations: 0 / 0.5824 GB, free: 11.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.771/3.476, allocations: 8.22 MB / 0.5904 GB, free: 3.746 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat