Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001894/0.001893, allocations: 179.8 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.464/1.464, allocations: 221.3 MB / 236 MB, free: 2.945 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.0008405/0.0008403, allocations: 95.22 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.1936/0.1936, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.38e-05/4.382e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1553, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.643, allocations: 88.99 MB / 0.5887 GB, free: 248 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.6434, allocations: 75.95 kB / 0.5888 GB, free: 172 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02101/0.6644, allocations: 8.453 MB / 0.597 GB, free: 7.715 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.6645, allocations: 4 kB / 0.597 GB, free: 7.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.145e-05/0.6646, allocations: 12 kB / 0.5971 GB, free: 7.699 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000825/0.6654, allocations: 0.5597 MB / 0.5976 GB, free: 7.094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.6655, allocations: 8.031 kB / 0.5976 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.813e-05/0.6656, allocations: 38.5 kB / 0.5976 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.374e-05/0.6657, allocations: 39.53 kB / 0.5977 GB, free: 7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006499/0.6663, allocations: 331.1 kB / 0.598 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.6663, allocations: 4 kB / 0.598 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.6664, allocations: 8 kB / 0.598 GB, free: 6.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.6666, allocations: 57.62 kB / 0.5981 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.6666, allocations: 0 / 0.5981 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.6666, allocations: 0 / 0.5981 GB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.6666, allocations: 7.938 kB / 0.5981 GB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.6667, allocations: 23.98 kB / 0.5981 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.6675, allocations: 468.5 kB / 0.5985 GB, free: 6.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.6676, allocations: 42.59 kB / 0.5986 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/0.6677, allocations: 12.86 kB / 0.5986 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.6677, allocations: 0 / 0.5986 GB, free: 5.957 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.6678, allocations: 34.56 kB / 0.5986 GB, free: 5.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.6678, allocations: 0 / 0.5986 GB, free: 5.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007339/0.6685, allocations: 259.9 kB / 0.5989 GB, free: 5.652 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.6686, allocations: 51.41 kB / 0.5989 GB, free: 5.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.6699, allocations: 0.7811 MB / 0.5997 GB, free: 4.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.67, allocations: 29.7 kB / 0.5997 GB, free: 4.766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.6702, allocations: 220.1 kB / 0.5999 GB, free: 4.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.6703, allocations: 27.56 kB / 0.5999 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.6703, allocations: 4 kB / 0.6 GB, free: 4.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.6706, allocations: 362.8 kB / 0.6003 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.6706, allocations: 23.94 kB / 0.6003 GB, free: 4.129 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.6707, allocations: 27.98 kB / 0.6003 GB, free: 4.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.462e-05/0.6707, allocations: 24.22 kB / 0.6004 GB, free: 4.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.6707, allocations: 0 / 0.6004 GB, free: 4.078 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002097/0.6709, allocations: 125.2 kB / 0.6005 GB, free: 3.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.671, allocations: 4 kB / 0.6005 GB, free: 3.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.671, allocations: 4 kB / 0.6005 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.671, allocations: 3.953 kB / 0.6005 GB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.6712, allocations: 23.98 kB / 0.6005 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.6712, allocations: 0 / 0.6005 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.6713, allocations: 15.89 kB / 0.6005 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.6713, allocations: 4 kB / 0.6005 GB, free: 3.895 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.0001125/0.6714, allocations: 104.9 kB / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.6715, allocations: 43.47 kB / 0.6007 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.6718, allocations: 157.5 kB / 0.6008 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.6718, allocations: 3.953 kB / 0.6008 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6718, allocations: 0 / 0.6008 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.6719, allocations: 4 kB / 0.6008 GB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009738/0.6728, allocations: 0.6241 MB / 0.6015 GB, free: 2.887 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.6729, allocations: 7.938 kB / 0.6015 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.673, allocations: 27.88 kB / 0.6015 GB, free: 2.852 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.673, allocations: 4.031 kB / 0.6015 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.673, allocations: 0 / 0.6015 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.673, allocations: 0 / 0.6015 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.673, allocations: 8 kB / 0.6015 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.6733, allocations: 237.5 kB / 0.6017 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.6735, allocations: 164.5 kB / 0.6019 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.6736, allocations: 8 kB / 0.6019 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.6737, allocations: 7.984 kB / 0.6019 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.6738, allocations: 4 kB / 0.6019 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.6738, allocations: 4 kB / 0.6019 GB, free: 2.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008766/0.6747, allocations: 0.642 MB / 0.6025 GB, free: 1.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6747, allocations: 0 / 0.6025 GB, free: 1.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.675, allocations: 75.92 kB / 0.6026 GB, free: 1.664 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.00189/0.6769, allocations: 1.165 MB / 0.6037 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.6771, allocations: 55.98 kB / 0.6038 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6772, allocations: 0 / 0.6038 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.216e-05/0.6772, allocations: 31.94 kB / 0.6038 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.6776, allocations: 26.08 kB / 0.6039 GB, free: 488 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.6794, allocations: 0.8544 MB / 0.6047 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.68, allocations: 0.8418 MB / 0.6055 GB, free: 14.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.6801, allocations: 52.95 kB / 0.6056 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.6804, allocations: 123.4 kB / 0.6057 GB, free: 14.54 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6804, allocations: 0 / 0.6057 GB, free: 14.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.7143, allocations: 6.816 MB / 0.6123 GB, free: 7.781 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000379/0.7148, allocations: 185.9 kB / 0.6125 GB, free: 7.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.78, allocations: 7.938 kB / 0.6125 GB, free: 7.547 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat