Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.001142/0.001142, 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.629/1.629, allocations: 221.3 MB / 236 MB, free: 2.965 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.0008828/0.0008831, allocations: 92.03 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.2286/0.2286, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.822e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.487/0.6556, allocations: 89.21 MB / 0.5889 GB, free: 32 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.656, allocations: 72.05 kB / 0.589 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01763/0.6737, allocations: 5.678 MB / 0.5945 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6737, allocations: 4 kB / 0.5945 GB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.6738, allocations: 4 kB / 0.5946 GB, free: 10.29 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.000698/0.6745, allocations: 406.3 kB / 0.5949 GB, free: 9.852 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.806e-05/0.6745, allocations: 12.03 kB / 0.595 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/0.6746, allocations: 38.5 kB / 0.595 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.6747, allocations: 11.81 kB / 0.595 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003989/0.6751, allocations: 223.3 kB / 0.5952 GB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.6751, allocations: 3.953 kB / 0.5952 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.6752, allocations: 8 kB / 0.5952 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.6753, allocations: 57.61 kB / 0.5953 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6753, allocations: 0 / 0.5953 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6754, allocations: 0 / 0.5953 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.6754, allocations: 4 kB / 0.5953 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.6755, allocations: 16 kB / 0.5953 GB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.6761, allocations: 304.8 kB / 0.5956 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.6762, allocations: 58.62 kB / 0.5956 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.6763, allocations: 20.98 kB / 0.5957 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.6763, allocations: 0 / 0.5957 GB, free: 8.992 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.6765, allocations: 63.39 kB / 0.5957 GB, free: 8.918 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.6765, allocations: 0 / 0.5957 GB, free: 8.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005714/0.6771, allocations: 165.1 kB / 0.5959 GB, free: 8.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.6772, allocations: 55.41 kB / 0.5959 GB, free: 8.684 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.6774, allocations: 198.4 kB / 0.5961 GB, free: 8.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6775, allocations: 25.7 kB / 0.5961 GB, free: 8.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.6775, allocations: 100.1 kB / 0.5962 GB, free: 8.348 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.6776, allocations: 27.64 kB / 0.5963 GB, free: 8.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.6776, allocations: 4 kB / 0.5963 GB, free: 8.316 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.6778, allocations: 334.7 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.6778, allocations: 16 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.012e-05/0.6779, allocations: 45.69 kB / 0.5967 GB, free: 7.914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.678, allocations: 16 kB / 0.5967 GB, free: 7.898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.678, allocations: 0 / 0.5967 GB, free: 7.898 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.6782, allocations: 105.4 kB / 0.5968 GB, free: 7.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6782, allocations: 5.094 kB / 0.5968 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6782, allocations: 0 / 0.5968 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6782, allocations: 0 / 0.5968 GB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.6783, allocations: 16 kB / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.6784, allocations: 0 / 0.5968 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.447e-05/0.6784, allocations: 16.02 kB / 0.5968 GB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.6784, allocations: 0 / 0.5968 GB, free: 7.754 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.0001052/0.6785, allocations: 118.6 kB / 0.5969 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.6786, allocations: 11.91 kB / 0.5969 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.6788, allocations: 119 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6789, allocations: 0 / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.6789, allocations: 3.938 kB / 0.597 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6789, allocations: 3.938 kB / 0.597 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.6795, allocations: 419.3 kB / 0.5974 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6795, allocations: 3.938 kB / 0.5975 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.6795, allocations: 12 kB / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.6795, allocations: 0 / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.6796, allocations: 0 / 0.5975 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.6796, allocations: 4 kB / 0.5975 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6796, allocations: 0 / 0.5975 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002664/0.6798, allocations: 221.9 kB / 0.5977 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.6799, allocations: 104.9 kB / 0.5978 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.68, allocations: 192 / 0.5978 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.6801, allocations: 11.98 kB / 0.5978 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.6801, allocations: 11.95 kB / 0.5978 GB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.6801, allocations: 0 / 0.5978 GB, free: 6.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.6803, allocations: 160.2 kB / 0.598 GB, free: 6.453 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6803, allocations: 0 / 0.598 GB, free: 6.453 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.6806, allocations: 39.92 kB / 0.598 GB, free: 6.414 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.001667/0.6823, allocations: 1.135 MB / 0.5991 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.6824, allocations: 55.98 kB / 0.5992 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6825, allocations: 0 / 0.5992 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.739e-05/0.6825, allocations: 31.94 kB / 0.5992 GB, free: 5.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.6828, allocations: 32 kB / 0.5992 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.6835, allocations: 252.3 kB / 0.5995 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.6839, allocations: 0.7082 MB / 0.6001 GB, free: 4.234 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.072e-05/0.6839, allocations: 16.55 kB / 0.6002 GB, free: 4.219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.684, allocations: 43.42 kB / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of SimCode: time 3.7e-07/0.684, allocations: 0 / 0.6002 GB, free: 4.176 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.7003, allocations: 3.149 MB / 0.6033 GB, free: 1.117 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.7006, allocations: 188.1 kB / 0.6035 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.559, allocations: 0 / 0.6035 GB, free: 0.8906 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat