Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",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.002081/0.002081, 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.059/2.059, 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.001743/0.001743, allocations: 96.41 kB / 270.9 MB, free: 8.363 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.5239/0.5239, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004786, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1401, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6258, allocations: 87.5 MB / 0.5643 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.6262, allocations: 71.97 kB / 0.5644 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.6501, allocations: 5.171 MB / 0.5694 GB, free: 9.832 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6502, allocations: 0 / 0.5694 GB, free: 9.832 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.6502, allocations: 12 kB / 0.5694 GB, free: 9.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007348/0.651, allocations: 412.7 kB / 0.5698 GB, free: 9.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.651, allocations: 11.97 kB / 0.5698 GB, free: 9.363 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.17e-05/0.6511, allocations: 34.56 kB / 0.5699 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.6512, allocations: 11.34 kB / 0.5699 GB, free: 9.312 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.6516, allocations: 217.8 kB / 0.5701 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.6516, allocations: 4 kB / 0.5701 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.6516, allocations: 0 / 0.5701 GB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.6518, allocations: 53.67 kB / 0.5701 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6519, allocations: 0 / 0.5701 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6519, allocations: 0 / 0.5701 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.6519, allocations: 0 / 0.5701 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.652, allocations: 20.95 kB / 0.5702 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.6523, allocations: 185.6 kB / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.6525, allocations: 58.61 kB / 0.5704 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.6526, allocations: 2.719 kB / 0.5704 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.6528, allocations: 63.48 kB / 0.5704 GB, free: 8.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.024e-06/0.6528, allocations: 4 kB / 0.5705 GB, free: 8.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004213/0.6532, allocations: 93.52 kB / 0.5705 GB, free: 8.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.6533, allocations: 51.41 kB / 0.5706 GB, free: 8.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.6536, allocations: 169.4 kB / 0.5707 GB, free: 8.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.6536, allocations: 33.7 kB / 0.5708 GB, free: 8.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.6537, allocations: 162.6 kB / 0.5709 GB, free: 8.074 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.6537, allocations: 11.75 kB / 0.5709 GB, free: 8.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.6538, allocations: 8 kB / 0.571 GB, free: 8.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6539, allocations: 314.8 kB / 0.5713 GB, free: 7.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.654, allocations: 12 kB / 0.5713 GB, free: 7.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/0.6541, allocations: 29.7 kB / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.6543, allocations: 27.89 kB / 0.5713 GB, free: 7.664 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.6543, allocations: 0 / 0.5713 GB, free: 7.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002562/0.6545, allocations: 73.98 kB / 0.5714 GB, free: 7.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.6546, allocations: 4 kB / 0.5714 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6546, allocations: 0 / 0.5714 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6546, allocations: 0 / 0.5714 GB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.6547, allocations: 19.94 kB / 0.5714 GB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6548, allocations: 7.984 kB / 0.5714 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.6549, allocations: 0 / 0.5714 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6549, allocations: 8.031 kB / 0.5714 GB, free: 7.547 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 (7): * Single equations (assignments): 7 * 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.000138/0.655, allocations: 129.7 kB / 0.5716 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.6551, allocations: 15.8 kB / 0.5716 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.6554, allocations: 93.98 kB / 0.5717 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.6554, allocations: 3.984 kB / 0.5717 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6554, allocations: 0 / 0.5717 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6554, allocations: 0 / 0.5717 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.6557, allocations: 190.5 kB / 0.5718 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6557, allocations: 11.89 kB / 0.5719 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.6558, allocations: 4 kB / 0.5719 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.6558, allocations: 3.984 kB / 0.5719 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.6558, allocations: 0 / 0.5719 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6558, allocations: 0 / 0.5719 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6558, allocations: 0 / 0.5719 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.6561, allocations: 113 kB / 0.572 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.6562, allocations: 92.97 kB / 0.5721 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.6563, allocations: 11.92 kB / 0.5721 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.6563, allocations: 4 kB / 0.5721 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.6564, allocations: 0 / 0.5721 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.6564, allocations: 4 kB / 0.5721 GB, free: 6.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001923/0.6566, allocations: 140.8 kB / 0.5722 GB, free: 6.645 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.906e-06/0.6566, allocations: 4 kB / 0.5722 GB, free: 6.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003049/0.6569, allocations: 31.92 kB / 0.5722 GB, free: 6.609 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0017/0.6586, allocations: 0.9616 MB / 0.5732 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.6589, allocations: 51.86 kB / 0.5732 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6589, allocations: 0 / 0.5732 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.659, allocations: 19.98 kB / 0.5733 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.6593, allocations: 23.98 kB / 0.5733 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.6609, allocations: 0.8259 MB / 0.5741 GB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.6612, allocations: 0.7007 MB / 0.5748 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.6613, allocations: 35.42 kB / 0.5748 GB, free: 3.988 MB / 394.7 MB Notification: Performance of SimCode: time 6.82e-07/0.6613, allocations: 0 / 0.5748 GB, free: 3.988 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.558/3.22, allocations: 2.215 MB / 0.577 GB, free: 1.781 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat