Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.001078/0.001078, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.4 MB / 236 MB, free: 2.969 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.0008783/0.0008783, allocations: 95.55 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2522/0.2522, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.455e-05, allocations: 8.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1432, allocations: 61.93 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5079/0.6512, allocations: 89.22 MB / 0.5889 GB, free: 28 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.6515, allocations: 71.97 kB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.667, allocations: 5.573 MB / 0.5945 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.667, allocations: 4 kB / 0.5945 GB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.6671, allocations: 4 kB / 0.5945 GB, free: 10.39 MB / 410.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.0005175/0.6676, allocations: 398.3 kB / 0.5948 GB, free: 9.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6677, allocations: 8.031 kB / 0.5948 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.6677, allocations: 34.56 kB / 0.5949 GB, free: 9.906 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.6678, allocations: 7.906 kB / 0.5949 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.6681, allocations: 218.7 kB / 0.5951 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.6681, allocations: 7.953 kB / 0.5951 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.6681, allocations: 4 kB / 0.5951 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.6683, allocations: 57.61 kB / 0.5952 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6683, allocations: 4 kB / 0.5952 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.6683, allocations: 0 / 0.5952 GB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6683, allocations: 3.938 kB / 0.5952 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.379e-05/0.6684, allocations: 19.98 kB / 0.5952 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.6688, allocations: 288.9 kB / 0.5955 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.6689, allocations: 58.62 kB / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.669, allocations: 20.98 kB / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.669, allocations: 0 / 0.5955 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.6691, allocations: 67.39 kB / 0.5956 GB, free: 9.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.6692, allocations: 0 / 0.5956 GB, free: 9.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004534/0.6696, allocations: 161.1 kB / 0.5958 GB, free: 8.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.6697, allocations: 55.41 kB / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.6698, allocations: 165.4 kB / 0.596 GB, free: 8.645 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.6699, allocations: 29.7 kB / 0.596 GB, free: 8.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.6699, allocations: 100.1 kB / 0.5961 GB, free: 8.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.67, allocations: 23.7 kB / 0.5961 GB, free: 8.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.67, allocations: 0 / 0.5961 GB, free: 8.484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6701, allocations: 326.8 kB / 0.5964 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.6702, allocations: 20 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.881e-05/0.6702, allocations: 41.7 kB / 0.5965 GB, free: 8.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.497e-05/0.6703, allocations: 23.94 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6703, allocations: 0 / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001408/0.6704, allocations: 97.48 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6705, allocations: 9.094 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6705, allocations: 0 / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6705, allocations: 0 / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/0.6706, allocations: 19.92 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6706, allocations: 8.031 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.6707, allocations: 3.938 kB / 0.5966 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.6707, allocations: 8 kB / 0.5966 GB, free: 7.918 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 6.87e-05/0.6707, allocations: 108.9 kB / 0.5968 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.6708, allocations: 7.906 kB / 0.5968 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.671, allocations: 122.5 kB / 0.5969 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.671, allocations: 0 / 0.5969 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.671, allocations: 0 / 0.5969 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.671, allocations: 4 kB / 0.5969 GB, free: 7.672 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004079/0.6714, allocations: 415.2 kB / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6714, allocations: 0 / 0.5973 GB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.6715, allocations: 19.92 kB / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6715, allocations: 0 / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.6715, allocations: 0 / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.6715, allocations: 4 kB / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6715, allocations: 3.938 kB / 0.5973 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.6717, allocations: 222 kB / 0.5975 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.6718, allocations: 100.8 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.6718, allocations: 4 kB / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.6719, allocations: 0 / 0.5976 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.672, allocations: 15.94 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.672, allocations: 4 kB / 0.5976 GB, free: 6.797 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.6721, allocations: 148.9 kB / 0.5978 GB, free: 6.652 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6721, allocations: 0 / 0.5978 GB, free: 6.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.6724, allocations: 28 kB / 0.5978 GB, free: 6.625 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.001335/0.6737, allocations: 1.13 MB / 0.5989 GB, free: 5.586 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.6739, allocations: 59.92 kB / 0.599 GB, free: 5.527 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6739, allocations: 4 kB / 0.599 GB, free: 5.523 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.6739, allocations: 36 kB / 0.599 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.6742, allocations: 35.86 kB / 0.599 GB, free: 5.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/0.6747, allocations: 216.4 kB / 0.5992 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.675, allocations: 0.7082 MB / 0.5999 GB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.675, allocations: 20.72 kB / 0.6 GB, free: 4.441 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.6751, allocations: 35.42 kB / 0.6 GB, free: 4.406 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6751, allocations: 0 / 0.6 GB, free: 4.406 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.6914, allocations: 2.994 MB / 0.6029 GB, free: 1.496 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.6916, allocations: 192.1 kB / 0.6031 GB, free: 1.266 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.44, allocations: 3.938 kB / 0.6031 GB, free: 1.262 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat does not exist to compare? outputFormat=mat