Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.001173/0.001173, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001003/0.001004, allocations: 90.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2187/0.2187, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1335, allocations: 58.87 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4937, allocations: 87.67 MB / 0.5645 GB, free: 12.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.494, allocations: 79.83 kB / 0.5646 GB, free: 12.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01423/0.5082, allocations: 5.396 MB / 0.5698 GB, free: 7.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5083, allocations: 4 kB / 0.5698 GB, free: 7.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5083, allocations: 0 / 0.5698 GB, free: 7.453 MB / 378.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.0004674/0.5087, allocations: 442 kB / 0.5702 GB, free: 6.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.5088, allocations: 8.031 kB / 0.5703 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.54e-05/0.5088, allocations: 30.56 kB / 0.5703 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.5089, allocations: 11.91 kB / 0.5703 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.5092, allocations: 214.1 kB / 0.5705 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5092, allocations: 7.5 kB / 0.5705 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.5092, allocations: 4 kB / 0.5705 GB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.5093, allocations: 61.03 kB / 0.5706 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.5094, allocations: 11.84 kB / 0.5706 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5094, allocations: 3.938 kB / 0.5706 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5094, allocations: 0 / 0.5706 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.154e-05/0.5095, allocations: 19.61 kB / 0.5706 GB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.5098, allocations: 297.9 kB / 0.5709 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.51, allocations: 61.62 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.51, allocations: 4 kB / 0.5709 GB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.5102, allocations: 66.62 kB / 0.571 GB, free: 6.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.5102, allocations: 0 / 0.571 GB, free: 6.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005036/0.5107, allocations: 184.4 kB / 0.5712 GB, free: 5.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.5107, allocations: 51.41 kB / 0.5712 GB, free: 5.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.5109, allocations: 193.8 kB / 0.5714 GB, free: 5.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.5109, allocations: 29.7 kB / 0.5714 GB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.511, allocations: 114.3 kB / 0.5716 GB, free: 5.613 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.511, allocations: 15.06 kB / 0.5716 GB, free: 5.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.511, allocations: 3.562 kB / 0.5716 GB, free: 5.602 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.186e-05/0.5111, allocations: 326.4 kB / 0.5719 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.5112, allocations: 19.44 kB / 0.5719 GB, free: 5.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.5112, allocations: 32.27 kB / 0.5719 GB, free: 5.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.5113, allocations: 33.98 kB / 0.572 GB, free: 5.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5113, allocations: 0 / 0.572 GB, free: 5.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001677/0.5115, allocations: 102.1 kB / 0.5721 GB, free: 5.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5115, allocations: 4 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5115, allocations: 7.984 kB / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.5115, allocations: 0 / 0.5721 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.506e-05/0.5116, allocations: 15.94 kB / 0.5721 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.5116, allocations: 3.953 kB / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.5117, allocations: 4.031 kB / 0.5721 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5117, allocations: 11.98 kB / 0.5721 GB, free: 5.078 MB / 378.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 9.12e-05/0.5118, allocations: 128.6 kB / 0.5722 GB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.5118, allocations: 11.81 kB / 0.5722 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.5121, allocations: 129 kB / 0.5724 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5121, allocations: 3.984 kB / 0.5724 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5121, allocations: 4 kB / 0.5724 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5121, allocations: 3.953 kB / 0.5724 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.5125, allocations: 419.2 kB / 0.5728 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5126, allocations: 384 / 0.5728 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.5126, allocations: 11.94 kB / 0.5728 GB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5126, allocations: 4 kB / 0.5728 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5126, allocations: 5.125 kB / 0.5728 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5126, allocations: 3.953 kB / 0.5728 GB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5126, allocations: 3.938 kB / 0.5728 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.5129, allocations: 223.9 kB / 0.573 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.513, allocations: 91.27 kB / 0.5731 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.513, allocations: 9.828 kB / 0.5731 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.5131, allocations: 8.484 kB / 0.5731 GB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.5131, allocations: 5.312 kB / 0.5731 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.5131, allocations: 8.547 kB / 0.5731 GB, free: 4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001653/0.5133, allocations: 161.9 kB / 0.5733 GB, free: 3.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5133, allocations: 0 / 0.5733 GB, free: 3.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.5136, allocations: 35.75 kB / 0.5733 GB, free: 3.836 MB / 378.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.001318/0.5149, allocations: 1.204 MB / 0.5745 GB, free: 2.691 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.5151, allocations: 62.84 kB / 0.5746 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5151, allocations: 0 / 0.5746 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.5152, allocations: 43.22 kB / 0.5746 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5154, allocations: 23.23 kB / 0.5746 GB, free: 2.594 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.5165, allocations: 0.9209 MB / 0.5755 GB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.5168, allocations: 0.7122 MB / 0.5762 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.17e-05/0.5168, allocations: 22.42 kB / 0.5762 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.5169, allocations: 39.3 kB / 0.5763 GB, free: 0.918 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5169, allocations: 0 / 0.5763 GB, free: 0.918 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.5299, allocations: 3.145 MB / 0.5794 GB, free: 13.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.5301, allocations: 208.7 kB / 0.5796 GB, free: 13.56 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.067, allocations: 0 / 0.5796 GB, free: 13.56 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat