Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",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.001291/0.001291, allocations: 183 kB / 13.19 MB, free: 2.129 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.739/1.739, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0007576/0.0007577, allocations: 91.78 kB / 267.1 MB, free: 9.289 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.4579/0.4579, allocations: 43.46 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.98e-05, allocations: 8 kB / 425.4 MB, free: 8.777 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 58.84 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4098/0.5239, allocations: 87.63 MB / 0.5585 GB, free: 1.285 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/0.5241, allocations: 71.97 kB / 0.5586 GB, free: 1.215 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.5391, allocations: 5.55 MB / 0.564 GB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5391, allocations: 0.5469 kB / 0.564 GB, free: 11.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.5391, allocations: 4 kB / 0.564 GB, free: 11.71 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.0004884/0.5396, allocations: 412 kB / 0.5644 GB, free: 11.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.5397, allocations: 8.031 kB / 0.5644 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.5397, allocations: 38.55 kB / 0.5644 GB, free: 11.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.009e-05/0.5398, allocations: 19.25 kB / 0.5644 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.5401, allocations: 218.8 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.5401, allocations: 0 / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.5402, allocations: 4 kB / 0.5646 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.5403, allocations: 49.69 kB / 0.5647 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5403, allocations: 0 / 0.5647 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.5403, allocations: 1.375 kB / 0.5647 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5403, allocations: 4 kB / 0.5647 GB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.018e-05/0.5404, allocations: 23.98 kB / 0.5647 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.5408, allocations: 308.7 kB / 0.565 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.5409, allocations: 58.69 kB / 0.5651 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.541, allocations: 16.98 kB / 0.5651 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.541, allocations: 0 / 0.5651 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.5411, allocations: 79.27 kB / 0.5652 GB, free: 10.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5412, allocations: 0 / 0.5652 GB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004711/0.5416, allocations: 153.2 kB / 0.5653 GB, free: 10.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.5417, allocations: 51.41 kB / 0.5654 GB, free: 10.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.5419, allocations: 206.6 kB / 0.5656 GB, free: 9.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.5419, allocations: 29.7 kB / 0.5656 GB, free: 9.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.542, allocations: 112 kB / 0.5657 GB, free: 9.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.542, allocations: 19.66 kB / 0.5657 GB, free: 9.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.5421, allocations: 4.844 kB / 0.5657 GB, free: 9.734 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5422, allocations: 326.8 kB / 0.566 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.953e-05/0.5422, allocations: 20 kB / 0.566 GB, free: 9.387 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.037e-05/0.5423, allocations: 34.64 kB / 0.5661 GB, free: 9.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.394e-05/0.5424, allocations: 20 kB / 0.5661 GB, free: 9.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5424, allocations: 0 / 0.5661 GB, free: 9.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001464/0.5425, allocations: 105.5 kB / 0.5662 GB, free: 9.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5426, allocations: 8 kB / 0.5662 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.5426, allocations: 4.031 kB / 0.5662 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5426, allocations: 0 / 0.5662 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.5427, allocations: 15.98 kB / 0.5662 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5427, allocations: 3.953 kB / 0.5662 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.5428, allocations: 4 kB / 0.5662 GB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5428, allocations: 4.188 kB / 0.5662 GB, free: 9.18 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 () * 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 8.314e-05/0.5429, allocations: 113.9 kB / 0.5663 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.5429, allocations: 15.75 kB / 0.5664 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.5431, allocations: 127.3 kB / 0.5665 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5431, allocations: 4 kB / 0.5665 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5431, allocations: 0 / 0.5665 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.5432, allocations: 7.938 kB / 0.5665 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.5436, allocations: 415.3 kB / 0.5669 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5436, allocations: 4 kB / 0.5669 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.956e-05/0.5437, allocations: 8 kB / 0.5669 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5437, allocations: 3.984 kB / 0.5669 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.5437, allocations: 11.98 kB / 0.5669 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5437, allocations: 0 / 0.5669 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5437, allocations: 0 / 0.5669 GB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.544, allocations: 217.9 kB / 0.5671 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.544, allocations: 100.8 kB / 0.5672 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.5441, allocations: 12.14 kB / 0.5672 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.5442, allocations: 8 kB / 0.5672 GB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.5442, allocations: 7.984 kB / 0.5672 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.5442, allocations: 4 kB / 0.5672 GB, free: 8.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.5444, allocations: 169.9 kB / 0.5674 GB, free: 7.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5444, allocations: 0 / 0.5674 GB, free: 7.867 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002608/0.5446, allocations: 39.92 kB / 0.5674 GB, free: 7.828 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) * 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.001375/0.546, allocations: 1.131 MB / 0.5686 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.5462, allocations: 59.92 kB / 0.5686 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5462, allocations: 0 / 0.5686 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.991e-05/0.5463, allocations: 28 kB / 0.5686 GB, free: 6.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5465, allocations: 25.19 kB / 0.5687 GB, free: 6.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005889/0.5471, allocations: 260.8 kB / 0.5689 GB, free: 6.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.5475, allocations: 0.7201 MB / 0.5696 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.66e-05/0.5475, allocations: 16.84 kB / 0.5696 GB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.5476, allocations: 43.42 kB / 0.5697 GB, free: 5.531 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5476, allocations: 0 / 0.5697 GB, free: 5.531 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.5627, allocations: 3.217 MB / 0.5728 GB, free: 2.348 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.5629, allocations: 187.5 kB / 0.573 GB, free: 2.121 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.275, allocations: 0 / 0.573 GB, free: 2.121 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat