Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11",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.001118/0.001118, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.313/1.313, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009817, allocations: 91.7 kB / 292.1 MB, free: 10.7 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.3465/0.3465, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.000347, allocations: 16 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3309, allocations: 61.9 MB / 0.5096 GB, free: 37.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.4855, allocations: 88.74 MB / 0.5963 GB, free: 6.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003884/0.486, allocations: 79.92 kB / 0.5964 GB, free: 6.324 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.503, allocations: 4.633 MB / 0.6009 GB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.503, allocations: 0 / 0.6009 GB, free: 1.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.5031, allocations: 0 / 0.6009 GB, free: 1.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000677/0.5038, allocations: 406.9 kB / 0.6013 GB, free: 1.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.5038, allocations: 8.031 kB / 0.6013 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.5039, allocations: 34.56 kB / 0.6013 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.504, allocations: 4 kB / 0.6013 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.5043, allocations: 196.9 kB / 0.6015 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.5043, allocations: 8 kB / 0.6015 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.5043, allocations: 4 kB / 0.6015 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.5046, allocations: 75.39 kB / 0.6016 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5046, allocations: 3.938 kB / 0.6016 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5046, allocations: 0 / 0.6016 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5046, allocations: 0 / 0.6016 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.5049, allocations: 51.95 kB / 0.6017 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.5054, allocations: 288.8 kB / 0.6019 GB, free: 476 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.5056, allocations: 58.48 kB / 0.602 GB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.5056, allocations: 3.938 kB / 0.602 GB, free: 404 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5057, allocations: 30.56 kB / 0.602 GB, free: 364 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.5057, allocations: 0 / 0.602 GB, free: 364 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.001096/0.5068, allocations: 253.3 kB / 0.6023 GB, free: 104 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.5069, allocations: 77.11 kB / 0.6023 GB, free: 8 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.5071, allocations: 137.1 kB / 0.6025 GB, free: 15.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.5071, allocations: 25.7 kB / 0.6025 GB, free: 15.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.5072, allocations: 92.14 kB / 0.6026 GB, free: 15.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.5072, allocations: 23.64 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.5073, allocations: 4 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5074, allocations: 318.8 kB / 0.6029 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.5076, allocations: 35.97 kB / 0.6029 GB, free: 15.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.5078, allocations: 57.69 kB / 0.603 GB, free: 15.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.508, allocations: 39.97 kB / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.508, allocations: 0 / 0.603 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004379/0.5084, allocations: 133.5 kB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5085, allocations: 4 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5085, allocations: 0 / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5085, allocations: 4 kB / 0.6032 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.5087, allocations: 23.98 kB / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5087, allocations: 0 / 0.6032 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.5088, allocations: 15.98 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.5089, allocations: 3.953 kB / 0.6032 GB, free: 15.07 MB / 426.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 (7): * Single equations (assignments): 7 * 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 0.0001258/0.509, allocations: 122.4 kB / 0.6033 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.75e-05/0.5091, allocations: 7.906 kB / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.5095, allocations: 146.3 kB / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5096, allocations: 0 / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5096, allocations: 0 / 0.6035 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5096, allocations: 3.984 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/0.5104, allocations: 410.4 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5104, allocations: 0 / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.5105, allocations: 27.92 kB / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.5106, allocations: 0 / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.5106, allocations: 0 / 0.6039 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5106, allocations: 7.938 kB / 0.6039 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5106, allocations: 8.453 kB / 0.6039 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.5111, allocations: 227.3 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.5112, allocations: 81.11 kB / 0.6042 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.5112, allocations: 7.984 kB / 0.6042 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.5114, allocations: 8 kB / 0.6042 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.5114, allocations: 7.984 kB / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.5114, allocations: 0 / 0.6042 GB, free: 13.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.5116, allocations: 121.3 kB / 0.6043 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5116, allocations: 4 kB / 0.6043 GB, free: 13.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004906/0.5121, allocations: 27.94 kB / 0.6044 GB, free: 13.77 MB / 426.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 (7): * Single equations (assignments): 7 * 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.002144/0.5143, allocations: 1.103 MB / 0.6055 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.5147, allocations: 103.9 kB / 0.6056 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5147, allocations: 0 / 0.6056 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.5149, allocations: 51.97 kB / 0.6056 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.5152, allocations: 18.8 kB / 0.6056 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5169, allocations: 0.6449 MB / 0.6062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.5172, allocations: 0.6965 MB / 0.6069 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.942e-05/0.5173, allocations: 13.12 kB / 0.6069 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.5174, allocations: 31.42 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5174, allocations: 0 / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.535, allocations: 2.513 MB / 0.6094 GB, free: 8.797 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.5353, allocations: 217.9 kB / 0.6096 GB, free: 8.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.128, allocations: 0 / 0.6096 GB, free: 8.555 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat does not exist to compare? outputFormat=mat