Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23",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.001571/0.001575, allocations: 187.6 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.15/2.15, 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: 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.3028/0.3028, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006868/0.0006874, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1504, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003423/0.1539, allocations: 1.665 MB / 492 MB, free: 7.566 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1563, allocations: 0.8514 MB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1565, allocations: 0 / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1568, allocations: 39.7 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.1573, allocations: 143.6 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.159, allocations: 371.2 kB / 493.4 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005872/0.1596, allocations: 175.6 kB / 493.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.1599, allocations: 48.91 kB / 493.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.1602, allocations: 103.6 kB / 493.7 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003503/0.1605, allocations: 159.4 kB / 493.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.558e-05/0.1606, allocations: 11.94 kB / 493.9 MB, free: 5.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1608, allocations: 24 kB / 493.9 MB, free: 5.652 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.161, allocations: 123.6 kB / 494 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1611, allocations: 85.39 kB / 494.1 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.1616, allocations: 283.7 kB / 494.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1617, allocations: 0 / 494.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1617, allocations: 0 / 494.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.1617, allocations: 0 / 494.4 MB, free: 5.164 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001601/0.1633, allocations: 0.7271 MB / 495.1 MB, free: 4.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1634, allocations: 8.031 kB / 495.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.349e-05/0.1635, allocations: 38.56 kB / 495.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.1636, allocations: 59.3 kB / 495.2 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009505/0.1646, allocations: 438.9 kB / 495.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1646, allocations: 4 kB / 495.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.1647, allocations: 12 kB / 495.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.1652, allocations: 143.3 kB / 495.8 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1653, allocations: 4 kB / 495.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.1653, allocations: 4 kB / 495.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.1653, allocations: 4 kB / 495.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005874/0.1659, allocations: 119.8 kB / 495.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1676, allocations: 0.6994 MB / 496.6 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.1681, allocations: 129.2 kB / 496.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.1682, allocations: 4 kB / 496.7 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.1682, allocations: 38.67 kB / 496.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.507e-06/0.1683, allocations: 0 / 496.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.003682/0.172, allocations: 0.7399 MB / 497.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.1721, allocations: 85.05 kB / 497.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.1739, allocations: 0.874 MB / 498.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/0.174, allocations: 29.7 kB / 498.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.1743, allocations: 270.8 kB / 498.8 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.1744, allocations: 71.02 kB / 498.8 MB, free: 464 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.1744, allocations: 0 / 498.8 MB, free: 464 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1746, allocations: 318.8 kB / 499.1 MB, free: 136 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.1751, allocations: 103.9 kB / 499.2 MB, free: 32 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.1757, allocations: 129.5 kB / 499.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005436/0.1763, allocations: 115.9 kB / 499.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1763, allocations: 4 kB / 499.5 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001245/0.1776, allocations: 285.3 kB / 499.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1776, allocations: 4 kB / 499.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1776, allocations: 0 / 499.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.1777, allocations: 3.953 kB / 499.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.1782, allocations: 71.88 kB / 499.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1783, allocations: 0 / 499.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.1787, allocations: 32.73 kB / 499.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.1788, allocations: 11.98 kB / 499.9 MB, free: 15.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0003786/0.1792, allocations: 206 kB / 0.4884 GB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.1793, allocations: 59.25 kB / 0.4884 GB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.1809, allocations: 394.1 kB / 0.4888 GB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.181, allocations: 3.953 kB / 0.4888 GB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.181, allocations: 0 / 0.4888 GB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.181, allocations: 7.984 kB / 0.4888 GB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.1837, allocations: 0.915 MB / 0.4897 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.1838, allocations: 3.953 kB / 0.4897 GB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/0.1843, allocations: 63.94 kB / 0.4898 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.1843, allocations: 4 kB / 0.4898 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.1844, allocations: 4 kB / 0.4898 GB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/0.1844, allocations: 4 kB / 0.4898 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1844, allocations: 0 / 0.4898 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.186, allocations: 0.5114 MB / 0.4903 GB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.1864, allocations: 160.3 kB / 0.4904 GB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.33e-05/0.1865, allocations: 8 kB / 0.4904 GB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.187, allocations: 31.97 kB / 0.4905 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.1871, allocations: 19.97 kB / 0.4905 GB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.1871, allocations: 4 kB / 0.4905 GB, free: 12.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001299/0.1884, allocations: 0.6354 MB / 0.4911 GB, free: 12.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1885, allocations: 0 / 0.4911 GB, free: 12.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007182/0.1893, allocations: 64 kB / 0.4912 GB, free: 12.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.00318/0.1925, allocations: 1.432 MB / 0.4926 GB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.1939, allocations: 259.7 kB / 0.4928 GB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.1939, allocations: 0 / 0.4928 GB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006046/0.1946, allocations: 136.4 kB / 0.493 GB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008135/0.1954, allocations: 71.08 kB / 0.493 GB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009476/0.2049, allocations: 3.436 MB / 0.4964 GB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.2056, allocations: 0.8772 MB / 0.4972 GB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.2062, allocations: 183.3 kB / 0.4974 GB, free: 5.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2062, allocations: 0 / 0.4974 GB, free: 5.734 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.829/3.036, allocations: 8.428 MB / 0.5056 GB, free: 13.3 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat