Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8",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.001322/0.001321, 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.308/1.308, allocations: 223.2 MB / 241 MB, free: 11.89 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.0008917/0.0008916, allocations: 88.16 kB / 292.1 MB, free: 10.92 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.328/0.328, allocations: 44.22 MB / 387.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3119, allocations: 61.9 MB / 0.5096 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.417, allocations: 88.8 MB / 0.5964 GB, free: 6.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4173, allocations: 83.91 kB / 0.5964 GB, free: 6.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01672/0.434, allocations: 8.017 MB / 0.6043 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.434, allocations: 0 / 0.6043 GB, free: 14.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.4341, allocations: 11.94 kB / 0.6043 GB, free: 14.19 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005774/0.4347, allocations: 0.6218 MB / 0.6049 GB, free: 13.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4347, allocations: 11.97 kB / 0.6049 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.4347, allocations: 46.55 kB / 0.6049 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.4348, allocations: 43.44 kB / 0.605 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.4353, allocations: 327.4 kB / 0.6053 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.4353, allocations: 0 / 0.6053 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.4353, allocations: 4 kB / 0.6053 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.4354, allocations: 49.69 kB / 0.6053 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4355, allocations: 0 / 0.6053 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.4355, allocations: 0 / 0.6053 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.4355, allocations: 0 / 0.6053 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.4356, allocations: 39.86 kB / 0.6054 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.4362, allocations: 436.7 kB / 0.6058 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.544e-05/0.4362, allocations: 38.56 kB / 0.6058 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.4363, allocations: 0 / 0.6058 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.4363, allocations: 34.62 kB / 0.6059 GB, free: 12.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4363, allocations: 0 / 0.6059 GB, free: 12.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002636/0.4366, allocations: 105.1 kB / 0.606 GB, free: 12.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.4366, allocations: 55.53 kB / 0.606 GB, free: 12.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.4377, allocations: 0.7901 MB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.4378, allocations: 25.7 kB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.4379, allocations: 232 kB / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.4379, allocations: 0 / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.438, allocations: 0 / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4381, allocations: 362.8 kB / 0.6074 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.4382, allocations: 11.98 kB / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.4382, allocations: 12 kB / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.4382, allocations: 15.98 kB / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4383, allocations: 0 / 0.6074 GB, free: 10.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000159/0.4384, allocations: 101.1 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4384, allocations: 5.406 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4385, allocations: 4.094 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4385, allocations: 3.984 kB / 0.6075 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.4385, allocations: 8 kB / 0.6075 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4386, allocations: 0 / 0.6075 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.4386, allocations: 4 kB / 0.6075 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4386, allocations: 3.984 kB / 0.6075 GB, free: 10.61 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 (2): * Single equations (assignments): 2 * 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.0001672/0.4388, allocations: 218.2 kB / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.4389, allocations: 43.44 kB / 0.6078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.4391, allocations: 116.2 kB / 0.6079 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4391, allocations: 0 / 0.6079 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.4391, allocations: 3.938 kB / 0.6079 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.4391, allocations: 3.984 kB / 0.6079 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.4394, allocations: 329.4 kB / 0.6082 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4394, allocations: 0 / 0.6082 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.4395, allocations: 4 kB / 0.6082 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4395, allocations: 4.031 kB / 0.6082 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4395, allocations: 3.938 kB / 0.6082 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4395, allocations: 0 / 0.6082 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4395, allocations: 0 / 0.6082 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.4397, allocations: 198.9 kB / 0.6084 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.44, allocations: 156.6 kB / 0.6086 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.44, allocations: 8.031 kB / 0.6086 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.4401, allocations: 4 kB / 0.6086 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4401, allocations: 7.938 kB / 0.6086 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.4402, allocations: 0 / 0.6086 GB, free: 9.434 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006695/0.4408, allocations: 0.6472 MB / 0.6092 GB, free: 8.789 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4408, allocations: 0 / 0.6092 GB, free: 8.789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002999/0.4411, allocations: 47.94 kB / 0.6093 GB, free: 8.742 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 (2): * Single equations (assignments): 2 * 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.001041/0.4422, allocations: 0.9778 MB / 0.6102 GB, free: 7.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.4423, allocations: 31.91 kB / 0.6103 GB, free: 7.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4423, allocations: 0 / 0.6103 GB, free: 7.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.4424, allocations: 12 kB / 0.6103 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.4426, allocations: 22.3 kB / 0.6103 GB, free: 7.809 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.4452, allocations: 2.257 MB / 0.6125 GB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.4456, allocations: 0.834 MB / 0.6133 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.998e-05/0.4457, allocations: 40.42 kB / 0.6133 GB, free: 4.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.4458, allocations: 119.4 kB / 0.6135 GB, free: 4.465 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4458, allocations: 0 / 0.6135 GB, free: 4.465 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.4638, allocations: 6.213 MB / 0.6195 GB, free: 14.36 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/0.464, allocations: 219.7 kB / 0.6197 GB, free: 14.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.456, allocations: 0 / 0.6197 GB, free: 14.12 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat