Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0009718/0.0009717, allocations: 102.1 kB / 281.6 MB, free: 5.289 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2514/0.2514, allocations: 44.14 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.977e-05/1.98e-05, allocations: 8.156 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1551, allocations: 61.92 MB / 0.4948 GB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4966/0.6517, allocations: 87.32 MB / 0.58 GB, free: 9.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.652, allocations: 75.95 kB / 0.5801 GB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009733/0.6617, allocations: 3.74 MB / 0.5838 GB, free: 5.219 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6618, allocations: 0 / 0.5838 GB, free: 5.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.6618, allocations: 0 / 0.5838 GB, free: 5.219 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004276/0.6622, allocations: 370.4 kB / 0.5841 GB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6623, allocations: 11.98 kB / 0.5841 GB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.6623, allocations: 11.91 kB / 0.5841 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.6625, allocations: 201.4 kB / 0.5843 GB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.6626, allocations: 7.953 kB / 0.5843 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-06/0.6626, allocations: 4 kB / 0.5843 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.493e-05/0.6626, allocations: 12 kB / 0.5844 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.959e-05/0.6627, allocations: 41.69 kB / 0.5844 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.6627, allocations: 0 / 0.5844 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-06/0.6627, allocations: 0 / 0.5844 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-06/0.6627, allocations: 0.75 kB / 0.5844 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.6631, allocations: 269.4 kB / 0.5847 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.6633, allocations: 38.58 kB / 0.5847 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.6633, allocations: 8.953 kB / 0.5847 GB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.6633, allocations: 7.922 kB / 0.5847 GB, free: 4.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.6634, allocations: 30.56 kB / 0.5847 GB, free: 4.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6634, allocations: 0 / 0.5847 GB, free: 4.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003954/0.6638, allocations: 113.5 kB / 0.5848 GB, free: 3.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.6638, allocations: 59.34 kB / 0.5849 GB, free: 3.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.664, allocations: 144.8 kB / 0.585 GB, free: 3.742 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.664, allocations: 25.7 kB / 0.5851 GB, free: 3.711 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.6641, allocations: 100.1 kB / 0.5852 GB, free: 3.609 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.6641, allocations: 11.72 kB / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.6641, allocations: 0 / 0.5852 GB, free: 3.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6642, allocations: 326.8 kB / 0.5855 GB, free: 3.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.6643, allocations: 16 kB / 0.5855 GB, free: 3.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.6643, allocations: 11.98 kB / 0.5855 GB, free: 3.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.6643, allocations: 12.19 kB / 0.5855 GB, free: 3.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.6643, allocations: 0 / 0.5855 GB, free: 3.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.6644, allocations: 73.53 kB / 0.5856 GB, free: 3.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6645, allocations: 9.406 kB / 0.5856 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.6645, allocations: 0 / 0.5856 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6645, allocations: 3.984 kB / 0.5856 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.6646, allocations: 15.98 kB / 0.5856 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.6646, allocations: 4 kB / 0.5856 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.6646, allocations: 4 kB / 0.5856 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.6647, allocations: 7.984 kB / 0.5856 GB, free: 3.109 MB / 394.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 8.125e-05/0.6647, allocations: 104.9 kB / 0.5857 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001209/0.6649, allocations: 65.59 kB / 0.5858 GB, free: 2.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.6649, allocations: 7.906 kB / 0.5858 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.6651, allocations: 74.02 kB / 0.5859 GB, free: 2.844 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6651, allocations: 4 kB / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6651, allocations: 4 kB / 0.5859 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6651, allocations: 0 / 0.5859 GB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.6654, allocations: 319.1 kB / 0.5862 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/0.6654, allocations: 3.984 kB / 0.5862 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.6655, allocations: 15.94 kB / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6655, allocations: 0 / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.6655, allocations: 0 / 0.5862 GB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6655, allocations: 3.938 kB / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6656, allocations: 7.984 kB / 0.5862 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.6657, allocations: 171.6 kB / 0.5864 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.6658, allocations: 85.02 kB / 0.5865 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.6658, allocations: 4 kB / 0.5865 GB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.992e-05/0.6659, allocations: 7.984 kB / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.6659, allocations: 0 / 0.5865 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.666, allocations: 4 kB / 0.5865 GB, free: 2.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.583e-05/0.6661, allocations: 133.1 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6661, allocations: 0 / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.6663, allocations: 19.94 kB / 0.5866 GB, free: 2 MB / 394.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.001115/0.6674, allocations: 0.9247 MB / 0.5875 GB, free: 1.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.6675, allocations: 35.98 kB / 0.5876 GB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6675, allocations: 0 / 0.5876 GB, free: 1.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.129e-05/0.6676, allocations: 19.94 kB / 0.5876 GB, free: 1.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.6678, allocations: 13.64 kB / 0.5876 GB, free: 1.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/0.6682, allocations: 174 kB / 0.5878 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.6685, allocations: 0.7002 MB / 0.5884 GB, free: 124 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.773e-05/0.6686, allocations: 12.17 kB / 0.5885 GB, free: 108 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.6686, allocations: 35.36 kB / 0.5885 GB, free: 72 kB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6686, allocations: 3.938 kB / 0.5885 GB, free: 68 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.6883, allocations: 1.871 MB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.6886, allocations: 162.5 kB / 0.5905 GB, free: 14.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/2.104, allocations: 0 / 0.5905 GB, free: 14.01 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat does not exist to compare? outputFormat=mat