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.001487/0.001487, allocations: 180.7 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.563/1.563, allocations: 221.3 MB / 236 MB, free: 2.992 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.0009819/0.0009817, allocations: 92.03 kB / 287 MB, free: 256 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.228/0.228, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.699e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.161, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5748/0.7359, allocations: 89.22 MB / 0.5889 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/0.7363, allocations: 77 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01759/0.754, allocations: 5.559 MB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.754, allocations: 0 / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.7541, allocations: 4 kB / 0.5944 GB, free: 10.42 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.0005916/0.7547, allocations: 398.3 kB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.7547, allocations: 12.03 kB / 0.5948 GB, free: 9.977 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.7548, allocations: 30.56 kB / 0.5949 GB, free: 9.938 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.7549, allocations: 7.906 kB / 0.5949 GB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.7553, allocations: 214.8 kB / 0.5951 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.7553, allocations: 11.95 kB / 0.5951 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.7554, allocations: 0 / 0.5951 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.7555, allocations: 61.59 kB / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.7555, allocations: 0 / 0.5951 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.7556, allocations: 4 kB / 0.5952 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.7556, allocations: 7.938 kB / 0.5952 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.7556, allocations: 20 kB / 0.5952 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.7561, allocations: 288.9 kB / 0.5955 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.7563, allocations: 66.56 kB / 0.5955 GB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.7563, allocations: 16.98 kB / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.7563, allocations: 0 / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.7565, allocations: 67.39 kB / 0.5956 GB, free: 9.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.7565, allocations: 0 / 0.5956 GB, free: 9.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004971/0.757, allocations: 157.2 kB / 0.5957 GB, free: 8.906 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.7571, allocations: 55.39 kB / 0.5958 GB, free: 8.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.7572, allocations: 169.4 kB / 0.596 GB, free: 8.668 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.7573, allocations: 25.7 kB / 0.596 GB, free: 8.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.7573, allocations: 104.1 kB / 0.5961 GB, free: 8.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.7574, allocations: 19.72 kB / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.7574, allocations: 0 / 0.5961 GB, free: 8.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7575, allocations: 330.8 kB / 0.5964 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-05/0.7576, allocations: 20 kB / 0.5964 GB, free: 8.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.281e-05/0.7577, allocations: 41.64 kB / 0.5965 GB, free: 8.113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.7577, allocations: 20 kB / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7577, allocations: 0 / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000159/0.7579, allocations: 97.48 kB / 0.5966 GB, free: 7.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.7579, allocations: 4 kB / 0.5966 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7579, allocations: 4 kB / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.758, allocations: 0 / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.7581, allocations: 19.97 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.7581, allocations: 0 / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.414e-05/0.7582, allocations: 15.92 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.7582, allocations: 4 kB / 0.5966 GB, free: 7.945 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 0.00011/0.7583, allocations: 108.9 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.7583, allocations: 11.91 kB / 0.5968 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.7586, allocations: 114.2 kB / 0.5969 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.7586, allocations: 0 / 0.5969 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.7586, allocations: 4 kB / 0.5969 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7586, allocations: 288 / 0.5969 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.7591, allocations: 411.3 kB / 0.5973 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7592, allocations: 0 / 0.5973 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.7592, allocations: 15.88 kB / 0.5973 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.7592, allocations: 7.984 kB / 0.5973 GB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7592, allocations: 4 kB / 0.5973 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7592, allocations: 4.203 kB / 0.5973 GB, free: 7.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7593, allocations: 12.02 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.7595, allocations: 213.9 kB / 0.5975 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/0.7596, allocations: 100.9 kB / 0.5976 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.7596, allocations: 0 / 0.5976 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.7597, allocations: 8 kB / 0.5976 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.7598, allocations: 15.94 kB / 0.5976 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.7598, allocations: 4 kB / 0.5976 GB, free: 6.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001336/0.7599, allocations: 141 kB / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7599, allocations: 0 / 0.5978 GB, free: 6.684 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000269/0.7602, allocations: 31.98 kB / 0.5978 GB, free: 6.652 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.001597/0.7618, allocations: 1.124 MB / 0.5989 GB, free: 5.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.762, allocations: 63.86 kB / 0.5989 GB, free: 5.555 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.762, allocations: 4.062 kB / 0.599 GB, free: 5.551 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.7621, allocations: 39.86 kB / 0.599 GB, free: 5.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.7624, allocations: 27.88 kB / 0.599 GB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.763, allocations: 220.4 kB / 0.5992 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.7634, allocations: 0.7121 MB / 0.5999 GB, free: 4.484 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.517e-05/0.7634, allocations: 20.78 kB / 0.5999 GB, free: 4.465 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.058e-05/0.7635, allocations: 35.42 kB / 0.6 GB, free: 4.43 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.7635, allocations: 0 / 0.6 GB, free: 4.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.7807, allocations: 2.995 MB / 0.6029 GB, free: 1.523 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/0.781, allocations: 188 kB / 0.6031 GB, free: 1.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.489, allocations: 8.062 kB / 0.6031 GB, free: 1.289 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