Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57",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.00114/0.00114, allocations: 180.5 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.437/1.437, allocations: 221.3 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.0009236/0.0009234, allocations: 87.81 kB / 287 MB, free: 244 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.2169/0.2169, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.493e-05/4.496e-05, allocations: 8.156 kB / 451.9 MB, free: 9.34 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.5034/0.6721, allocations: 89.44 MB / 0.5892 GB, free: 15.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.6724, allocations: 75.95 kB / 0.5892 GB, free: 15.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01761/0.69, allocations: 5.983 MB / 0.5951 GB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6901, allocations: 0 / 0.5951 GB, free: 9.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.6901, allocations: 4 kB / 0.5951 GB, free: 9.781 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.0005512/0.6907, allocations: 390.2 kB / 0.5954 GB, free: 9.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.6908, allocations: 12.03 kB / 0.5955 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.6908, allocations: 38.55 kB / 0.5955 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.6909, allocations: 7.906 kB / 0.5955 GB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.6912, allocations: 208.9 kB / 0.5957 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.6912, allocations: 8 kB / 0.5957 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.6913, allocations: 0 / 0.5957 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.6914, allocations: 75.27 kB / 0.5958 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6915, allocations: 0 / 0.5958 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.6915, allocations: 0 / 0.5958 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.6915, allocations: 0 / 0.5958 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.6916, allocations: 16 kB / 0.5958 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.692, allocations: 296.9 kB / 0.5961 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.6921, allocations: 58.56 kB / 0.5961 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/0.6922, allocations: 24.97 kB / 0.5962 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.6922, allocations: 0 / 0.5962 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.6924, allocations: 75.39 kB / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.6924, allocations: 0 / 0.5962 GB, free: 8.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004853/0.6929, allocations: 149.2 kB / 0.5964 GB, free: 8.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.693, allocations: 81.11 kB / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.6931, allocations: 150.9 kB / 0.5966 GB, free: 8.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.6931, allocations: 25.7 kB / 0.5966 GB, free: 7.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.6932, allocations: 92.14 kB / 0.5967 GB, free: 7.891 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.6932, allocations: 27.64 kB / 0.5967 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.6933, allocations: 4 kB / 0.5967 GB, free: 7.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6934, allocations: 326.8 kB / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.194e-05/0.6934, allocations: 16 kB / 0.5971 GB, free: 7.516 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.6935, allocations: 38.58 kB / 0.5971 GB, free: 7.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.663e-05/0.6936, allocations: 23.92 kB / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6936, allocations: 0 / 0.5971 GB, free: 7.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001539/0.6937, allocations: 97.58 kB / 0.5972 GB, free: 7.344 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.6938, allocations: 4.062 kB / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.6938, allocations: 4 kB / 0.5972 GB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6938, allocations: 3.984 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.6939, allocations: 19.94 kB / 0.5972 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.6939, allocations: 3.953 kB / 0.5972 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.694, allocations: 8 kB / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.694, allocations: 0 / 0.5973 GB, free: 7.301 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 9.273e-05/0.6941, allocations: 113 kB / 0.5974 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.6941, allocations: 7.906 kB / 0.5974 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.6944, allocations: 118.2 kB / 0.5975 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6944, allocations: 0 / 0.5975 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.6944, allocations: 0 / 0.5975 GB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.6944, allocations: 8.172 kB / 0.5975 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.6949, allocations: 403.2 kB / 0.5979 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6949, allocations: 0 / 0.5979 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.975e-05/0.6949, allocations: 11.94 kB / 0.5979 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6949, allocations: 0 / 0.5979 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.695, allocations: 8.031 kB / 0.5979 GB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.695, allocations: 7.891 kB / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.695, allocations: 0 / 0.5979 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.6952, allocations: 214.2 kB / 0.5981 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.6953, allocations: 93 kB / 0.5982 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.6953, allocations: 3.953 kB / 0.5982 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.189e-05/0.6954, allocations: 15.98 kB / 0.5982 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.6954, allocations: 4 kB / 0.5982 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.6955, allocations: 4.188 kB / 0.5982 GB, free: 6.195 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.676e-05/0.6956, allocations: 117.3 kB / 0.5983 GB, free: 6.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6956, allocations: 0 / 0.5983 GB, free: 6.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000293/0.6959, allocations: 47.92 kB / 0.5984 GB, free: 6.035 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.001558/0.6974, allocations: 1.18 MB / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.6976, allocations: 59.92 kB / 0.5996 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6976, allocations: 0 / 0.5996 GB, free: 4.895 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/0.6977, allocations: 31.94 kB / 0.5996 GB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.698, allocations: 27.97 kB / 0.5996 GB, free: 4.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.6985, allocations: 197.1 kB / 0.5998 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.6989, allocations: 0.7043 MB / 0.6005 GB, free: 3.871 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.207e-05/0.699, allocations: 20.84 kB / 0.6005 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.142e-05/0.699, allocations: 39.36 kB / 0.6006 GB, free: 3.812 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6991, allocations: 4 kB / 0.6006 GB, free: 3.809 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.7171, allocations: 3.083 MB / 0.6036 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.7175, allocations: 191.4 kB / 0.6038 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.476, allocations: 12 kB / 0.6038 GB, free: 0.5781 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat does not exist to compare? outputFormat=mat