Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.001653/0.001653, allocations: 179.4 kB / 14.15 MB, free: 1.172 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.549/1.549, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008745/0.0008744, allocations: 101.8 kB / 287 MB, free: 232 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.2219/0.2219, allocations: 44.15 MB / 382.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.55e-05/4.553e-05, allocations: 12 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1536, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5202/0.6738, allocations: 89.18 MB / 0.5889 GB, free: 76 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/0.6743, allocations: 71.97 kB / 0.589 GB, free: 4 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.6903, allocations: 5.469 MB / 0.5943 GB, free: 10.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6903, allocations: 4 kB / 0.5943 GB, free: 10.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.6904, allocations: 4 kB / 0.5943 GB, free: 10.54 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.0005602/0.6909, allocations: 398.2 kB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.691, allocations: 12.03 kB / 0.5947 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.691, allocations: 34.56 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.6911, allocations: 7.906 kB / 0.5947 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.6914, allocations: 206.8 kB / 0.5949 GB, free: 9.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6915, allocations: 15.89 kB / 0.595 GB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.6915, allocations: 4 kB / 0.595 GB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.6916, allocations: 53.67 kB / 0.595 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.6917, allocations: 3.938 kB / 0.595 GB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.6917, allocations: 7.938 kB / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6917, allocations: 0 / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.837e-05/0.6918, allocations: 16 kB / 0.595 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.6922, allocations: 296.9 kB / 0.5953 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.6924, allocations: 62.62 kB / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.6924, allocations: 16.98 kB / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.6925, allocations: 0 / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.6926, allocations: 67.39 kB / 0.5955 GB, free: 9.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.6926, allocations: 0 / 0.5955 GB, free: 9.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004858/0.6931, allocations: 161.1 kB / 0.5956 GB, free: 9.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.6932, allocations: 55.41 kB / 0.5957 GB, free: 8.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.6934, allocations: 169.4 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.6934, allocations: 29.7 kB / 0.5959 GB, free: 8.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.6935, allocations: 96.14 kB / 0.596 GB, free: 8.652 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.6935, allocations: 23.7 kB / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.6935, allocations: 0 / 0.596 GB, free: 8.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6936, allocations: 326.8 kB / 0.5963 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.6937, allocations: 20 kB / 0.5963 GB, free: 8.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.6938, allocations: 37.72 kB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.027e-05/0.6938, allocations: 31.91 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6938, allocations: 0 / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.694, allocations: 101.5 kB / 0.5965 GB, free: 8.102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.694, allocations: 4 kB / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.694, allocations: 4.188 kB / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.694, allocations: 0 / 0.5965 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.6941, allocations: 19.94 kB / 0.5965 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.6942, allocations: 4.031 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.6942, allocations: 11.92 kB / 0.5965 GB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.6942, allocations: 4 kB / 0.5965 GB, free: 8.055 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 7.659e-05/0.6943, allocations: 112.9 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.6943, allocations: 7.906 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.6946, allocations: 118.3 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6946, allocations: 0 / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6946, allocations: 0 / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6946, allocations: 4 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.6951, allocations: 415.2 kB / 0.5971 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6951, allocations: 3.938 kB / 0.5971 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.038e-05/0.6951, allocations: 8 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6951, allocations: 4 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6951, allocations: 3.984 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.6951, allocations: 0 / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6952, allocations: 7.938 kB / 0.5972 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.6954, allocations: 214 kB / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.6954, allocations: 92.92 kB / 0.5975 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.6955, allocations: 7.984 kB / 0.5975 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.791e-05/0.6956, allocations: 7.938 kB / 0.5975 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.6956, allocations: 7.953 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.6956, allocations: 11.98 kB / 0.5975 GB, free: 6.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.6957, allocations: 141 kB / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6958, allocations: 0 / 0.5976 GB, free: 6.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002507/0.696, allocations: 31.98 kB / 0.5977 GB, free: 6.77 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.001523/0.6975, allocations: 1.133 MB / 0.5988 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001569/0.6977, allocations: 59.92 kB / 0.5988 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6977, allocations: 3.938 kB / 0.5988 GB, free: 5.664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.6978, allocations: 32.16 kB / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.6981, allocations: 36.02 kB / 0.5989 GB, free: 5.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005561/0.6987, allocations: 220.4 kB / 0.5991 GB, free: 5.336 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.6989, allocations: 0.7043 MB / 0.5998 GB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.923e-05/0.699, allocations: 20.47 kB / 0.5998 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.6991, allocations: 35.42 kB / 0.5998 GB, free: 4.551 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6991, allocations: 0 / 0.5998 GB, free: 4.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.715, allocations: 2.993 MB / 0.6028 GB, free: 1.645 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.7153, allocations: 198.1 kB / 0.603 GB, free: 1.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.464, allocations: 4.062 kB / 0.603 GB, free: 1.406 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat