Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.0009431/0.0009431, allocations: 169 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.334/1.334, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0008514/0.0008517, allocations: 101 kB / 281.6 MB, free: 5.328 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.19/0.19, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.966e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1826, allocations: 61.91 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4653/0.648, allocations: 90.32 MB / 0.583 GB, free: 6.062 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/0.6484, allocations: 71.95 kB / 0.583 GB, free: 5.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02299/0.6714, allocations: 8.859 MB / 0.5917 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6714, allocations: 4 kB / 0.5917 GB, free: 13.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.6715, allocations: 8.219 kB / 0.5917 GB, free: 13.13 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006952/0.6722, allocations: 0.556 MB / 0.5922 GB, free: 12.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.6722, allocations: 15.98 kB / 0.5923 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.206e-05/0.6723, allocations: 43.44 kB / 0.5923 GB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.6729, allocations: 363.2 kB / 0.5926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.6729, allocations: 4 kB / 0.5926 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.673, allocations: 4 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001592/0.6732, allocations: 75.91 kB / 0.5927 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.6733, allocations: 93.59 kB / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6734, allocations: 4 kB / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6734, allocations: 0 / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6734, allocations: 0 / 0.5928 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007123/0.6741, allocations: 0.5124 MB / 0.5933 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.6743, allocations: 90.55 kB / 0.5934 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/0.6743, allocations: 32.86 kB / 0.5934 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.6744, allocations: 7.984 kB / 0.5934 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.6744, allocations: 42.52 kB / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.6744, allocations: 0 / 0.5935 GB, free: 11.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007639/0.6752, allocations: 357.2 kB / 0.5938 GB, free: 10.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.6752, allocations: 59.39 kB / 0.5939 GB, free: 10.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.6758, allocations: 477.2 kB / 0.5943 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.6758, allocations: 25.7 kB / 0.5944 GB, free: 10.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.676, allocations: 204.3 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.676, allocations: 55.2 kB / 0.5946 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-06/0.676, allocations: 0 / 0.5946 GB, free: 9.961 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6762, allocations: 358.7 kB / 0.595 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.598e-05/0.6763, allocations: 51.98 kB / 0.595 GB, free: 9.551 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.6764, allocations: 63.83 kB / 0.5951 GB, free: 9.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.222e-05/0.6765, allocations: 57.22 kB / 0.5951 GB, free: 9.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6765, allocations: 0 / 0.5951 GB, free: 9.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002946/0.6768, allocations: 198.3 kB / 0.5953 GB, free: 9.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.6768, allocations: 12 kB / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6768, allocations: 0 / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.6768, allocations: 0 / 0.5953 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.677, allocations: 43.91 kB / 0.5954 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.677, allocations: 4 kB / 0.5954 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.712e-05/0.6771, allocations: 4 kB / 0.5954 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.6771, allocations: 4 kB / 0.5954 GB, free: 9.168 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 (17): * Single equations (assignments): 17 * 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 7.946e-05/0.6772, allocations: 113 kB / 0.5955 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002798/0.6775, allocations: 202.8 kB / 0.5957 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.6776, allocations: 39.53 kB / 0.5957 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.678, allocations: 253.1 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.678, allocations: 0 / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.678, allocations: 0 / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.678, allocations: 0 / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/0.6789, allocations: 0.6677 MB / 0.5966 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6789, allocations: 0 / 0.5966 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.679, allocations: 35.97 kB / 0.5966 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.679, allocations: 0 / 0.5966 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.6791, allocations: 11.94 kB / 0.5966 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6791, allocations: 3.938 kB / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6791, allocations: 0 / 0.5967 GB, free: 7.789 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.6794, allocations: 312.3 kB / 0.5969 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.6796, allocations: 144.6 kB / 0.5971 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.6796, allocations: 0 / 0.5971 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.6797, allocations: 11.98 kB / 0.5971 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.6798, allocations: 11.97 kB / 0.5971 GB, free: 7.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.6798, allocations: 4 kB / 0.5971 GB, free: 7.281 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004188/0.6802, allocations: 382.9 kB / 0.5975 GB, free: 6.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6802, allocations: 4 kB / 0.5975 GB, free: 6.906 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003392/0.6806, allocations: 63.94 kB / 0.5975 GB, free: 6.844 MB / 410.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 (17): * Single equations (assignments): 17 * 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.002019/0.6826, allocations: 1.306 MB / 0.5988 GB, free: 5.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.6829, allocations: 143.8 kB / 0.599 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6829, allocations: 0 / 0.599 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.6831, allocations: 75.92 kB / 0.599 GB, free: 5.426 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005015/0.6836, allocations: 65.78 kB / 0.5991 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.6849, allocations: 0.6497 MB / 0.5997 GB, free: 4.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.6854, allocations: 0.8257 MB / 0.6005 GB, free: 3.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001741/0.6855, allocations: 73.97 kB / 0.6006 GB, free: 3.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.6857, allocations: 127.4 kB / 0.6007 GB, free: 3.625 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6857, allocations: 0 / 0.6007 GB, free: 3.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.7151, allocations: 6.64 MB / 0.6072 GB, free: 13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.7153, allocations: 156.1 kB / 0.6074 GB, free: 12.81 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.711, allocations: 0 / 0.6074 GB, free: 12.81 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat