Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001746/0.001746, allocations: 174.4 kB / 8.74 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.423/1.423, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.0008691/0.0008692, allocations: 88.72 kB / 281.6 MB, free: 5.324 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.1903/0.1903, allocations: 44.16 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.21e-05, allocations: 8.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1256, allocations: 61.92 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3959/0.5216, allocations: 88.55 MB / 0.5812 GB, free: 7.801 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.5218, allocations: 71.97 kB / 0.5813 GB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.5369, allocations: 5.659 MB / 0.5868 GB, free: 2.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.537, allocations: 0.75 kB / 0.5868 GB, free: 2.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.537, allocations: 4 kB / 0.5868 GB, free: 2.082 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.0004587/0.5375, allocations: 402.2 kB / 0.5872 GB, free: 1.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.5375, allocations: 15.97 kB / 0.5872 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.5376, allocations: 15.81 kB / 0.5873 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.5379, allocations: 212.6 kB / 0.5875 GB, free: 1.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.5379, allocations: 7.953 kB / 0.5875 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.5379, allocations: 0 / 0.5875 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.615e-05/0.538, allocations: 23.88 kB / 0.5875 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.561e-05/0.5381, allocations: 57.61 kB / 0.5876 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5381, allocations: 4 kB / 0.5876 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5382, allocations: 0 / 0.5876 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5382, allocations: 0 / 0.5876 GB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.5385, allocations: 273.4 kB / 0.5878 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.5387, allocations: 50.69 kB / 0.5879 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.5387, allocations: 24.91 kB / 0.5879 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.5387, allocations: 4 kB / 0.5879 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.5388, allocations: 59.39 kB / 0.5879 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.5389, allocations: 0 / 0.5879 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004222/0.5393, allocations: 153.1 kB / 0.5881 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.5393, allocations: 51.41 kB / 0.5881 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.5395, allocations: 193.4 kB / 0.5883 GB, free: 396 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.5396, allocations: 25.7 kB / 0.5884 GB, free: 364 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.5396, allocations: 108.1 kB / 0.5885 GB, free: 252 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.5397, allocations: 27.64 kB / 0.5885 GB, free: 224 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.5397, allocations: 0 / 0.5885 GB, free: 224 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.5399, allocations: 322.8 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.5399, allocations: 16 kB / 0.5888 GB, free: 15.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.669e-05/0.54, allocations: 33.7 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.789e-05/0.54, allocations: 23.95 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.54, allocations: 4 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001496/0.5402, allocations: 97.42 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5402, allocations: 5.406 kB / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5402, allocations: 0 / 0.589 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.5402, allocations: 4 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.5403, allocations: 12 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.5403, allocations: 0 / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.5404, allocations: 8.172 kB / 0.589 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.5404, allocations: 8 kB / 0.589 GB, free: 15.68 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 8.629e-05/0.5405, allocations: 119.6 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001483/0.5407, allocations: 93.56 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.5407, allocations: 15.81 kB / 0.5892 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.5409, allocations: 115.6 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.5409, allocations: 0 / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5409, allocations: 0 / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5409, allocations: 7.938 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.5414, allocations: 392 kB / 0.5897 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5414, allocations: 0 / 0.5897 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.5414, allocations: 12 kB / 0.5897 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.5414, allocations: 3.984 kB / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.5414, allocations: 0 / 0.5897 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.5415, allocations: 7.984 kB / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5415, allocations: 0 / 0.5897 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.5417, allocations: 218 kB / 0.5899 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.5418, allocations: 96.92 kB / 0.59 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.5418, allocations: 0 / 0.59 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-05/0.5419, allocations: 7.984 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/0.5419, allocations: 7.953 kB / 0.59 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-06/0.5419, allocations: 4 kB / 0.59 GB, free: 14.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001372/0.5421, allocations: 152.2 kB / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5421, allocations: 0 / 0.5902 GB, free: 14.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000273/0.5424, allocations: 35.94 kB / 0.5902 GB, free: 14.31 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.0014/0.5438, allocations: 1.093 MB / 0.5913 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001367/0.5439, allocations: 51.98 kB / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5439, allocations: 0 / 0.5913 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.222e-05/0.544, allocations: 28.06 kB / 0.5914 GB, free: 13.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.5443, allocations: 34.55 kB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005741/0.5449, allocations: 243.3 kB / 0.5916 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.5452, allocations: 0.708 MB / 0.5923 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.5453, allocations: 32.84 kB / 0.5924 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.5454, allocations: 35.42 kB / 0.5924 GB, free: 12.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5454, allocations: 0 / 0.5924 GB, free: 12.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.5663, allocations: 2.784 MB / 0.5951 GB, free: 9.301 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/0.5666, allocations: 159.5 kB / 0.5953 GB, free: 9.113 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.155, allocations: 0 / 0.5953 GB, free: 9.113 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat