Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63",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.001676/0.001676, allocations: 179.9 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.463/1.463, allocations: 221.3 MB / 236 MB, free: 3 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.0009371/0.0009371, allocations: 95.78 kB / 287 MB, free: 264 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.2277/0.2277, allocations: 44.16 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.634e-05, allocations: 8.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1563, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4788/0.6352, allocations: 89.04 MB / 0.5888 GB, free: 232 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.6355, allocations: 75.95 kB / 0.5888 GB, free: 156 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.6515, allocations: 5.724 MB / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6515, allocations: 0 / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.6516, allocations: 0 / 0.5944 GB, free: 10.45 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005322/0.6521, allocations: 414.1 kB / 0.5948 GB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.6522, allocations: 8.031 kB / 0.5948 GB, free: 9.992 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/0.6522, allocations: 34.56 kB / 0.5949 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.169e-05/0.6523, allocations: 7.906 kB / 0.5949 GB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.6526, allocations: 226.5 kB / 0.5951 GB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.6527, allocations: 4 kB / 0.5951 GB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.6527, allocations: 7.953 kB / 0.5951 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.6528, allocations: 45.67 kB / 0.5951 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.6528, allocations: 0 / 0.5951 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.6529, allocations: 0 / 0.5951 GB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.6529, allocations: 11.88 kB / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.653, allocations: 12 kB / 0.5952 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.6533, allocations: 193.7 kB / 0.5953 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.6534, allocations: 50.62 kB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.6535, allocations: 16.86 kB / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.6535, allocations: 11.89 kB / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.6537, allocations: 71.45 kB / 0.5955 GB, free: 9.184 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.6538, allocations: 0 / 0.5955 GB, free: 9.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002544/0.654, allocations: 89.48 kB / 0.5956 GB, free: 9.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.6541, allocations: 51.41 kB / 0.5956 GB, free: 9.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.6544, allocations: 233.8 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.6545, allocations: 29.7 kB / 0.5959 GB, free: 8.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.758e-05/0.6545, allocations: 108.1 kB / 0.596 GB, free: 8.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.6546, allocations: 11.81 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.6546, allocations: 0 / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.6548, allocations: 330.8 kB / 0.5963 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/0.6548, allocations: 12 kB / 0.5963 GB, free: 8.285 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.425e-05/0.6549, allocations: 37.62 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.59e-05/0.6549, allocations: 12 kB / 0.5964 GB, free: 8.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6549, allocations: 0 / 0.5964 GB, free: 8.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001253/0.655, allocations: 81.58 kB / 0.5964 GB, free: 8.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.6551, allocations: 7.953 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6551, allocations: 4 kB / 0.5964 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.6551, allocations: 0 / 0.5964 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.6552, allocations: 16.09 kB / 0.5965 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6552, allocations: 0 / 0.5965 GB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.6553, allocations: 19.84 kB / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.6553, allocations: 11.97 kB / 0.5965 GB, free: 8.086 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 (7): * Single equations (assignments): 7 * 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.428e-05/0.6554, allocations: 102.5 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.6554, allocations: 11.91 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.6556, allocations: 106.5 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6556, allocations: 0 / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6556, allocations: 4 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6556, allocations: 4 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.6558, allocations: 201.6 kB / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6558, allocations: 0 / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.6559, allocations: 8 kB / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6559, allocations: 0 / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.6559, allocations: 0 / 0.5969 GB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.6559, allocations: 3.953 kB / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6559, allocations: 0 / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.6561, allocations: 124.9 kB / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.6562, allocations: 96.94 kB / 0.5971 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.6562, allocations: 4 kB / 0.5971 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.252e-05/0.6563, allocations: 4 kB / 0.5971 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.6563, allocations: 15.88 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.6563, allocations: 0 / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.6565, allocations: 196.2 kB / 0.5973 GB, free: 7.117 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6565, allocations: 0 / 0.5973 GB, free: 7.117 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.6567, allocations: 24 kB / 0.5974 GB, free: 7.094 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001264/0.658, allocations: 0.9261 MB / 0.5983 GB, free: 6.246 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.6581, allocations: 35.94 kB / 0.5983 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6581, allocations: 7.938 kB / 0.5983 GB, free: 6.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.845e-05/0.6582, allocations: 23.98 kB / 0.5983 GB, free: 6.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.6584, allocations: 31.78 kB / 0.5984 GB, free: 6.148 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.6591, allocations: 272.1 kB / 0.5986 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.6594, allocations: 0.7121 MB / 0.5993 GB, free: 5.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.246e-05/0.6594, allocations: 16.42 kB / 0.5993 GB, free: 5.094 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.6595, allocations: 43.42 kB / 0.5994 GB, free: 5.051 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/0.6595, allocations: 0 / 0.5994 GB, free: 5.051 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.6743, allocations: 3.155 MB / 0.6025 GB, free: 1.984 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.6746, allocations: 188 kB / 0.6026 GB, free: 1.758 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.331, allocations: 0 / 0.6026 GB, free: 1.758 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat