Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001458/0.001458, allocations: 174.4 kB / 8.74 MB, free: 348 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.468/1.468, allocations: 221.5 MB / 230.7 MB, free: 7.59 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.001129/0.001129, allocations: 93.98 kB / 281.6 MB, free: 5.336 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.2443/0.2443, allocations: 44.16 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.261e-05, allocations: 4.219 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1916, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.6505, allocations: 87.32 MB / 0.58 GB, free: 9.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.6507, allocations: 67.97 kB / 0.5801 GB, free: 9.004 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009297/0.66, allocations: 3.675 MB / 0.5837 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6601, allocations: 4 kB / 0.5837 GB, free: 5.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.6601, allocations: 0 / 0.5837 GB, free: 5.34 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.0003109/0.6604, allocations: 361 kB / 0.584 GB, free: 4.945 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.6604, allocations: 11.98 kB / 0.5841 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.6605, allocations: 7.906 kB / 0.5841 GB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.6607, allocations: 197.4 kB / 0.5842 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.6607, allocations: 4 kB / 0.5843 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.6607, allocations: 0 / 0.5843 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.262e-05/0.6608, allocations: 19.94 kB / 0.5843 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.929e-05/0.6608, allocations: 41.64 kB / 0.5843 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.6609, allocations: 0 / 0.5843 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.6609, allocations: 0 / 0.5843 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.6609, allocations: 4 kB / 0.5843 GB, free: 4.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003045/0.6612, allocations: 261.4 kB / 0.5846 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.6613, allocations: 38.52 kB / 0.5846 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.6614, allocations: 12.86 kB / 0.5846 GB, free: 4.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.6614, allocations: 7.938 kB / 0.5846 GB, free: 4.258 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.6614, allocations: 38.58 kB / 0.5847 GB, free: 4.211 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6614, allocations: 0 / 0.5847 GB, free: 4.211 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003408/0.6618, allocations: 97.48 kB / 0.5848 GB, free: 4.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.6618, allocations: 51.41 kB / 0.5848 GB, free: 4.047 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.6619, allocations: 133.2 kB / 0.5849 GB, free: 3.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.6619, allocations: 25.7 kB / 0.585 GB, free: 3.875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.662, allocations: 92.14 kB / 0.585 GB, free: 3.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.662, allocations: 16.55 kB / 0.5851 GB, free: 3.766 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.662, allocations: 0 / 0.5851 GB, free: 3.766 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.511e-05/0.6621, allocations: 322.8 kB / 0.5854 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.6621, allocations: 11.94 kB / 0.5854 GB, free: 3.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.6622, allocations: 15.98 kB / 0.5854 GB, free: 3.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.78e-05/0.6622, allocations: 16.19 kB / 0.5854 GB, free: 3.398 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.6622, allocations: 0 / 0.5854 GB, free: 3.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.681e-05/0.6623, allocations: 61.64 kB / 0.5855 GB, free: 3.332 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.6623, allocations: 8 kB / 0.5855 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.6623, allocations: 3.938 kB / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.6623, allocations: 0 / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.6624, allocations: 19.98 kB / 0.5855 GB, free: 3.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.286e-06/0.6624, allocations: 4 kB / 0.5855 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.6625, allocations: 7.984 kB / 0.5855 GB, free: 3.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.6625, allocations: 144 / 0.5855 GB, free: 3.289 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 5.364e-05/0.6626, allocations: 105 kB / 0.5856 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.522e-05/0.6627, allocations: 69.48 kB / 0.5857 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.6627, allocations: 11.89 kB / 0.5857 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.6628, allocations: 74.08 kB / 0.5858 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.6628, allocations: 4 kB / 0.5858 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.6628, allocations: 0 / 0.5858 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6629, allocations: 0 / 0.5858 GB, free: 3.012 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.6631, allocations: 315 kB / 0.5861 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6631, allocations: 0 / 0.5861 GB, free: 2.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.6632, allocations: 15.98 kB / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.6632, allocations: 0 / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.6632, allocations: 0 / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6632, allocations: 4.188 kB / 0.5861 GB, free: 2.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6632, allocations: 8 kB / 0.5861 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.6634, allocations: 163.4 kB / 0.5862 GB, free: 2.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.6634, allocations: 89 kB / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.6634, allocations: 0 / 0.5863 GB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.515e-05/0.6635, allocations: 4 kB / 0.5863 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.6636, allocations: 7.984 kB / 0.5863 GB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.6636, allocations: 8 kB / 0.5863 GB, free: 2.332 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.129e-05/0.6637, allocations: 109.1 kB / 0.5864 GB, free: 2.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6637, allocations: 0 / 0.5864 GB, free: 2.227 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.6639, allocations: 15.94 kB / 0.5865 GB, free: 2.211 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.0009117/0.6648, allocations: 0.9407 MB / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.207e-05/0.6649, allocations: 31.98 kB / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6649, allocations: 0 / 0.5874 GB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.6649, allocations: 16 kB / 0.5874 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.6651, allocations: 11.98 kB / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.6655, allocations: 153.2 kB / 0.5876 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.6657, allocations: 0.704 MB / 0.5883 GB, free: 352 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.222e-05/0.6658, allocations: 16.16 kB / 0.5883 GB, free: 332 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.73e-05/0.6659, allocations: 23.44 kB / 0.5883 GB, free: 308 kB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6659, allocations: 3.938 kB / 0.5883 GB, free: 304 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.6826, allocations: 1.734 MB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/0.6828, allocations: 160.2 kB / 0.5902 GB, free: 14.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.48, allocations: 0 / 0.5902 GB, free: 14.37 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat does not exist to compare? outputFormat=mat