Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",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.002346/0.002345, allocations: 186.7 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.06/2.06, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001149/0.001149, allocations: 100.3 kB / 270.9 MB, free: 8.391 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.5241/0.5241, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.000474, allocations: 23.98 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5027/0.6328, allocations: 87.71 MB / 0.5645 GB, free: 14.69 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.6332, allocations: 82.17 kB / 0.5646 GB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02624/0.6595, allocations: 5.704 MB / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6595, allocations: 0.5469 kB / 0.5701 GB, free: 8.953 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.6596, allocations: 4 kB / 0.5701 GB, free: 8.949 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.0007481/0.6603, allocations: 450.1 kB / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.6604, allocations: 8.031 kB / 0.5706 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.6604, allocations: 38.56 kB / 0.5706 GB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.086e-05/0.6605, allocations: 15.25 kB / 0.5706 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004677/0.661, allocations: 228.9 kB / 0.5708 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.661, allocations: 0 / 0.5708 GB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.6611, allocations: 11.98 kB / 0.5709 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.6613, allocations: 57.61 kB / 0.5709 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6613, allocations: 0 / 0.5709 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.6613, allocations: 0 / 0.5709 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.6614, allocations: 5.656 kB / 0.5709 GB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.6615, allocations: 19.98 kB / 0.5709 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.6621, allocations: 312.8 kB / 0.5712 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.6624, allocations: 62.61 kB / 0.5713 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.6624, allocations: 4.125 kB / 0.5713 GB, free: 7.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.6626, allocations: 63.39 kB / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.6626, allocations: 0 / 0.5714 GB, free: 7.535 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008669/0.6635, allocations: 193.8 kB / 0.5715 GB, free: 7.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.6636, allocations: 59.41 kB / 0.5716 GB, free: 7.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.664, allocations: 237.7 kB / 0.5718 GB, free: 7.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.6641, allocations: 29.7 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/0.6642, allocations: 166.6 kB / 0.572 GB, free: 6.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.6642, allocations: 27.64 kB / 0.572 GB, free: 6.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.6642, allocations: 0 / 0.572 GB, free: 6.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6644, allocations: 314.8 kB / 0.5723 GB, free: 6.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.863e-05/0.6645, allocations: 19.98 kB / 0.5724 GB, free: 6.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.6646, allocations: 46.39 kB / 0.5724 GB, free: 6.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.6647, allocations: 24 kB / 0.5724 GB, free: 6.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6647, allocations: 0.75 kB / 0.5724 GB, free: 6.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003326/0.6651, allocations: 90.45 kB / 0.5725 GB, free: 6.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6651, allocations: 4 kB / 0.5725 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6651, allocations: 0 / 0.5725 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6652, allocations: 4 kB / 0.5725 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.6653, allocations: 19.92 kB / 0.5725 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.6654, allocations: 7.984 kB / 0.5725 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6655, allocations: 8 kB / 0.5726 GB, free: 6.254 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.6655, allocations: 192 / 0.5726 GB, free: 6.254 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.0001747/0.6657, allocations: 137.8 kB / 0.5727 GB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.6658, allocations: 19.75 kB / 0.5727 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004333/0.6662, allocations: 131.1 kB / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6662, allocations: 0 / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.6663, allocations: 0 / 0.5728 GB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.6663, allocations: 7.953 kB / 0.5728 GB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008176/0.6671, allocations: 439.2 kB / 0.5733 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6671, allocations: 0 / 0.5733 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.6672, allocations: 8 kB / 0.5733 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.6672, allocations: 3.938 kB / 0.5733 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.6673, allocations: 8 kB / 0.5733 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.6673, allocations: 7.891 kB / 0.5733 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6673, allocations: 0 / 0.5733 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.6677, allocations: 229.9 kB / 0.5735 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.6678, allocations: 100.9 kB / 0.5736 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.6679, allocations: 7.953 kB / 0.5736 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.668, allocations: 384 / 0.5736 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.6681, allocations: 11.98 kB / 0.5736 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.6681, allocations: 8 kB / 0.5736 GB, free: 5.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003034/0.6684, allocations: 196.2 kB / 0.5738 GB, free: 4.852 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6684, allocations: 0 / 0.5738 GB, free: 4.852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.6688, allocations: 35.94 kB / 0.5738 GB, free: 4.816 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.002093/0.6709, allocations: 1.213 MB / 0.575 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.6713, allocations: 59.91 kB / 0.5751 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6713, allocations: 4.062 kB / 0.5751 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.6714, allocations: 35.92 kB / 0.5751 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.6719, allocations: 29.39 kB / 0.5752 GB, free: 3.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.6741, allocations: 1.05 MB / 0.5762 GB, free: 2.445 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.6745, allocations: 0.7277 MB / 0.5769 GB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.6746, allocations: 39.53 kB / 0.5769 GB, free: 1.652 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6747, allocations: 3.938 kB / 0.5769 GB, free: 1.648 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.68/3.355, allocations: 2.861 MB / 0.5797 GB, free: 14.79 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat does not exist to compare? outputFormat=mat