Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.001043/0.001043, 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.646/1.646, allocations: 221.3 MB / 236 MB, free: 2.977 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.001084/0.001084, allocations: 89.78 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.2064/0.2064, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.972e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1621, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5291/0.6913, allocations: 87.97 MB / 0.5877 GB, free: 1.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.6916, allocations: 67.97 kB / 0.5878 GB, free: 1.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01242/0.704, allocations: 4.273 MB / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.7041, allocations: 0 / 0.5919 GB, free: 12.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.079e-05/0.7042, allocations: 4 kB / 0.5919 GB, free: 12.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005705/0.7047, allocations: 390.2 kB / 0.5923 GB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.7048, allocations: 12.03 kB / 0.5923 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.7049, allocations: 34.56 kB / 0.5924 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.7049, allocations: 7.906 kB / 0.5924 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.7052, allocations: 206.7 kB / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7052, allocations: 7.969 kB / 0.5926 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.7052, allocations: 7.953 kB / 0.5926 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.7054, allocations: 49.62 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.7054, allocations: 0 / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.7055, allocations: 4 kB / 0.5926 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.7055, allocations: 11.92 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.741e-05/0.7056, allocations: 16 kB / 0.5927 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.706, allocations: 292.8 kB / 0.5929 GB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.142e-05/0.7061, allocations: 34.52 kB / 0.593 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.7062, allocations: 20.86 kB / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.7062, allocations: 96 / 0.593 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.7062, allocations: 34.55 kB / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.7062, allocations: 0 / 0.593 GB, free: 11.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.00056/0.7068, allocations: 149.2 kB / 0.5932 GB, free: 11.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.7069, allocations: 55.41 kB / 0.5932 GB, free: 11.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.7071, allocations: 185.3 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.7071, allocations: 29.7 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.7072, allocations: 100.2 kB / 0.5935 GB, free: 11.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.7073, allocations: 31.62 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.7073, allocations: 0 / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7075, allocations: 322.8 kB / 0.5939 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.145e-05/0.7075, allocations: 19.98 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.7076, allocations: 20.02 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.7076, allocations: 20.14 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.7076, allocations: 4 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001459/0.7078, allocations: 81.5 kB / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.7078, allocations: 4 kB / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.7078, allocations: 0 / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.7078, allocations: 4 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.708, allocations: 19.98 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.708, allocations: 0 / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.708, allocations: 7.984 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.7081, allocations: 4 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001044/0.7082, allocations: 120.8 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.7082, allocations: 7.906 kB / 0.5942 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.7084, allocations: 98.28 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7085, allocations: 0 / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7085, allocations: 0 / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.7085, allocations: 4 kB / 0.5943 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.709, allocations: 399.2 kB / 0.5946 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.709, allocations: 0 / 0.5946 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.82e-05/0.7091, allocations: 23.92 kB / 0.5947 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.7091, allocations: 0 / 0.5947 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.7091, allocations: 288 / 0.5947 GB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.7091, allocations: 4 kB / 0.5947 GB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7092, allocations: 4 kB / 0.5947 GB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.7094, allocations: 206.2 kB / 0.5949 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.7095, allocations: 100.8 kB / 0.595 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.7095, allocations: 3.984 kB / 0.595 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.7096, allocations: 12 kB / 0.595 GB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.7097, allocations: 11.94 kB / 0.595 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.7097, allocations: 0 / 0.595 GB, free: 9.477 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.7098, allocations: 156.1 kB / 0.5951 GB, free: 9.324 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.325e-06/0.7098, allocations: 4 kB / 0.5951 GB, free: 9.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002545/0.7101, allocations: 31.88 kB / 0.5952 GB, free: 9.289 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001449/0.7116, allocations: 1.098 MB / 0.5962 GB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.7117, allocations: 51.92 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7117, allocations: 0 / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-05/0.7118, allocations: 23.94 kB / 0.5963 GB, free: 8.207 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.712, allocations: 31.19 kB / 0.5963 GB, free: 8.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.7126, allocations: 232.4 kB / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.713, allocations: 0.7121 MB / 0.5973 GB, free: 7.168 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.7131, allocations: 20.95 kB / 0.5973 GB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.926e-05/0.7132, allocations: 35.42 kB / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.7132, allocations: 0 / 0.5973 GB, free: 7.109 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.7281, allocations: 2.66 MB / 0.5999 GB, free: 4.523 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.7283, allocations: 186.9 kB / 0.6001 GB, free: 4.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.391, allocations: 0 / 0.6001 GB, free: 4.297 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat