Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001165/0.001165, allocations: 179.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 221.3 MB / 236 MB, free: 2.949 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.0009569/0.000957, allocations: 90.7 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.239/0.239, allocations: 44.14 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.57e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1454, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4926/0.638, allocations: 88.09 MB / 0.5878 GB, free: 1.184 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.6383, allocations: 71.81 kB / 0.5879 GB, free: 1.117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.6502, allocations: 4.66 MB / 0.5924 GB, free: 12.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6503, allocations: 0 / 0.5924 GB, free: 12.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.6503, allocations: 0 / 0.5924 GB, free: 12.46 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005736/0.6509, allocations: 414.2 kB / 0.5928 GB, free: 12.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.651, allocations: 8.031 kB / 0.5928 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/0.6511, allocations: 38.56 kB / 0.5929 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.6511, allocations: 15.75 kB / 0.5929 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.6515, allocations: 199.4 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.6515, allocations: 11.98 kB / 0.5931 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/0.6516, allocations: 11.86 kB / 0.5931 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.6518, allocations: 57.69 kB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.6518, allocations: 4 kB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.6518, allocations: 0 / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6518, allocations: 4 kB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.536e-05/0.6519, allocations: 35.92 kB / 0.5932 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.6525, allocations: 336.6 kB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.6526, allocations: 58.5 kB / 0.5936 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.6526, allocations: 20.86 kB / 0.5936 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.6527, allocations: 4 kB / 0.5936 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6527, allocations: 30.56 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6527, allocations: 0 / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006283/0.6533, allocations: 218.4 kB / 0.5938 GB, free: 10.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.6534, allocations: 59.36 kB / 0.5939 GB, free: 10.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.6536, allocations: 214.4 kB / 0.5941 GB, free: 10.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.6537, allocations: 33.7 kB / 0.5941 GB, free: 10.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.6537, allocations: 112 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.6538, allocations: 35.41 kB / 0.5943 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.6538, allocations: 4 kB / 0.5943 GB, free: 10.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6539, allocations: 326.8 kB / 0.5946 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.704e-05/0.654, allocations: 24 kB / 0.5946 GB, free: 10.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.462e-05/0.654, allocations: 28 kB / 0.5946 GB, free: 9.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.6541, allocations: 33.3 kB / 0.5947 GB, free: 9.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.6541, allocations: 4 kB / 0.5947 GB, free: 9.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001798/0.6543, allocations: 117.5 kB / 0.5948 GB, free: 9.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.6543, allocations: 4 kB / 0.5948 GB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.6543, allocations: 4 kB / 0.5948 GB, free: 9.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6544, allocations: 4 kB / 0.5948 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.6545, allocations: 23.98 kB / 0.5948 GB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.6545, allocations: 4 kB / 0.5948 GB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.6546, allocations: 15.94 kB / 0.5948 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.6546, allocations: 4 kB / 0.5948 GB, free: 9.777 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 (13): * Single equations (assignments): 13 * 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.462e-05/0.6547, allocations: 112.9 kB / 0.595 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.6547, allocations: 19.86 kB / 0.595 GB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.655, allocations: 146.1 kB / 0.5951 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.655, allocations: 0 / 0.5951 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.655, allocations: 0 / 0.5951 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.655, allocations: 0 / 0.5951 GB, free: 9.496 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005627/0.6556, allocations: 487 kB / 0.5956 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6556, allocations: 0 / 0.5956 GB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.669e-05/0.6557, allocations: 27.98 kB / 0.5956 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6557, allocations: 0 / 0.5956 GB, free: 8.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6558, allocations: 7.953 kB / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6558, allocations: 0 / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6558, allocations: 0 / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.656, allocations: 237.9 kB / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.6561, allocations: 100.9 kB / 0.5959 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.6561, allocations: 11.94 kB / 0.5959 GB, free: 8.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.6562, allocations: 4 kB / 0.5959 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.6562, allocations: 11.98 kB / 0.596 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.6563, allocations: 8 kB / 0.596 GB, free: 8.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.6564, allocations: 168.2 kB / 0.5961 GB, free: 8.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6564, allocations: 0 / 0.5961 GB, free: 8.352 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.6567, allocations: 35.94 kB / 0.5962 GB, free: 8.316 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 (13): * Single equations (assignments): 13 * 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.00137/0.658, allocations: 1.139 MB / 0.5973 GB, free: 7.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.6582, allocations: 83.86 kB / 0.5974 GB, free: 7.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.6583, allocations: 4 kB / 0.5974 GB, free: 7.176 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.6583, allocations: 39.94 kB / 0.5974 GB, free: 7.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.6586, allocations: 27.88 kB / 0.5974 GB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006063/0.6592, allocations: 296 kB / 0.5977 GB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.6595, allocations: 0.7237 MB / 0.5984 GB, free: 6.031 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.932e-05/0.6596, allocations: 24.59 kB / 0.5984 GB, free: 6.008 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.6597, allocations: 43.42 kB / 0.5985 GB, free: 5.965 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6597, allocations: 0 / 0.5985 GB, free: 5.965 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.673, allocations: 3.079 MB / 0.6015 GB, free: 2.957 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.6732, allocations: 192.4 kB / 0.6017 GB, free: 2.727 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.364, allocations: 0 / 0.6017 GB, free: 2.727 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat does not exist to compare? outputFormat=mat