Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",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.001453/0.001453, allocations: 175.7 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.42/1.42, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0008905/0.0008904, allocations: 95.28 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.2307/0.2307, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.031e-05, allocations: 4.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1692, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4938/0.6631, allocations: 88.06 MB / 0.5808 GB, free: 8.301 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.6634, allocations: 71.97 kB / 0.5808 GB, free: 8.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01778/0.6812, allocations: 7.969 MB / 0.5886 GB, free: 268 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6813, allocations: 0 / 0.5886 GB, free: 268 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.6813, allocations: 4 kB / 0.5886 GB, free: 264 kB / 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.0006531/0.682, allocations: 0.5404 MB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.682, allocations: 11.98 kB / 0.5892 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.6821, allocations: 43.44 kB / 0.5892 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.6826, allocations: 339.2 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.6826, allocations: 0 / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.6826, allocations: 3.828 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.656e-05/0.6827, allocations: 19.98 kB / 0.5895 GB, free: 15.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.16e-05/0.6828, allocations: 37.7 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.6828, allocations: 0.8438 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.6828, allocations: 0 / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6828, allocations: 0 / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.6834, allocations: 413.4 kB / 0.59 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.902e-05/0.6835, allocations: 30.52 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.6835, allocations: 16.91 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.6835, allocations: 0 / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.6835, allocations: 34.56 kB / 0.5901 GB, free: 14.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.6836, allocations: 0 / 0.5901 GB, free: 14.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.6837, allocations: 89.08 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.6838, allocations: 51.41 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.6849, allocations: 0.7512 MB / 0.5909 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6849, allocations: 25.7 kB / 0.5909 GB, free: 13.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.6851, allocations: 208.1 kB / 0.5911 GB, free: 13.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.6852, allocations: 11.84 kB / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.6852, allocations: 0 / 0.5912 GB, free: 13.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.6854, allocations: 366.7 kB / 0.5915 GB, free: 13.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.6854, allocations: 8.031 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.229e-05/0.6854, allocations: 4 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.6854, allocations: 4 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6854, allocations: 0 / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001121/0.6856, allocations: 81.22 kB / 0.5916 GB, free: 13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6856, allocations: 9.25 kB / 0.5916 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6856, allocations: 0 / 0.5916 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.6856, allocations: 0 / 0.5916 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.6857, allocations: 12.08 kB / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.6857, allocations: 0 / 0.5916 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.1e-05/0.6858, allocations: 7.984 kB / 0.5916 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.6858, allocations: 0 / 0.5916 GB, free: 12.97 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 (2): * Single equations (assignments): 2 * 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.367e-05/0.6859, allocations: 112.9 kB / 0.5917 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001527/0.686, allocations: 89.06 kB / 0.5918 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.6861, allocations: 39.44 kB / 0.5919 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.6863, allocations: 104.9 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6863, allocations: 4.031 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6863, allocations: 0 / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6863, allocations: 0 / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.6866, allocations: 306 kB / 0.5923 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6866, allocations: 0 / 0.5923 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.6867, allocations: 7.984 kB / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.6867, allocations: 0 / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6867, allocations: 4 kB / 0.5923 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6867, allocations: 3.938 kB / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6867, allocations: 0 / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.6869, allocations: 179 kB / 0.5924 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.687, allocations: 164.5 kB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.6871, allocations: 0 / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.311e-05/0.6872, allocations: 4 kB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.6872, allocations: 0 / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.6872, allocations: 4 kB / 0.5926 GB, free: 11.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005967/0.6878, allocations: 0.6121 MB / 0.5932 GB, free: 11.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6878, allocations: 0 / 0.5932 GB, free: 11.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000269/0.6881, allocations: 47.94 kB / 0.5932 GB, free: 11.22 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 (2): * Single equations (assignments): 2 * 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.0009482/0.6891, allocations: 0.9119 MB / 0.5941 GB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.103e-05/0.6891, allocations: 8 kB / 0.5941 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6891, allocations: 4 kB / 0.5941 GB, free: 10.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.751e-05/0.6892, allocations: 4 kB / 0.5942 GB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.6894, allocations: 27.92 kB / 0.5942 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.6906, allocations: 0.7991 MB / 0.595 GB, free: 9.469 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.691, allocations: 0.8301 MB / 0.5958 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.595e-05/0.691, allocations: 39.98 kB / 0.5958 GB, free: 8.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.6912, allocations: 119.3 kB / 0.5959 GB, free: 8.457 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6912, allocations: 0 / 0.5959 GB, free: 8.457 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02443/0.7156, allocations: 5.584 MB / 0.6014 GB, free: 2.863 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.7159, allocations: 164.9 kB / 0.6015 GB, free: 2.672 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/2.668, allocations: 3.938 kB / 0.6015 GB, free: 2.668 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat does not exist to compare? outputFormat=mat