Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001296/0.001296, allocations: 179.6 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.512/1.512, allocations: 221.4 MB / 236 MB, free: 2.941 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.001003/0.001003, allocations: 88.06 kB / 287 MB, free: 248 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.2646/0.2646, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.351e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.158, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.6128, allocations: 90.97 MB / 0.5906 GB, free: 14.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6131, allocations: 75.95 kB / 0.5907 GB, free: 14.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02321/0.6363, allocations: 8.93 MB / 0.5994 GB, free: 5.258 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6364, allocations: 0 / 0.5994 GB, free: 5.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.941e-05/0.6365, allocations: 20.2 kB / 0.5995 GB, free: 5.238 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007783/0.6372, allocations: 0.5482 MB / 0.6 GB, free: 4.645 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.6373, allocations: 8.031 kB / 0.6 GB, free: 4.637 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.6374, allocations: 46.55 kB / 0.6 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.6375, allocations: 43.44 kB / 0.6001 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.6381, allocations: 349.1 kB / 0.6004 GB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.6381, allocations: 8 kB / 0.6004 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.6382, allocations: 15.94 kB / 0.6004 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.6384, allocations: 121.6 kB / 0.6006 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.6384, allocations: 0 / 0.6006 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6385, allocations: 0 / 0.6006 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.6385, allocations: 4 kB / 0.6006 GB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.6386, allocations: 71.97 kB / 0.6006 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008426/0.6395, allocations: 0.5393 MB / 0.6012 GB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.6397, allocations: 106.4 kB / 0.6013 GB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.6397, allocations: 40.8 kB / 0.6013 GB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.6398, allocations: 4 kB / 0.6013 GB, free: 3.184 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6398, allocations: 30.56 kB / 0.6013 GB, free: 3.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.6398, allocations: 0 / 0.6013 GB, free: 3.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008438/0.6407, allocations: 385.1 kB / 0.6017 GB, free: 2.762 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.6407, allocations: 55.41 kB / 0.6017 GB, free: 2.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/0.6414, allocations: 495.1 kB / 0.6022 GB, free: 2.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.6414, allocations: 29.7 kB / 0.6022 GB, free: 2.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/0.6416, allocations: 204.3 kB / 0.6024 GB, free: 1.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.6417, allocations: 51.2 kB / 0.6025 GB, free: 1.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-06/0.6417, allocations: 4 kB / 0.6025 GB, free: 1.906 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.6419, allocations: 354.8 kB / 0.6028 GB, free: 1.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/0.642, allocations: 55.98 kB / 0.6029 GB, free: 1.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/0.6421, allocations: 59.88 kB / 0.6029 GB, free: 1.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.6422, allocations: 65.17 kB / 0.603 GB, free: 1.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6422, allocations: 3.938 kB / 0.603 GB, free: 1.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003069/0.6425, allocations: 210.5 kB / 0.6032 GB, free: 1.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6425, allocations: 4 kB / 0.6032 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6425, allocations: 0 / 0.6032 GB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.6426, allocations: 4 kB / 0.6032 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.6427, allocations: 43.97 kB / 0.6033 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.6428, allocations: 0 / 0.6033 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.852e-05/0.6429, allocations: 12 kB / 0.6033 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.6429, allocations: 4 kB / 0.6033 GB, free: 1.094 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 (17): * Single equations (assignments): 17 * 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 9.783e-05/0.643, allocations: 116.9 kB / 0.6034 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.608e-05/0.6431, allocations: 35.53 kB / 0.6034 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.6435, allocations: 270.4 kB / 0.6037 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6435, allocations: 4 kB / 0.6037 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6436, allocations: 0 / 0.6037 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.6436, allocations: 3.938 kB / 0.6037 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009567/0.6445, allocations: 0.7101 MB / 0.6044 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6445, allocations: 3.938 kB / 0.6044 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.6447, allocations: 39.98 kB / 0.6044 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.6447, allocations: 0 / 0.6044 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.6447, allocations: 4 kB / 0.6044 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6447, allocations: 0 / 0.6044 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6447, allocations: 0 / 0.6044 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.6451, allocations: 320 kB / 0.6047 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.6452, allocations: 144.6 kB / 0.6049 GB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.6453, allocations: 4 kB / 0.6049 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.6454, allocations: 12 kB / 0.6049 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.6455, allocations: 19.92 kB / 0.6049 GB, free: 15.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.6455, allocations: 4 kB / 0.6049 GB, free: 15.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004419/0.6459, allocations: 397.1 kB / 0.6053 GB, free: 14.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.646, allocations: 0 / 0.6053 GB, free: 14.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003189/0.6463, allocations: 71.92 kB / 0.6054 GB, free: 14.86 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002122/0.6484, allocations: 1.37 MB / 0.6067 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.6487, allocations: 146.6 kB / 0.6068 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6487, allocations: 0 / 0.6068 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.6488, allocations: 83.91 kB / 0.6069 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.6492, allocations: 61.5 kB / 0.607 GB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.6504, allocations: 0.6668 MB / 0.6076 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004377/0.6508, allocations: 0.8221 MB / 0.6084 GB, free: 11.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.651, allocations: 70.03 kB / 0.6085 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.6512, allocations: 135.3 kB / 0.6086 GB, free: 11.62 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6512, allocations: 0 / 0.6086 GB, free: 11.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.6766, allocations: 7.129 MB / 0.6156 GB, free: 4.578 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.6769, allocations: 193.5 kB / 0.6158 GB, free: 4.348 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.169/2.846, allocations: 0 / 0.6158 GB, free: 4.348 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat