Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 183.1 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008539/0.0008538, allocations: 86.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1955/0.1955, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4948, allocations: 86.42 MB / 0.5633 GB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.495, allocations: 77.64 kB / 0.5633 GB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.5054, allocations: 4.22 MB / 0.5675 GB, free: 9.598 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5054, allocations: 0 / 0.5675 GB, free: 9.598 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.5054, allocations: 4 kB / 0.5675 GB, free: 9.594 MB / 378.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.0003915/0.5058, allocations: 422.7 kB / 0.5679 GB, free: 9.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5059, allocations: 8.031 kB / 0.5679 GB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.682e-05/0.5059, allocations: 34.25 kB / 0.5679 GB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.506, allocations: 15.81 kB / 0.5679 GB, free: 9.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.5062, allocations: 202 kB / 0.5681 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5062, allocations: 11.56 kB / 0.5681 GB, free: 8.836 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.5063, allocations: 3.984 kB / 0.5681 GB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.5064, allocations: 56.94 kB / 0.5682 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5064, allocations: 0 / 0.5682 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.5064, allocations: 7.938 kB / 0.5682 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5064, allocations: 0 / 0.5682 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.5066, allocations: 35.16 kB / 0.5682 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.5069, allocations: 315.7 kB / 0.5685 GB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.507, allocations: 57.19 kB / 0.5686 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.5071, allocations: 0 / 0.5686 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.5071, allocations: 38.11 kB / 0.5686 GB, free: 8.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.5071, allocations: 0 / 0.5686 GB, free: 8.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005758/0.5077, allocations: 203.6 kB / 0.5688 GB, free: 8.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.5077, allocations: 55.41 kB / 0.5689 GB, free: 8.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.5079, allocations: 208.1 kB / 0.5691 GB, free: 7.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.508, allocations: 29.7 kB / 0.5691 GB, free: 7.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.508, allocations: 102.7 kB / 0.5692 GB, free: 7.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.508, allocations: 27.25 kB / 0.5692 GB, free: 7.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.5081, allocations: 3.938 kB / 0.5692 GB, free: 7.727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5082, allocations: 326.2 kB / 0.5695 GB, free: 7.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.5083, allocations: 27.61 kB / 0.5696 GB, free: 7.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.5083, allocations: 35.09 kB / 0.5696 GB, free: 7.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/0.5084, allocations: 31.05 kB / 0.5696 GB, free: 7.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5084, allocations: 0 / 0.5696 GB, free: 7.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001947/0.5086, allocations: 108.2 kB / 0.5697 GB, free: 7.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5086, allocations: 11.44 kB / 0.5697 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.5086, allocations: 0 / 0.5697 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5087, allocations: 4 kB / 0.5697 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.5088, allocations: 19.98 kB / 0.5698 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5088, allocations: 4.641 kB / 0.5698 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.5088, allocations: 11.98 kB / 0.5698 GB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5088, allocations: 4 kB / 0.5698 GB, free: 7.184 MB / 378.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 () * Number of clocked 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.626e-05/0.5089, allocations: 136.6 kB / 0.5699 GB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.509, allocations: 15.81 kB / 0.5699 GB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.5092, allocations: 133.6 kB / 0.57 GB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5093, allocations: 11.92 kB / 0.5701 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5093, allocations: 0 / 0.5701 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5093, allocations: 7.953 kB / 0.5701 GB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.5097, allocations: 416.6 kB / 0.5705 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5098, allocations: 0 / 0.5705 GB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.5098, allocations: 19.98 kB / 0.5705 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.5098, allocations: 4 kB / 0.5705 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.5099, allocations: 3.953 kB / 0.5705 GB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.5099, allocations: 4 kB / 0.5705 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5099, allocations: 0 / 0.5705 GB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.5101, allocations: 205 kB / 0.5707 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.5102, allocations: 96.83 kB / 0.5708 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.5102, allocations: 0 / 0.5708 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.5103, allocations: 11.94 kB / 0.5708 GB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.5103, allocations: 4 kB / 0.5708 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.5103, allocations: 7.188 kB / 0.5708 GB, free: 6.113 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.5105, allocations: 169.5 kB / 0.571 GB, free: 5.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5105, allocations: 0 / 0.571 GB, free: 5.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002332/0.5107, allocations: 30.92 kB / 0.571 GB, free: 5.945 MB / 378.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 () * Number of clocked 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.001266/0.512, allocations: 1.035 MB / 0.572 GB, free: 4.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.5123, allocations: 81.25 kB / 0.5721 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5123, allocations: 0 / 0.5721 GB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.596e-05/0.5124, allocations: 40.78 kB / 0.5721 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.5126, allocations: 17 kB / 0.5721 GB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.5137, allocations: 0.7956 MB / 0.5729 GB, free: 4.074 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.514, allocations: 0.7115 MB / 0.5736 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.381e-05/0.5141, allocations: 20.97 kB / 0.5736 GB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.5142, allocations: 37.67 kB / 0.5737 GB, free: 3.301 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5142, allocations: 0 / 0.5737 GB, free: 3.301 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.5275, allocations: 2.663 MB / 0.5763 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002023/0.5278, allocations: 219.4 kB / 0.5765 GB, free: 424 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.197, allocations: 0 / 0.5765 GB, free: 424 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat