Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.001265/0.001265, allocations: 170.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.36/1.36, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0009538/0.0009539, allocations: 93.38 kB / 281.6 MB, free: 5.316 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.2367/0.2367, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.116e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5051/0.6634, allocations: 87.56 MB / 0.5803 GB, free: 8.902 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.6637, allocations: 71.97 kB / 0.5803 GB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.6754, allocations: 4.423 MB / 0.5847 GB, free: 4.418 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.6754, allocations: 0 / 0.5847 GB, free: 4.418 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.6754, allocations: 0.75 kB / 0.5847 GB, free: 4.418 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003786/0.6758, allocations: 370.4 kB / 0.585 GB, free: 4.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6759, allocations: 15.92 kB / 0.585 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.6759, allocations: 8 kB / 0.585 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.6761, allocations: 202.8 kB / 0.5852 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6762, allocations: 3.984 kB / 0.5852 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.6762, allocations: 8 kB / 0.5852 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.757e-05/0.6763, allocations: 23.94 kB / 0.5853 GB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.6764, allocations: 63.34 kB / 0.5853 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.6764, allocations: 0 / 0.5853 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.6764, allocations: 0 / 0.5853 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.6764, allocations: 4 kB / 0.5853 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.6768, allocations: 269.2 kB / 0.5856 GB, free: 3.336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.462e-05/0.6769, allocations: 46.56 kB / 0.5856 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.6769, allocations: 12.98 kB / 0.5856 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.677, allocations: 0 / 0.5856 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.677, allocations: 38.56 kB / 0.5857 GB, free: 3.219 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.677, allocations: 0 / 0.5857 GB, free: 3.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004349/0.6774, allocations: 133.4 kB / 0.5858 GB, free: 3.082 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.6775, allocations: 77.11 kB / 0.5859 GB, free: 2.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.6776, allocations: 124.9 kB / 0.586 GB, free: 2.859 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.6776, allocations: 25.7 kB / 0.586 GB, free: 2.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.6777, allocations: 96.12 kB / 0.5861 GB, free: 2.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.6777, allocations: 23.56 kB / 0.5861 GB, free: 2.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.187e-06/0.6777, allocations: 4 kB / 0.5861 GB, free: 2.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6779, allocations: 322.8 kB / 0.5865 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.6779, allocations: 12 kB / 0.5865 GB, free: 2.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.678, allocations: 25.72 kB / 0.5865 GB, free: 2.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.299e-05/0.678, allocations: 27.88 kB / 0.5865 GB, free: 2.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.678, allocations: 0 / 0.5865 GB, free: 2.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000107/0.6781, allocations: 73.59 kB / 0.5866 GB, free: 2.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6781, allocations: 4 kB / 0.5866 GB, free: 2.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6782, allocations: 4.031 kB / 0.5866 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6782, allocations: 0 / 0.5866 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.6783, allocations: 23.92 kB / 0.5866 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.6783, allocations: 0 / 0.5866 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.6784, allocations: 4 kB / 0.5866 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.6784, allocations: 4 kB / 0.5866 GB, free: 2.191 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 (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 8.152e-05/0.6785, allocations: 108.9 kB / 0.5867 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001174/0.6786, allocations: 85.52 kB / 0.5868 GB, free: 1.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.6786, allocations: 7.906 kB / 0.5868 GB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.6788, allocations: 90.66 kB / 0.5869 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6788, allocations: 4 kB / 0.5869 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.6788, allocations: 0 / 0.5869 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.6788, allocations: 0 / 0.5869 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.6792, allocations: 335 kB / 0.5872 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6792, allocations: 7.984 kB / 0.5872 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.137e-05/0.6793, allocations: 16 kB / 0.5872 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6793, allocations: 0 / 0.5872 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.6793, allocations: 4.188 kB / 0.5873 GB, free: 1.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6793, allocations: 11.92 kB / 0.5873 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6793, allocations: 0 / 0.5873 GB, free: 1.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.6794, allocations: 175.3 kB / 0.5874 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.6795, allocations: 85.02 kB / 0.5875 GB, free: 1.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.6795, allocations: 7.984 kB / 0.5875 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.6796, allocations: 8 kB / 0.5875 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.6797, allocations: 3.984 kB / 0.5875 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.6797, allocations: 4 kB / 0.5875 GB, free: 1.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.668e-05/0.6797, allocations: 108.5 kB / 0.5876 GB, free: 1.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6797, allocations: 0 / 0.5876 GB, free: 1.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.68, allocations: 23.94 kB / 0.5877 GB, free: 1.031 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 (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.001171/0.6812, allocations: 0.9869 MB / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.6813, allocations: 43.98 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6813, allocations: 0 / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.721e-05/0.6814, allocations: 23.94 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.6816, allocations: 16.23 kB / 0.5887 GB, free: 16 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.6821, allocations: 165.9 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.6823, allocations: 0.7002 MB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.623e-05/0.6824, allocations: 16.64 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.6825, allocations: 31.42 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6825, allocations: 0 / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.7049, allocations: 2.127 MB / 0.5917 GB, free: 12.92 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.7052, allocations: 172.7 kB / 0.5918 GB, free: 12.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.128, allocations: 3.938 kB / 0.5918 GB, free: 12.72 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat does not exist to compare? outputFormat=mat