Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21",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.002668/0.002675, allocations: 189.2 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.183/2.183, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001207/0.001207, allocations: 102.8 kB / 270.9 MB, free: 13.38 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.2949/0.2949, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004878, allocations: 16 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 58.86 MB / 490.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003112/0.1334, allocations: 1.602 MB / 491.9 MB, free: 7.598 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1352, allocations: 0.546 MB / 492.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1354, allocations: 8 kB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.136, allocations: 235.4 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.1364, allocations: 167.6 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1382, allocations: 407.2 kB / 493.3 MB, free: 6.246 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.1387, allocations: 183.6 kB / 493.5 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.1389, allocations: 44.72 kB / 493.5 MB, free: 6.023 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1391, allocations: 107.6 kB / 493.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.1394, allocations: 139.5 kB / 493.7 MB, free: 5.781 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1394, allocations: 4 kB / 493.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002063/0.1397, allocations: 47.86 kB / 493.8 MB, free: 5.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.1398, allocations: 75.73 kB / 493.9 MB, free: 5.656 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.1399, allocations: 61.52 kB / 493.9 MB, free: 5.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.1403, allocations: 235.8 kB / 494.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1403, allocations: 0 / 494.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1404, allocations: 4 kB / 494.2 MB, free: 5.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.962e-06/0.1404, allocations: 3.938 kB / 494.2 MB, free: 5.352 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00104/0.1414, allocations: 0.5836 MB / 494.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1415, allocations: 8.031 kB / 494.8 MB, free: 4.711 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.1416, allocations: 46.48 kB / 494.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.506e-05/0.1417, allocations: 43.39 kB / 494.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.1422, allocations: 297.3 kB / 495.1 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.1422, allocations: 8 kB / 495.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.1423, allocations: 16 kB / 495.2 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1426, allocations: 113.5 kB / 495.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1427, allocations: 0 / 495.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.1427, allocations: 0 / 495.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1427, allocations: 4 kB / 495.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002821/0.143, allocations: 71.95 kB / 495.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009575/0.144, allocations: 0.4924 MB / 495.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.1443, allocations: 98.42 kB / 495.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.1443, allocations: 7.984 kB / 495.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1444, allocations: 34.56 kB / 496 MB, free: 3.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.1444, allocations: 0 / 496 MB, free: 3.367 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001502/0.1459, allocations: 395.9 kB / 496.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.146, allocations: 55.41 kB / 496.4 MB, free: 2.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009099/0.1469, allocations: 0.541 MB / 497 MB, free: 2.367 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1469, allocations: 33.7 kB / 497 MB, free: 2.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1471, allocations: 234.8 kB / 497.2 MB, free: 2.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-05/0.1472, allocations: 59.09 kB / 497.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.1472, allocations: 8 kB / 497.3 MB, free: 2.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1474, allocations: 318.8 kB / 497.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.1476, allocations: 51.97 kB / 497.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.1478, allocations: 55.97 kB / 497.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1481, allocations: 59.92 kB / 497.8 MB, free: 1.547 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1481, allocations: 4 kB / 497.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005465/0.1486, allocations: 169.5 kB / 497.9 MB, free: 1.371 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1487, allocations: 4 kB / 497.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1487, allocations: 0 / 497.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1487, allocations: 3.984 kB / 497.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002992/0.149, allocations: 39.98 kB / 498 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.149, allocations: 4 kB / 498 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.1492, allocations: 8 kB / 498 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1493, allocations: 15.92 kB / 498 MB, free: 1.297 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 (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 0.0002692/0.1495, allocations: 177.7 kB / 498.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.079e-05/0.1496, allocations: 39.52 kB / 498.2 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.1504, allocations: 243.6 kB / 498.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.1504, allocations: 0 / 498.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1505, allocations: 3.938 kB / 498.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.1505, allocations: 3.984 kB / 498.5 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.1517, allocations: 0.6309 MB / 499.1 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1518, allocations: 0 / 499.1 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.152, allocations: 31.98 kB / 499.1 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.152, allocations: 4 kB / 499.1 MB, free: 100 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.1521, allocations: 4 kB / 499.1 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1521, allocations: 7.953 kB / 499.1 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1521, allocations: 7.984 kB / 499.1 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.1527, allocations: 305.4 kB / 499.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.1529, allocations: 128.6 kB / 499.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.153, allocations: 11.94 kB / 499.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1532, allocations: 8 kB / 499.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.1533, allocations: 15.94 kB / 499.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1533, allocations: 7.984 kB / 499.6 MB, free: 15.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006771/0.154, allocations: 411.1 kB / 0.4883 GB, free: 15.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.154, allocations: 0 / 0.4883 GB, free: 15.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.1544, allocations: 44 kB / 0.4883 GB, free: 15.14 MB / 346.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 (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.002991/0.1574, allocations: 1.444 MB / 0.4897 GB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006522/0.1581, allocations: 131.9 kB / 0.4899 GB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/0.1582, allocations: 4 kB / 0.4899 GB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004079/0.1586, allocations: 75.91 kB / 0.4899 GB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.1597, allocations: 61.41 kB / 0.49 GB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/0.1677, allocations: 1.965 MB / 0.4919 GB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.1684, allocations: 0.8067 MB / 0.4927 GB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004964/0.1689, allocations: 123.3 kB / 0.4928 GB, free: 10.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.212e-06/0.169, allocations: 0 / 0.4928 GB, free: 10.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.928/3.097, allocations: 6.072 MB / 0.4988 GB, free: 4.406 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test21_res.mat does not exist to compare? outputFormat=mat