Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8",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.002428/0.002433, allocations: 182.8 kB / 16.4 MB, free: 5.75 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.201/2.201, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001263/0.001262, allocations: 94.41 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.542/0.542, allocations: 43.54 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005012/0.0005015, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1402, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.002639/0.1429, allocations: 1.266 MB / 491.6 MB, free: 9.852 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009442/0.1439, allocations: 275.8 kB / 491.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.144, allocations: 0 / 491.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000832/0.1449, allocations: 439.1 kB / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000539/0.1455, allocations: 243.5 kB / 492.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.1461, allocations: 131.8 kB / 492.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.1465, allocations: 115.8 kB / 492.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1466, allocations: 15.97 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1468, allocations: 99.78 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.1471, allocations: 147.7 kB / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1472, allocations: 0 / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1473, allocations: 8 kB / 493 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.1474, allocations: 87.69 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.1475, allocations: 61.52 kB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.1479, allocations: 180 kB / 493.3 MB, free: 8.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1479, allocations: 4 kB / 493.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1479, allocations: 4 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1479, allocations: 0 / 493.4 MB, free: 8.066 MB / 378.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.001001/0.1489, allocations: 0.5831 MB / 493.9 MB, free: 7.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.149, allocations: 12.03 kB / 493.9 MB, free: 7.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.148e-05/0.1491, allocations: 38.48 kB / 494 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.727e-05/0.1492, allocations: 39.48 kB / 494 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.1496, allocations: 279.3 kB / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.1496, allocations: 0 / 494.3 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.1497, allocations: 8 kB / 494.3 MB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1499, allocations: 49.69 kB / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.1499, allocations: 0 / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1499, allocations: 0 / 494.4 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.15, allocations: 3.953 kB / 494.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1501, allocations: 31.97 kB / 494.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007473/0.1509, allocations: 388.7 kB / 494.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.151, allocations: 38.56 kB / 494.8 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1511, allocations: 4.062 kB / 494.8 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.1511, allocations: 34.52 kB / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.1512, allocations: 0 / 494.8 MB, free: 6.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004259/0.1516, allocations: 113.1 kB / 495 MB, free: 6.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1517, allocations: 55.34 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.1531, allocations: 0.8652 MB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1532, allocations: 25.7 kB / 495.9 MB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.1534, allocations: 242.5 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1535, allocations: 7.969 kB / 496.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.1535, allocations: 8 kB / 496.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1536, allocations: 314.8 kB / 496.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1538, allocations: 11.94 kB / 496.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.2e-05/0.1539, allocations: 11.98 kB / 496.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.1539, allocations: 15.98 kB / 496.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.154, allocations: 4.062 kB / 496.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002238/0.1542, allocations: 57.62 kB / 496.6 MB, free: 4.637 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.1542, allocations: 4 kB / 496.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.1543, allocations: 3.953 kB / 496.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1543, allocations: 0 / 496.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1544, allocations: 11.98 kB / 496.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1544, allocations: 0 / 496.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1545, allocations: 12.03 kB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1546, allocations: 0 / 496.6 MB, free: 4.605 MB / 378.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 (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 0.0003276/0.1549, allocations: 217.8 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.467e-05/0.155, allocations: 39.44 kB / 496.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.1554, allocations: 112.6 kB / 496.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1554, allocations: 3.953 kB / 497 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1554, allocations: 4.031 kB / 497 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1554, allocations: 4 kB / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004195/0.1559, allocations: 281.6 kB / 497.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1559, allocations: 0 / 497.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.156, allocations: 11.98 kB / 497.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.156, allocations: 0 / 497.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-06/0.156, allocations: 0 / 497.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.156, allocations: 0 / 497.2 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.156, allocations: 3.953 kB / 497.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.1564, allocations: 195 kB / 497.4 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1565, allocations: 112.5 kB / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.1566, allocations: 0 / 497.6 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1567, allocations: 4 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1567, allocations: 11.88 kB / 497.6 MB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1568, allocations: 7.938 kB / 497.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001108/0.1579, allocations: 0.6589 MB / 498.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.1579, allocations: 0 / 498.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003694/0.1583, allocations: 20 kB / 498.3 MB, free: 2.84 MB / 378.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 (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.001683/0.16, allocations: 0.964 MB / 499.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1603, allocations: 27.97 kB / 499.2 MB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1604, allocations: 8 kB / 499.3 MB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.1605, allocations: 19.94 kB / 499.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.1609, allocations: 22.3 kB / 499.3 MB, free: 1.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3228/0.4837, allocations: 2.214 MB / 0.4898 GB, free: 42.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.4843, allocations: 0.8319 MB / 0.4906 GB, free: 42.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.4845, allocations: 112.1 kB / 0.4907 GB, free: 42.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4845, allocations: 0 / 0.4907 GB, free: 42.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.648/3.133, allocations: 6.416 MB / 0.4969 GB, free: 41 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat does not exist to compare? outputFormat=mat