Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.00155/0.00155, allocations: 185.2 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.88/1.88, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.00103/0.00103, allocations: 102.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.2308/0.2308, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003988, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.5272, allocations: 87.54 MB / 0.5644 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.5275, allocations: 83.45 kB / 0.5644 GB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.5418, allocations: 5.219 MB / 0.5695 GB, free: 7.691 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5419, allocations: 0 / 0.5695 GB, free: 7.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.5419, allocations: 4 kB / 0.5695 GB, free: 7.688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005486/0.5424, allocations: 413.9 kB / 0.5699 GB, free: 7.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.5425, allocations: 8.031 kB / 0.5699 GB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.5426, allocations: 38.48 kB / 0.57 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.5426, allocations: 15.84 kB / 0.57 GB, free: 7.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.5429, allocations: 214.4 kB / 0.5702 GB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5429, allocations: 4 kB / 0.5702 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.5429, allocations: 0 / 0.5702 GB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.5431, allocations: 47.8 kB / 0.5702 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.475e-06/0.5431, allocations: 4 kB / 0.5702 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.5431, allocations: 4 kB / 0.5702 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.5431, allocations: 3.984 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.976e-05/0.5432, allocations: 15.3 kB / 0.5703 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.5434, allocations: 188.8 kB / 0.5704 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.5436, allocations: 56.92 kB / 0.5705 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.5436, allocations: 0 / 0.5705 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.5438, allocations: 69.55 kB / 0.5706 GB, free: 6.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.5438, allocations: 0 / 0.5706 GB, free: 6.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002823/0.5441, allocations: 100.2 kB / 0.5707 GB, free: 6.422 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.5441, allocations: 51.41 kB / 0.5707 GB, free: 6.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.5443, allocations: 171.6 kB / 0.5709 GB, free: 6.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.5443, allocations: 25.7 kB / 0.5709 GB, free: 6.176 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.5444, allocations: 101.6 kB / 0.571 GB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.5444, allocations: 21.75 kB / 0.571 GB, free: 6.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.5444, allocations: 2.438 kB / 0.571 GB, free: 6.066 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5446, allocations: 321.5 kB / 0.5713 GB, free: 5.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.5446, allocations: 19.17 kB / 0.5713 GB, free: 5.734 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.5447, allocations: 25.14 kB / 0.5714 GB, free: 5.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.5447, allocations: 28 kB / 0.5714 GB, free: 5.688 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5447, allocations: 0 / 0.5714 GB, free: 5.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001451/0.5449, allocations: 81.91 kB / 0.5715 GB, free: 5.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5449, allocations: 10.66 kB / 0.5715 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5449, allocations: 0 / 0.5715 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5449, allocations: 0 / 0.5715 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.344e-05/0.545, allocations: 11.98 kB / 0.5715 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.545, allocations: 7.938 kB / 0.5715 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.329e-05/0.5451, allocations: 0 / 0.5715 GB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.5451, allocations: 4 kB / 0.5715 GB, free: 5.582 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 (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.0001112/0.5452, allocations: 135.7 kB / 0.5716 GB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.5452, allocations: 15.81 kB / 0.5717 GB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.5455, allocations: 101.4 kB / 0.5717 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.5455, allocations: 0 / 0.5717 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5455, allocations: 0 / 0.5717 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5455, allocations: 0 / 0.5717 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.5456, allocations: 185.9 kB / 0.5719 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.5457, allocations: 3.953 kB / 0.5719 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.5457, allocations: 16.25 kB / 0.5719 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.5457, allocations: 0 / 0.5719 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5457, allocations: 8 kB / 0.572 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5457, allocations: 0 / 0.572 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5457, allocations: 0 / 0.572 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.5459, allocations: 110.5 kB / 0.5721 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.546, allocations: 100.3 kB / 0.5722 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.546, allocations: 0 / 0.5722 GB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-05/0.5461, allocations: 4 kB / 0.5722 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.5461, allocations: 3.984 kB / 0.5722 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.5461, allocations: 8 kB / 0.5722 GB, free: 4.855 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.5463, allocations: 144.6 kB / 0.5723 GB, free: 4.734 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.534e-06/0.5463, allocations: 0 / 0.5723 GB, free: 4.734 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002143/0.5465, allocations: 27.84 kB / 0.5723 GB, free: 4.707 MB / 378.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.001273/0.5478, allocations: 0.9664 MB / 0.5733 GB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.5479, allocations: 49.78 kB / 0.5733 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.548, allocations: 0 / 0.5733 GB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.548, allocations: 15 kB / 0.5733 GB, free: 3.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.5482, allocations: 27.09 kB / 0.5734 GB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.5493, allocations: 0.8009 MB / 0.5741 GB, free: 2.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.5496, allocations: 0.7093 MB / 0.5748 GB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.11e-05/0.5497, allocations: 9.125 kB / 0.5748 GB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.5497, allocations: 33.36 kB / 0.5749 GB, free: 2.164 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5497, allocations: 0 / 0.5749 GB, free: 2.164 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.5637, allocations: 2.71 MB / 0.5775 GB, free: 15.48 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002443/0.564, allocations: 221.6 kB / 0.5777 GB, free: 15.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/2.086, allocations: 0 / 0.5777 GB, free: 15.23 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat does not exist to compare? outputFormat=mat