Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7",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.001171/0.001172, allocations: 179.8 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.494/1.494, allocations: 221.3 MB / 236 MB, free: 2.965 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.001051/0.001051, allocations: 95.78 kB / 287 MB, free: 244 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.1958/0.1958, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.49e-05/4.508e-05, allocations: 8.156 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1615, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4603/0.6218, allocations: 88.27 MB / 0.588 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.6222, allocations: 71.95 kB / 0.5881 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01733/0.6395, allocations: 7.932 MB / 0.5958 GB, free: 8.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6396, allocations: 0 / 0.5958 GB, free: 8.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.6396, allocations: 4 kB / 0.5958 GB, free: 8.988 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005461/0.6402, allocations: 0.5404 MB / 0.5963 GB, free: 8.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.6402, allocations: 12.03 kB / 0.5964 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.6403, allocations: 34.56 kB / 0.5964 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.6403, allocations: 39.44 kB / 0.5964 GB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.6409, allocations: 335.3 kB / 0.5967 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.6409, allocations: 0 / 0.5967 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.6409, allocations: 8 kB / 0.5968 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.6411, allocations: 33.7 kB / 0.5968 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6411, allocations: 4 kB / 0.5968 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6411, allocations: 4 kB / 0.5968 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.6411, allocations: 0 / 0.5968 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.6412, allocations: 12 kB / 0.5968 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.6418, allocations: 428.7 kB / 0.5972 GB, free: 7.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.6419, allocations: 26.56 kB / 0.5972 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.6419, allocations: 8.859 kB / 0.5972 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.642, allocations: 12 kB / 0.5973 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.642, allocations: 30.56 kB / 0.5973 GB, free: 7.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.642, allocations: 0 / 0.5973 GB, free: 7.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000206/0.6422, allocations: 85.06 kB / 0.5974 GB, free: 7.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.6423, allocations: 55.23 kB / 0.5974 GB, free: 7.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.6434, allocations: 0.7901 MB / 0.5982 GB, free: 6.355 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6435, allocations: 25.7 kB / 0.5982 GB, free: 6.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.6436, allocations: 220.1 kB / 0.5984 GB, free: 6.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.6437, allocations: 3.906 kB / 0.5984 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.6437, allocations: 0 / 0.5984 GB, free: 6.102 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6438, allocations: 366.8 kB / 0.5988 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.6438, allocations: 0 / 0.5988 GB, free: 5.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.6439, allocations: 4 kB / 0.5988 GB, free: 5.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.6439, allocations: 8 kB / 0.5988 GB, free: 5.723 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6439, allocations: 0 / 0.5988 GB, free: 5.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.644, allocations: 81.3 kB / 0.5989 GB, free: 5.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.644, allocations: 4 kB / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.644, allocations: 0 / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6441, allocations: 0 / 0.5989 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/0.6441, allocations: 11.92 kB / 0.5989 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6442, allocations: 0 / 0.5989 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.6442, allocations: 4 kB / 0.5989 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.6442, allocations: 7.953 kB / 0.5989 GB, free: 5.609 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 (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 5.904e-05/0.6443, allocations: 101 kB / 0.599 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.6444, allocations: 47.47 kB / 0.599 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.6445, allocations: 96.59 kB / 0.5991 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6446, allocations: 0 / 0.5991 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6446, allocations: 0 / 0.5991 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6446, allocations: 0 / 0.5991 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.6449, allocations: 333.3 kB / 0.5994 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.6449, allocations: 0 / 0.5994 GB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.645, allocations: 4 kB / 0.5995 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.645, allocations: 3.938 kB / 0.5995 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.645, allocations: 4.031 kB / 0.5995 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.645, allocations: 0 / 0.5995 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.645, allocations: 8 kB / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.6452, allocations: 178.9 kB / 0.5996 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.6454, allocations: 156.6 kB / 0.5998 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.6454, allocations: 0 / 0.5998 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.668e-05/0.6455, allocations: 11.94 kB / 0.5998 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.6456, allocations: 8.016 kB / 0.5998 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-06/0.6456, allocations: 0 / 0.5998 GB, free: 4.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006868/0.6463, allocations: 0.638 MB / 0.6004 GB, free: 3.934 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6463, allocations: 0 / 0.6004 GB, free: 3.934 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.6466, allocations: 48 kB / 0.6005 GB, free: 3.887 MB / 410.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 (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.001153/0.6477, allocations: 0.9303 MB / 0.6014 GB, free: 3.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.459e-05/0.6478, allocations: 12 kB / 0.6014 GB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6478, allocations: 0 / 0.6014 GB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.109e-05/0.6478, allocations: 12 kB / 0.6014 GB, free: 3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.6481, allocations: 26.08 kB / 0.6014 GB, free: 2.973 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.6494, allocations: 0.787 MB / 0.6022 GB, free: 2.148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.6499, allocations: 0.8223 MB / 0.603 GB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.02e-05/0.65, allocations: 36.42 kB / 0.603 GB, free: 1.262 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.6502, allocations: 119.4 kB / 0.6032 GB, free: 1.145 MB / 410.7 MB Notification: Performance of SimCode: time 2.234e-06/0.6502, allocations: 0 / 0.6032 GB, free: 1.145 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.6733, allocations: 6.166 MB / 0.6092 GB, free: 11.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.6736, allocations: 185.9 kB / 0.6094 GB, free: 10.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/2.82, allocations: 0 / 0.6094 GB, free: 10.82 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat does not exist to compare? outputFormat=mat