Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.0009854/0.0009854, allocations: 169.9 kB / 8.74 MB, free: 340 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.554/1.554, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0009254/0.0009254, allocations: 96.84 kB / 281.6 MB, free: 5.32 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.2021/0.2021, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.805e-05, allocations: 8 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.5355, allocations: 88.56 MB / 0.5813 GB, free: 7.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.5358, allocations: 78.27 kB / 0.5813 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01537/0.5512, allocations: 5.519 MB / 0.5867 GB, free: 2.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5512, allocations: 3.938 kB / 0.5867 GB, free: 2.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.5512, allocations: 0 / 0.5867 GB, free: 2.195 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.0004367/0.5517, allocations: 394.3 kB / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5517, allocations: 15.98 kB / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.5518, allocations: 7.906 kB / 0.5871 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.5521, allocations: 226.6 kB / 0.5873 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5521, allocations: 3.953 kB / 0.5873 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.5521, allocations: 4 kB / 0.5874 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.692e-05/0.5522, allocations: 15.98 kB / 0.5874 GB, free: 1.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.01e-05/0.5523, allocations: 53.67 kB / 0.5874 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.5523, allocations: 3.938 kB / 0.5874 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.5524, allocations: 4 kB / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5524, allocations: 4 kB / 0.5874 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.5527, allocations: 261.5 kB / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.5528, allocations: 58.61 kB / 0.5877 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.5529, allocations: 16.98 kB / 0.5878 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.5529, allocations: 4 kB / 0.5878 GB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.553, allocations: 64.14 kB / 0.5878 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.553, allocations: 0 / 0.5878 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000414/0.5534, allocations: 149.2 kB / 0.588 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.5535, allocations: 51.41 kB / 0.588 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5536, allocations: 165.4 kB / 0.5882 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.5537, allocations: 25.7 kB / 0.5882 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.5537, allocations: 104.1 kB / 0.5883 GB, free: 420 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.5538, allocations: 23.69 kB / 0.5883 GB, free: 396 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.5538, allocations: 3.938 kB / 0.5883 GB, free: 392 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5539, allocations: 326.8 kB / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.5539, allocations: 12 kB / 0.5886 GB, free: 44 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.878e-05/0.554, allocations: 33.72 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.108e-05/0.5541, allocations: 32.02 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5541, allocations: 0 / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001341/0.5542, allocations: 97.5 kB / 0.5888 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5542, allocations: 4 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.5543, allocations: 0 / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5543, allocations: 7.984 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.004e-05/0.5544, allocations: 15.94 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.5544, allocations: 0 / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.5544, allocations: 7.938 kB / 0.5888 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-06/0.5545, allocations: 0 / 0.5888 GB, free: 15.83 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.58e-05/0.5545, allocations: 118.4 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000128/0.5547, allocations: 85.59 kB / 0.589 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.5547, allocations: 15.81 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.5549, allocations: 110.2 kB / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5549, allocations: 0 / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.5549, allocations: 0 / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5549, allocations: 0 / 0.5891 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/0.5553, allocations: 383.7 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5553, allocations: 4.219 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.5554, allocations: 12 kB / 0.5895 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5554, allocations: 0 / 0.5895 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.5554, allocations: 11.98 kB / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5554, allocations: 0 / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5554, allocations: 3.938 kB / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.5556, allocations: 218.3 kB / 0.5897 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.5557, allocations: 93.02 kB / 0.5898 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.5557, allocations: 3.984 kB / 0.5898 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.5558, allocations: 4 kB / 0.5898 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.5558, allocations: 11.89 kB / 0.5899 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.5558, allocations: 3.984 kB / 0.5899 GB, free: 14.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.556, allocations: 137 kB / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.556, allocations: 0 / 0.59 GB, free: 14.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.5562, allocations: 27.98 kB / 0.59 GB, free: 14.51 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.001272/0.5575, allocations: 1.108 MB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.5577, allocations: 55.94 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5577, allocations: 0 / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.5577, allocations: 27.98 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.5581, allocations: 28.06 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.5586, allocations: 218.8 kB / 0.5914 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.5589, allocations: 0.7041 MB / 0.5921 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.559, allocations: 20.41 kB / 0.5921 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/0.559, allocations: 39.42 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.559, allocations: 0 / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.5818, allocations: 2.644 MB / 0.5947 GB, free: 9.664 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/0.5821, allocations: 169.2 kB / 0.5949 GB, free: 9.469 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.153, allocations: 0 / 0.5949 GB, free: 9.469 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat