Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23",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.001354/0.001355, allocations: 172.3 kB / 8.741 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.518/1.518, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.001031/0.001031, allocations: 103.1 kB / 281.6 MB, free: 5.258 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.2333/0.2333, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.749e-05/1.75e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.146, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5747, allocations: 87.5 MB / 0.5802 GB, free: 8.836 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.575, allocations: 72.91 kB / 0.5803 GB, free: 8.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01052/0.5855, allocations: 4.157 MB / 0.5843 GB, free: 4.629 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5855, allocations: 0 / 0.5843 GB, free: 4.629 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.5856, allocations: 8 kB / 0.5844 GB, free: 4.621 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.0003302/0.5859, allocations: 366.5 kB / 0.5847 GB, free: 4.219 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.586, allocations: 11.98 kB / 0.5847 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.586, allocations: 7.906 kB / 0.5847 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.5862, allocations: 183 kB / 0.5849 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.5863, allocations: 0 / 0.5849 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.5863, allocations: 11.94 kB / 0.5849 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.076e-05/0.5864, allocations: 15.95 kB / 0.5849 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.5865, allocations: 51.41 kB / 0.585 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5865, allocations: 0 / 0.585 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5865, allocations: 0 / 0.585 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.5865, allocations: 0 / 0.585 GB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.5868, allocations: 241.5 kB / 0.5852 GB, free: 3.617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.587, allocations: 58.39 kB / 0.5853 GB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.587, allocations: 4.859 kB / 0.5853 GB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.5871, allocations: 4 kB / 0.5853 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5871, allocations: 30.56 kB / 0.5853 GB, free: 3.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.5871, allocations: 0 / 0.5853 GB, free: 3.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003677/0.5875, allocations: 109.4 kB / 0.5854 GB, free: 3.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5875, allocations: 77.11 kB / 0.5855 GB, free: 3.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.5877, allocations: 123.6 kB / 0.5856 GB, free: 3.168 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.5877, allocations: 25.7 kB / 0.5856 GB, free: 3.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.5877, allocations: 88.14 kB / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/0.5878, allocations: 15.75 kB / 0.5857 GB, free: 3.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.5878, allocations: 0 / 0.5857 GB, free: 3.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.5879, allocations: 322.8 kB / 0.586 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.5879, allocations: 8.75 kB / 0.586 GB, free: 2.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.588, allocations: 21.72 kB / 0.5861 GB, free: 2.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.588, allocations: 11.98 kB / 0.5861 GB, free: 2.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.588, allocations: 0 / 0.5861 GB, free: 2.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.079e-05/0.5881, allocations: 65.5 kB / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.5881, allocations: 5.406 kB / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5881, allocations: 0 / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5881, allocations: 0 / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.5882, allocations: 23.95 kB / 0.5862 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5882, allocations: 0 / 0.5862 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.5883, allocations: 7.984 kB / 0.5862 GB, free: 2.555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.5883, allocations: 4 kB / 0.5862 GB, free: 2.551 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 6.986e-05/0.5884, allocations: 101 kB / 0.5863 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.388e-05/0.5885, allocations: 61.56 kB / 0.5863 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.5885, allocations: 11.89 kB / 0.5863 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.5887, allocations: 70.02 kB / 0.5864 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5887, allocations: 8.141 kB / 0.5864 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5887, allocations: 0 / 0.5864 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5887, allocations: 3.984 kB / 0.5864 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.589, allocations: 303.1 kB / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.589, allocations: 448 / 0.5867 GB, free: 1.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.5891, allocations: 19.92 kB / 0.5867 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5891, allocations: 3.938 kB / 0.5867 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.5891, allocations: 4 kB / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5891, allocations: 8 kB / 0.5867 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5891, allocations: 0 / 0.5867 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.5892, allocations: 155.4 kB / 0.5869 GB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.5893, allocations: 81.11 kB / 0.587 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.5893, allocations: 7.984 kB / 0.587 GB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.5894, allocations: 4 kB / 0.587 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.5894, allocations: 3.984 kB / 0.587 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.5894, allocations: 8 kB / 0.587 GB, free: 1.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.901e-05/0.5895, allocations: 95.28 kB / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5895, allocations: 0 / 0.5871 GB, free: 1.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000248/0.5898, allocations: 27.98 kB / 0.5871 GB, free: 1.492 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.001108/0.5909, allocations: 0.9635 MB / 0.588 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001013/0.591, allocations: 24 kB / 0.5881 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.591, allocations: 7.938 kB / 0.5881 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.591, allocations: 16 kB / 0.5881 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.5912, allocations: 11.98 kB / 0.5881 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.5917, allocations: 145.6 kB / 0.5882 GB, free: 344 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.5919, allocations: 0.6885 MB / 0.5889 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.679e-05/0.592, allocations: 19.77 kB / 0.5889 GB, free: 15.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.5921, allocations: 23.42 kB / 0.5889 GB, free: 15.58 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5921, allocations: 0 / 0.5889 GB, free: 15.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02165/0.6137, allocations: 1.947 MB / 0.5908 GB, free: 13.64 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.6141, allocations: 169 kB / 0.591 GB, free: 13.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.161, allocations: 0 / 0.591 GB, free: 13.45 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat does not exist to compare? outputFormat=mat