Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001657, allocations: 186.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001203, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.536/0.536, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002641/0.1295, allocations: 1.306 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.1304, allocations: 295.8 kB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.1305, allocations: 4 kB / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1308, allocations: 47.88 kB / 492 MB, free: 7.574 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.131, allocations: 51.8 kB / 492 MB, free: 7.523 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.1316, allocations: 139.7 kB / 492.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1318, allocations: 47.88 kB / 492.2 MB, free: 7.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1319, allocations: 11.98 kB / 492.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.604e-05/0.132, allocations: 23.91 kB / 492.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1321, allocations: 39.84 kB / 492.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.1321, allocations: 3.938 kB / 492.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.1322, allocations: 16 kB / 492.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.158e-05/0.1323, allocations: 19.91 kB / 492.3 MB, free: 7.227 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/0.1324, allocations: 33.7 kB / 492.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1326, allocations: 72.11 kB / 492.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1326, allocations: 4 kB / 492.4 MB, free: 7.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1326, allocations: 3.938 kB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1326, allocations: 0 / 492.4 MB, free: 7.109 MB / 330.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.0006476/0.1333, allocations: 399 kB / 492.8 MB, free: 6.672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1333, allocations: 8.031 kB / 492.8 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.1334, allocations: 38.56 kB / 492.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1334, allocations: 11.86 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.1337, allocations: 194.9 kB / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1337, allocations: 0 / 493.1 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.1338, allocations: 4 kB / 493.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.134, allocations: 73.59 kB / 493.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.134, allocations: 0 / 493.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1341, allocations: 0 / 493.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1341, allocations: 0 / 493.1 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002569/0.1343, allocations: 51.95 kB / 493.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.135, allocations: 316.7 kB / 493.5 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1352, allocations: 58.48 kB / 493.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.1352, allocations: 0 / 493.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1353, allocations: 34.56 kB / 493.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1353, allocations: 0 / 493.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001373/0.1367, allocations: 269.2 kB / 493.8 MB, free: 5.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1367, allocations: 55.41 kB / 493.9 MB, free: 5.438 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.137, allocations: 186.2 kB / 494.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.137, allocations: 25.7 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1371, allocations: 166.6 kB / 494.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1372, allocations: 19.66 kB / 494.3 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.1372, allocations: 7.938 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1374, allocations: 314.8 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.1376, allocations: 47.97 kB / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1378, allocations: 43.97 kB / 494.7 MB, free: 4.617 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.1381, allocations: 51.97 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1381, allocations: 0 / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005564/0.1387, allocations: 137.5 kB / 494.9 MB, free: 4.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1387, allocations: 8 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1387, allocations: 0 / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.1388, allocations: 3.953 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.139, allocations: 27.92 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.139, allocations: 4 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1391, allocations: 15.98 kB / 494.9 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.1392, allocations: 4 kB / 494.9 MB, free: 4.363 MB / 330.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.0001454/0.1393, allocations: 125.8 kB / 495.1 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.1394, allocations: 7.906 kB / 495.1 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.1401, allocations: 170.2 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.1401, allocations: 3.953 kB / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1401, allocations: 0 / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1401, allocations: 4.281 kB / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000926/0.141, allocations: 422.5 kB / 495.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1411, allocations: 0 / 495.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.1413, allocations: 31.91 kB / 495.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.1413, allocations: 11.94 kB / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1413, allocations: 0 / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1413, allocations: 0 / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1413, allocations: 0 / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006002/0.1419, allocations: 243.8 kB / 495.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.142, allocations: 89.02 kB / 496 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.1421, allocations: 3.953 kB / 496 MB, free: 3.164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.1422, allocations: 15.98 kB / 496 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.1423, allocations: 7.984 kB / 496.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1423, allocations: 4 kB / 496.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1425, allocations: 139.2 kB / 496.2 MB, free: 3 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1426, allocations: 0 / 496.2 MB, free: 3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003406/0.1429, allocations: 20 kB / 496.2 MB, free: 2.98 MB / 330.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.002103/0.145, allocations: 1.073 MB / 497.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005627/0.1456, allocations: 99.94 kB / 497.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.1457, allocations: 7.938 kB / 497.4 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.1459, allocations: 59.95 kB / 497.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1463, allocations: 15.95 kB / 497.5 MB, free: 1.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.1485, allocations: 0.7997 MB / 498.3 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.149, allocations: 0.7121 MB / 499 MB, free: 164 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.1491, allocations: 35.42 kB / 499 MB, free: 128 kB / 330.7 MB Notification: Performance of SimCode: time 3.356e-06/0.1491, allocations: 0 / 499 MB, free: 128 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/2.889, allocations: 2.289 MB / 0.4896 GB, free: 13.84 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat does not exist to compare? outputFormat=mat