Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4",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.001716/0.001721, allocations: 188.9 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.292/2.292, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001208/0.001208, allocations: 98.78 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.3891/0.3891, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006956/0.0006959, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1295, allocations: 58.85 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.002739/0.1323, allocations: 1.302 MB / 491.6 MB, free: 7.938 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.1333, allocations: 279.8 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.044e-05/0.1334, allocations: 0 / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.1342, allocations: 435.2 kB / 492.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005027/0.1347, allocations: 255.4 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.1352, allocations: 87.88 kB / 492.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.1355, allocations: 111.8 kB / 492.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1356, allocations: 24.14 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1358, allocations: 95.8 kB / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.1361, allocations: 147.7 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.1362, allocations: 0 / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.1363, allocations: 15.94 kB / 493 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1365, allocations: 87.69 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.1365, allocations: 61.52 kB / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.1369, allocations: 192 kB / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1369, allocations: 0 / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1369, allocations: 0 / 493.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.137, allocations: 0 / 493.4 MB, free: 6.172 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.0009759/0.1379, allocations: 0.5871 MB / 494 MB, free: 5.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.138, allocations: 8.031 kB / 494 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.1381, allocations: 34.56 kB / 494 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.1382, allocations: 47.39 kB / 494 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.1386, allocations: 283.3 kB / 494.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1386, allocations: 4 kB / 494.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1387, allocations: 4 kB / 494.3 MB, free: 5.113 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.1389, allocations: 49.69 kB / 494.4 MB, free: 5.059 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1389, allocations: 3.938 kB / 494.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1389, allocations: 0 / 494.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.1389, allocations: 0 / 494.4 MB, free: 5.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1391, allocations: 27.98 kB / 494.4 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.1398, allocations: 392.6 kB / 494.8 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.1401, allocations: 46.56 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.1401, allocations: 0 / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.1402, allocations: 34.56 kB / 494.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.1402, allocations: 4 kB / 494.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001021/0.1412, allocations: 244 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.017e-05/0.1413, allocations: 51.41 kB / 495.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.1427, allocations: 0.8652 MB / 496 MB, free: 3.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.1428, allocations: 25.7 kB / 496.1 MB, free: 3.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1431, allocations: 242.6 kB / 496.3 MB, free: 3.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.1431, allocations: 31.58 kB / 496.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.1432, allocations: 0 / 496.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.1433, allocations: 310.8 kB / 496.6 MB, free: 2.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.1435, allocations: 23.98 kB / 496.7 MB, free: 2.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1436, allocations: 23.98 kB / 496.7 MB, free: 2.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.1438, allocations: 23.98 kB / 496.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1438, allocations: 3.938 kB / 496.7 MB, free: 2.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003462/0.1441, allocations: 85.86 kB / 496.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1442, allocations: 7.438 kB / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1442, allocations: 64 / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.1442, allocations: 7.953 kB / 496.8 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1444, allocations: 15.98 kB / 496.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1444, allocations: 0 / 496.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1445, allocations: 15.98 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1446, allocations: 3.938 kB / 496.8 MB, free: 2.484 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 (5): * Single equations (assignments): 5 * 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.0003509/0.1449, allocations: 213.8 kB / 497 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.145, allocations: 43.44 kB / 497.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004978/0.1455, allocations: 141 kB / 497.2 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1456, allocations: 3.953 kB / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1456, allocations: 0 / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1456, allocations: 0 / 497.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008937/0.1465, allocations: 470.4 kB / 497.7 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.1465, allocations: 4 kB / 497.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.1467, allocations: 15.98 kB / 497.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.1467, allocations: 3.953 kB / 497.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1467, allocations: 0 / 497.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1467, allocations: 4 kB / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1467, allocations: 0 / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004451/0.1472, allocations: 222.9 kB / 497.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.1473, allocations: 108.9 kB / 498 MB, free: 1.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.1474, allocations: 8.141 kB / 498 MB, free: 1.164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1475, allocations: 11.98 kB / 498.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.1476, allocations: 7.984 kB / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.1476, allocations: 0 / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.1487, allocations: 0.6589 MB / 498.7 MB, free: 500 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.1488, allocations: 0 / 498.7 MB, free: 500 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004047/0.1492, allocations: 27.98 kB / 498.8 MB, free: 472 kB / 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 (5): * Single equations (assignments): 5 * 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.001994/0.1512, allocations: 1.037 MB / 499.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003968/0.1516, allocations: 63.91 kB / 499.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1517, allocations: 3.938 kB / 499.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1518, allocations: 27.98 kB / 499.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.1523, allocations: 25.91 kB / 499.9 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.1572, allocations: 2.248 MB / 0.4904 GB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.1579, allocations: 0.834 MB / 0.4912 GB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.1582, allocations: 99.39 kB / 0.4913 GB, free: 12.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.703e-06/0.1582, allocations: 0 / 0.4913 GB, free: 12.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.83/2.988, allocations: 6.631 MB / 0.4978 GB, free: 5.41 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat does not exist to compare? outputFormat=mat