Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.00134/0.00134, 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.396/1.396, 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.001064/0.001064, allocations: 89.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.2011/0.2011, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.089e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4873/0.6438, allocations: 89.24 MB / 0.5819 GB, free: 7.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.6441, allocations: 71.97 kB / 0.582 GB, free: 7.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02474/0.6689, allocations: 9.437 MB / 0.5912 GB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.6689, allocations: 0 / 0.5912 GB, free: 13.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.6689, allocations: 11.98 kB / 0.5912 GB, free: 13.57 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008986/0.6698, allocations: 0.6571 MB / 0.5919 GB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.6699, allocations: 11.98 kB / 0.5919 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.67, allocations: 59.25 kB / 0.5919 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.6708, allocations: 486.9 kB / 0.5924 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.6709, allocations: 4 kB / 0.5924 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.155e-05/0.6709, allocations: 11.94 kB / 0.5924 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002039/0.6711, allocations: 75.97 kB / 0.5925 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.6714, allocations: 134.1 kB / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.6714, allocations: 0 / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.6714, allocations: 0 / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.6714, allocations: 4 kB / 0.5926 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.6726, allocations: 0.7196 MB / 0.5933 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.6728, allocations: 113.2 kB / 0.5934 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/0.6729, allocations: 49.83 kB / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.6729, allocations: 0 / 0.5935 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.6729, allocations: 42.52 kB / 0.5935 GB, free: 11.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 3.306e-06/0.673, allocations: 3.984 kB / 0.5935 GB, free: 11.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001394/0.6744, allocations: 0.5759 MB / 0.5941 GB, free: 10.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.6744, allocations: 81.05 kB / 0.5941 GB, free: 10.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008847/0.6753, allocations: 0.765 MB / 0.5949 GB, free: 9.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.6754, allocations: 25.7 kB / 0.5949 GB, free: 9.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.6755, allocations: 256.4 kB / 0.5952 GB, free: 9.309 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/0.6756, allocations: 71 kB / 0.5952 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.6756, allocations: 0 / 0.5952 GB, free: 9.238 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.6758, allocations: 370.8 kB / 0.5956 GB, free: 8.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.6759, allocations: 75.92 kB / 0.5957 GB, free: 8.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.676, allocations: 89.69 kB / 0.5957 GB, free: 8.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.6762, allocations: 80.08 kB / 0.5958 GB, free: 8.621 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6762, allocations: 4 kB / 0.5958 GB, free: 8.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004046/0.6766, allocations: 265 kB / 0.5961 GB, free: 8.352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6766, allocations: 8 kB / 0.5961 GB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6767, allocations: 3.938 kB / 0.5961 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6767, allocations: 0 / 0.5961 GB, free: 8.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.677, allocations: 60.33 kB / 0.5961 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.677, allocations: 7.922 kB / 0.5962 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.6772, allocations: 31.97 kB / 0.5962 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.6773, allocations: 12 kB / 0.5962 GB, free: 8.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.542e-05/0.6774, allocations: 107.2 kB / 0.5963 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004261/0.6778, allocations: 264.7 kB / 0.5965 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.6779, allocations: 55.72 kB / 0.5966 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.6784, allocations: 314.2 kB / 0.5969 GB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.6784, allocations: 4 kB / 0.5969 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6785, allocations: 0 / 0.5969 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6785, allocations: 3.984 kB / 0.5969 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.6797, allocations: 0.9078 MB / 0.5978 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6797, allocations: 4 kB / 0.5978 GB, free: 6.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.68, allocations: 63.94 kB / 0.5979 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.68, allocations: 0 / 0.5979 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.68, allocations: 4 kB / 0.5979 GB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.68, allocations: 3.953 kB / 0.5979 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.68, allocations: 0 / 0.5979 GB, free: 6.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005127/0.6806, allocations: 455.7 kB / 0.5983 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.6808, allocations: 180.3 kB / 0.5985 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.417e-05/0.6808, allocations: 0 / 0.5985 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.6811, allocations: 31.97 kB / 0.5985 GB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.6812, allocations: 23.92 kB / 0.5985 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.6812, allocations: 8 kB / 0.5985 GB, free: 5.727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007239/0.6819, allocations: 0.601 MB / 0.5991 GB, free: 5.133 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.682, allocations: 0 / 0.5991 GB, free: 5.133 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000405/0.6824, allocations: 79.94 kB / 0.5992 GB, free: 5.055 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001586/0.684, allocations: 1.299 MB / 0.6005 GB, free: 3.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.6843, allocations: 185.9 kB / 0.6006 GB, free: 3.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6843, allocations: 0 / 0.6006 GB, free: 3.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.6845, allocations: 104.2 kB / 0.6007 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005201/0.685, allocations: 75.53 kB / 0.6008 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.6867, allocations: 0.9007 MB / 0.6017 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.6872, allocations: 0.8853 MB / 0.6026 GB, free: 1.586 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.6875, allocations: 119.1 kB / 0.6027 GB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.6878, allocations: 183.3 kB / 0.6028 GB, free: 1.289 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6878, allocations: 0 / 0.6028 GB, free: 1.289 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.7247, allocations: 8.704 MB / 0.6113 GB, free: 8.594 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/0.7251, allocations: 160.2 kB / 0.6115 GB, free: 8.402 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.904, allocations: 4 kB / 0.6115 GB, free: 8.398 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat