Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.001357/0.001358, 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.441/1.441, allocations: 221.3 MB / 236 MB, free: 2.887 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.0009868/0.0009868, allocations: 91.59 kB / 287 MB, free: 204 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.2103/0.2103, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.358e-05/5.359e-05, allocations: 8.156 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1799, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4958/0.6758, allocations: 89.04 MB / 0.5888 GB, free: 228 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.6761, allocations: 75.95 kB / 0.5888 GB, free: 152 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.6909, allocations: 5.723 MB / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.691, allocations: 0 / 0.5944 GB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.691, allocations: 4 kB / 0.5944 GB, free: 10.44 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.0005166/0.6915, allocations: 412.3 kB / 0.5948 GB, free: 9.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.6916, allocations: 8.031 kB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.6916, allocations: 34.56 kB / 0.5949 GB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.6917, allocations: 11.91 kB / 0.5949 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.6921, allocations: 226.5 kB / 0.5951 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.6921, allocations: 0 / 0.5951 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.6921, allocations: 3.953 kB / 0.5951 GB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.6923, allocations: 53.61 kB / 0.5951 GB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6923, allocations: 4 kB / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6923, allocations: 0 / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.6923, allocations: 0 / 0.5951 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.019e-05/0.6924, allocations: 12 kB / 0.5952 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.6926, allocations: 193.7 kB / 0.5953 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.6927, allocations: 50.62 kB / 0.5954 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.6928, allocations: 16.86 kB / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.6928, allocations: 11.89 kB / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.693, allocations: 75.45 kB / 0.5955 GB, free: 9.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.323e-06/0.693, allocations: 0 / 0.5955 GB, free: 9.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002188/0.6932, allocations: 81.48 kB / 0.5956 GB, free: 9.094 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.6932, allocations: 55.41 kB / 0.5956 GB, free: 9.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.6935, allocations: 233.8 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.6936, allocations: 25.7 kB / 0.5959 GB, free: 8.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.6936, allocations: 116.1 kB / 0.596 GB, free: 8.637 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.6937, allocations: 15.8 kB / 0.596 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-06/0.6937, allocations: 4 kB / 0.596 GB, free: 8.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6938, allocations: 322.8 kB / 0.5963 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.6939, allocations: 19.88 kB / 0.5963 GB, free: 8.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.6939, allocations: 33.7 kB / 0.5964 GB, free: 8.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.608e-05/0.694, allocations: 12 kB / 0.5964 GB, free: 8.223 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.694, allocations: 4 kB / 0.5964 GB, free: 8.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001339/0.6941, allocations: 85.52 kB / 0.5965 GB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.6941, allocations: 7.953 kB / 0.5965 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6942, allocations: 0 / 0.5965 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.6942, allocations: 0 / 0.5965 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.6943, allocations: 12 kB / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.6943, allocations: 0 / 0.5965 GB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.6943, allocations: 11.84 kB / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.6943, allocations: 0 / 0.5965 GB, free: 8.098 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 9.283e-05/0.6944, allocations: 118.5 kB / 0.5966 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.6945, allocations: 11.91 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.6947, allocations: 102.5 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6947, allocations: 3.984 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6947, allocations: 0 / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6947, allocations: 0 / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.6949, allocations: 205.6 kB / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6949, allocations: 0 / 0.5969 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.6949, allocations: 4 kB / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.6949, allocations: 0 / 0.5969 GB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.695, allocations: 8.188 kB / 0.5969 GB, free: 7.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.695, allocations: 7.953 kB / 0.5969 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.695, allocations: 0 / 0.5969 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.6952, allocations: 120.8 kB / 0.597 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.844e-05/0.6953, allocations: 101 kB / 0.5971 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.6953, allocations: 0 / 0.5971 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.6953, allocations: 4 kB / 0.5971 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.6954, allocations: 7.953 kB / 0.5971 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.6954, allocations: 7.984 kB / 0.5972 GB, free: 7.305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.6956, allocations: 196.2 kB / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6956, allocations: 0 / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002067/0.6958, allocations: 28 kB / 0.5974 GB, free: 7.086 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.001313/0.6971, allocations: 0.9255 MB / 0.5983 GB, free: 6.234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.6973, allocations: 36 kB / 0.5983 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6973, allocations: 0 / 0.5983 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.6974, allocations: 27.92 kB / 0.5983 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6976, allocations: 28.38 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.00058/0.6982, allocations: 268.2 kB / 0.5986 GB, free: 5.852 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.6986, allocations: 0.7239 MB / 0.5993 GB, free: 5.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.476e-05/0.6986, allocations: 16.42 kB / 0.5993 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.6987, allocations: 35.42 kB / 0.5994 GB, free: 5.051 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6987, allocations: 4 kB / 0.5994 GB, free: 5.047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.7136, allocations: 3.145 MB / 0.6024 GB, free: 1.984 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.7139, allocations: 188.1 kB / 0.6026 GB, free: 1.758 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.36, allocations: 0 / 0.6026 GB, free: 1.758 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat