Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001008/0.001008, allocations: 177 kB / 17.06 MB, free: 5.094 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.328/1.328, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009355/0.0009351, allocations: 94.92 kB / 292.1 MB, free: 10.89 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.3648/0.3648, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003695, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3776, allocations: 61.9 MB / 0.5096 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4905, allocations: 89.07 MB / 0.5966 GB, free: 6.023 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.4908, allocations: 79.92 kB / 0.5967 GB, free: 5.953 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01897/0.5098, allocations: 8.473 MB / 0.605 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5099, allocations: 0 / 0.605 GB, free: 13.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.5099, allocations: 12 kB / 0.605 GB, free: 13.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006591/0.5106, allocations: 0.6297 MB / 0.6056 GB, free: 12.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5106, allocations: 8.031 kB / 0.6056 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.5107, allocations: 46.5 kB / 0.6056 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.5108, allocations: 43.44 kB / 0.6057 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.5113, allocations: 335.2 kB / 0.606 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5113, allocations: 11.98 kB / 0.606 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.5114, allocations: 4 kB / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.5115, allocations: 53.69 kB / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5115, allocations: 3.984 kB / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.5116, allocations: 0 / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5116, allocations: 4 kB / 0.6061 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.5117, allocations: 35.92 kB / 0.6061 GB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000646/0.5123, allocations: 468.6 kB / 0.6066 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.5124, allocations: 50.53 kB / 0.6066 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.5125, allocations: 4 kB / 0.6066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.5125, allocations: 34.56 kB / 0.6066 GB, free: 11.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.5125, allocations: 0 / 0.6066 GB, free: 11.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009795/0.5135, allocations: 349.1 kB / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5135, allocations: 51.41 kB / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.5147, allocations: 0.7941 MB / 0.6078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.5147, allocations: 25.7 kB / 0.6078 GB, free: 10.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.5149, allocations: 224 kB / 0.608 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.5149, allocations: 27.64 kB / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5149, allocations: 0 / 0.6081 GB, free: 10.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5151, allocations: 362.8 kB / 0.6084 GB, free: 9.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.405e-05/0.5152, allocations: 31.97 kB / 0.6084 GB, free: 9.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.697e-05/0.5153, allocations: 35.98 kB / 0.6085 GB, free: 9.637 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.601e-05/0.5154, allocations: 43.91 kB / 0.6085 GB, free: 9.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5154, allocations: 0 / 0.6085 GB, free: 9.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002805/0.5157, allocations: 161.1 kB / 0.6087 GB, free: 9.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.5157, allocations: 4 kB / 0.6087 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5157, allocations: 0 / 0.6087 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5158, allocations: 3.953 kB / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5159, allocations: 19.98 kB / 0.6087 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.5159, allocations: 0 / 0.6087 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.516, allocations: 8 kB / 0.6087 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.516, allocations: 3.938 kB / 0.6087 GB, free: 9.391 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 (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 0.0002182/0.5162, allocations: 226.2 kB / 0.6089 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.5163, allocations: 43.86 kB / 0.609 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.5167, allocations: 177.5 kB / 0.6091 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.5167, allocations: 4 kB / 0.6091 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5167, allocations: 3.953 kB / 0.6091 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5167, allocations: 3.984 kB / 0.6092 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.5178, allocations: 0.6556 MB / 0.6098 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5178, allocations: 4.031 kB / 0.6098 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.002e-05/0.5179, allocations: 16 kB / 0.6098 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.5179, allocations: 7.953 kB / 0.6098 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.5179, allocations: 3.938 kB / 0.6098 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5179, allocations: 7.984 kB / 0.6098 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5179, allocations: 0 / 0.6098 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.5183, allocations: 269.6 kB / 0.6101 GB, free: 7.879 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.5185, allocations: 160.6 kB / 0.6102 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.5186, allocations: 4 kB / 0.6102 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5187, allocations: 11.98 kB / 0.6103 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.5187, allocations: 8 kB / 0.6103 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5188, allocations: 7.938 kB / 0.6103 GB, free: 7.672 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006689/0.5194, allocations: 0.6432 MB / 0.6109 GB, free: 7.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5194, allocations: 0 / 0.6109 GB, free: 7.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.5198, allocations: 67.94 kB / 0.611 GB, free: 6.965 MB / 426.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 () * 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.001485/0.5212, allocations: 1.237 MB / 0.6122 GB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.5215, allocations: 83.89 kB / 0.6123 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5215, allocations: 0 / 0.6123 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.5216, allocations: 44.05 kB / 0.6123 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.5219, allocations: 33.2 kB / 0.6123 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.5247, allocations: 2.418 MB / 0.6147 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.5251, allocations: 0.8379 MB / 0.6155 GB, free: 2.375 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.5252, allocations: 63.38 kB / 0.6156 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.5254, allocations: 127.3 kB / 0.6157 GB, free: 2.191 MB / 426.7 MB Notification: Performance of SimCode: time 3.8e-07/0.5254, allocations: 0 / 0.6157 GB, free: 2.191 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.5438, allocations: 6.795 MB / 0.6223 GB, free: 11.51 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.544, allocations: 216.7 kB / 0.6225 GB, free: 11.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.963/2.507, allocations: 0 / 0.6225 GB, free: 11.27 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat