Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 174 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.5 MB / 230.7 MB, free: 7.527 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009077/0.0009078, allocations: 95.91 kB / 281.6 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1761/0.1761, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.198e-05, allocations: 8 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3972/0.5224, allocations: 88.57 MB / 0.5813 GB, free: 7.766 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.5226, allocations: 71.97 kB / 0.5813 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.5378, allocations: 5.712 MB / 0.5869 GB, free: 1.996 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5379, allocations: 0 / 0.5869 GB, free: 1.996 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.5379, allocations: 4 kB / 0.5869 GB, free: 1.992 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.0004776/0.5384, allocations: 402.2 kB / 0.5873 GB, free: 1.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5384, allocations: 11.98 kB / 0.5873 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.5385, allocations: 19.81 kB / 0.5873 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.5388, allocations: 214.9 kB / 0.5875 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.5388, allocations: 7.891 kB / 0.5875 GB, free: 1.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.5388, allocations: 4 kB / 0.5875 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.95e-05/0.5389, allocations: 16 kB / 0.5876 GB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.539, allocations: 53.67 kB / 0.5876 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.539, allocations: 3.906 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.539, allocations: 3.938 kB / 0.5876 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.539, allocations: 4 kB / 0.5876 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003412/0.5394, allocations: 277.5 kB / 0.5879 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.799e-05/0.5395, allocations: 54.62 kB / 0.5879 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.5395, allocations: 16.98 kB / 0.588 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.5396, allocations: 0 / 0.588 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.5397, allocations: 63.39 kB / 0.588 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.5397, allocations: 0 / 0.588 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003908/0.5401, allocations: 153.1 kB / 0.5882 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.5401, allocations: 55.41 kB / 0.5882 GB, free: 500 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.5403, allocations: 197.8 kB / 0.5884 GB, free: 288 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.5403, allocations: 25.7 kB / 0.5884 GB, free: 256 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.5404, allocations: 112.1 kB / 0.5885 GB, free: 140 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.5404, allocations: 23.7 kB / 0.5886 GB, free: 116 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5404, allocations: 0 / 0.5886 GB, free: 116 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5406, allocations: 326.8 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.207e-05/0.5406, allocations: 16.75 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.5407, allocations: 29.72 kB / 0.5889 GB, free: 15.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.5407, allocations: 27.94 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5407, allocations: 192 / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001319/0.5409, allocations: 89.53 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.5409, allocations: 7.938 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.5409, allocations: 4.031 kB / 0.589 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.5409, allocations: 4 kB / 0.589 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.695e-05/0.541, allocations: 15.98 kB / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.541, allocations: 0 / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.5411, allocations: 7.938 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.5411, allocations: 4 kB / 0.5891 GB, free: 15.57 MB / 410.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 7.335e-05/0.5412, allocations: 114.3 kB / 0.5892 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001309/0.5413, allocations: 93.48 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.5413, allocations: 15.81 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.5415, allocations: 119.7 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5415, allocations: 4 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5415, allocations: 3.984 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5416, allocations: 0 / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.542, allocations: 391.8 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.542, allocations: 3.938 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.542, allocations: 8.188 kB / 0.5898 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.542, allocations: 8.031 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5421, allocations: 4 kB / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5421, allocations: 0 / 0.5898 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.5421, allocations: 7.984 kB / 0.5898 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.5423, allocations: 214 kB / 0.59 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.5423, allocations: 93.02 kB / 0.5901 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.5424, allocations: 4 kB / 0.5901 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.5425, allocations: 7.984 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.5425, allocations: 7.953 kB / 0.5901 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.5425, allocations: 8 kB / 0.5901 GB, free: 14.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.5427, allocations: 163.2 kB / 0.5903 GB, free: 14.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5427, allocations: 0 / 0.5903 GB, free: 14.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.5429, allocations: 39.84 kB / 0.5903 GB, free: 14.18 MB / 410.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.001368/0.5443, allocations: 1.099 MB / 0.5914 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.5444, allocations: 47.94 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5445, allocations: 0 / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.192e-05/0.5445, allocations: 28 kB / 0.5915 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.5448, allocations: 34.44 kB / 0.5915 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.5454, allocations: 255.6 kB / 0.5917 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.5457, allocations: 0.7158 MB / 0.5924 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.5457, allocations: 16.86 kB / 0.5925 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.5458, allocations: 43.41 kB / 0.5925 GB, free: 11.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5458, allocations: 0 / 0.5925 GB, free: 11.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.5683, allocations: 2.854 MB / 0.5953 GB, free: 9.082 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.5686, allocations: 168.8 kB / 0.5955 GB, free: 8.887 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.115, allocations: 0 / 0.5955 GB, free: 8.887 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat