Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001553/0.001553, 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.492/1.492, allocations: 221.3 MB / 236 MB, free: 2.906 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.001093/0.001093, allocations: 83.92 kB / 287 MB, free: 192 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.2117/0.2117, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.73e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1361, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5993, allocations: 88.43 MB / 0.5881 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.5996, allocations: 63.97 kB / 0.5882 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01766/0.6173, allocations: 7.851 MB / 0.5959 GB, free: 8.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.6173, allocations: 0 / 0.5959 GB, free: 8.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.6174, allocations: 11.94 kB / 0.5959 GB, free: 8.883 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.0007422/0.6181, allocations: 0.5559 MB / 0.5964 GB, free: 8.281 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.6182, allocations: 8.031 kB / 0.5964 GB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.6183, allocations: 42.55 kB / 0.5965 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.6183, allocations: 39.44 kB / 0.5965 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.6189, allocations: 327.3 kB / 0.5968 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.6189, allocations: 0 / 0.5968 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.619, allocations: 4 kB / 0.5968 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.6192, allocations: 49.67 kB / 0.5969 GB, free: 7.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.6192, allocations: 3.938 kB / 0.5969 GB, free: 7.758 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6192, allocations: 8 kB / 0.5969 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6192, allocations: 0 / 0.5969 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/0.6193, allocations: 15.98 kB / 0.5969 GB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.6199, allocations: 432.7 kB / 0.5973 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.6202, allocations: 42.52 kB / 0.5974 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.6202, allocations: 12.86 kB / 0.5974 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.6202, allocations: 4.094 kB / 0.5974 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.6203, allocations: 38.55 kB / 0.5974 GB, free: 7.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 3.927e-06/0.6203, allocations: 0 / 0.5974 GB, free: 7.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005206/0.6208, allocations: 195.7 kB / 0.5976 GB, free: 6.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.6209, allocations: 51.41 kB / 0.5976 GB, free: 6.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.6221, allocations: 0.785 MB / 0.5984 GB, free: 6.098 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.6221, allocations: 25.7 kB / 0.5984 GB, free: 6.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.6223, allocations: 220.1 kB / 0.5986 GB, free: 5.848 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.6224, allocations: 15.75 kB / 0.5987 GB, free: 5.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.6224, allocations: 0 / 0.5987 GB, free: 5.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.6226, allocations: 362.8 kB / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.6226, allocations: 8 kB / 0.599 GB, free: 5.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.322e-05/0.6227, allocations: 12 kB / 0.599 GB, free: 5.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.6227, allocations: 8 kB / 0.599 GB, free: 5.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.6227, allocations: 4 kB / 0.599 GB, free: 5.438 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001569/0.6229, allocations: 101.1 kB / 0.5991 GB, free: 5.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6229, allocations: 8 kB / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6229, allocations: 0 / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.623, allocations: 0 / 0.5991 GB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.6231, allocations: 15.98 kB / 0.5992 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6231, allocations: 3.953 kB / 0.5992 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/0.6232, allocations: 4.25 kB / 0.5992 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.6232, allocations: 12 kB / 0.5992 GB, free: 5.289 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 (5): * Single equations (assignments): 5 * 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.947e-05/0.6233, allocations: 101 kB / 0.5993 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-05/0.6234, allocations: 39.53 kB / 0.5993 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.6236, allocations: 125 kB / 0.5994 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6236, allocations: 3.938 kB / 0.5994 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.6236, allocations: 3.984 kB / 0.5994 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6236, allocations: 3.953 kB / 0.5994 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008026/0.6244, allocations: 0.5648 MB / 0.6 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6244, allocations: 0 / 0.6 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.6245, allocations: 15.98 kB / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6245, allocations: 0 / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.6245, allocations: 3.938 kB / 0.6 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.6245, allocations: 3.953 kB / 0.6 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6246, allocations: 0 / 0.6 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.6248, allocations: 199 kB / 0.6002 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.625, allocations: 160.5 kB / 0.6004 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.6251, allocations: 0 / 0.6004 GB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.915e-05/0.6252, allocations: 15.98 kB / 0.6004 GB, free: 3.949 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.6252, allocations: 3.953 kB / 0.6004 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.6252, allocations: 4 kB / 0.6004 GB, free: 3.941 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007176/0.6259, allocations: 0.6342 MB / 0.601 GB, free: 3.309 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.626, allocations: 0 / 0.601 GB, free: 3.309 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003011/0.6263, allocations: 59.94 kB / 0.6011 GB, free: 3.25 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001639/0.6279, allocations: 0.9946 MB / 0.602 GB, free: 2.344 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.6281, allocations: 28 kB / 0.6021 GB, free: 2.316 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6281, allocations: 0 / 0.6021 GB, free: 2.316 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.6281, allocations: 23.92 kB / 0.6021 GB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.6285, allocations: 33.98 kB / 0.6021 GB, free: 2.254 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.63, allocations: 0.8152 MB / 0.6029 GB, free: 1.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/0.6306, allocations: 0.8333 MB / 0.6037 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.803e-05/0.6307, allocations: 44 kB / 0.6038 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.631, allocations: 107.4 kB / 0.6039 GB, free: 408 kB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.631, allocations: 0 / 0.6039 GB, free: 408 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.6573, allocations: 6.417 MB / 0.6101 GB, free: 10.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.6577, allocations: 185.9 kB / 0.6103 GB, free: 9.809 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.792, allocations: 0 / 0.6103 GB, free: 9.809 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat does not exist to compare? outputFormat=mat