Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_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.001603/0.00161, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.255/2.255, 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.001164/0.001163, allocations: 91.45 kB / 270.9 MB, free: 8.355 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.5501/0.5501, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.000472, allocations: 12 kB / 431.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 58.84 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test26): time 0.002521/0.137, allocations: 1.263 MB / 491.6 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1384, allocations: 283.8 kB / 491.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.1386, allocations: 0 / 491.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004564/0.1391, allocations: 75.77 kB / 491.9 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.1394, allocations: 51.88 kB / 492 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.1401, allocations: 83.83 kB / 492.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.1404, allocations: 43.88 kB / 492.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1406, allocations: 15.98 kB / 492.1 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1407, allocations: 27.89 kB / 492.1 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.1409, allocations: 43.84 kB / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1409, allocations: 0 / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1412, allocations: 19.98 kB / 492.2 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.112e-05/0.1413, allocations: 15.92 kB / 492.2 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.1414, allocations: 37.64 kB / 492.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.1417, allocations: 64.12 kB / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1417, allocations: 0 / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1417, allocations: 0 / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1418, allocations: 0 / 492.3 MB, free: 8.863 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.0009292/0.1427, allocations: 394.9 kB / 492.7 MB, free: 8.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.734e-05/0.1428, allocations: 8.031 kB / 492.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.747e-05/0.1429, allocations: 30.56 kB / 492.7 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.143, allocations: 11.86 kB / 492.8 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.1434, allocations: 194.9 kB / 492.9 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1434, allocations: 0 / 492.9 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.1434, allocations: 4 kB / 492.9 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.1437, allocations: 57.61 kB / 493 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1438, allocations: 0 / 493 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1438, allocations: 4 kB / 493 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1438, allocations: 3.953 kB / 493 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002328/0.1441, allocations: 27.98 kB / 493 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009059/0.145, allocations: 281 kB / 493.3 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.1455, allocations: 54.5 kB / 493.4 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.1455, allocations: 0 / 493.4 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/0.1456, allocations: 30.56 kB / 493.4 MB, free: 7.613 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.346e-06/0.1456, allocations: 0 / 493.4 MB, free: 7.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001476/0.1471, allocations: 181.2 kB / 493.6 MB, free: 7.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1472, allocations: 59.28 kB / 493.6 MB, free: 7.359 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.1476, allocations: 198.2 kB / 493.8 MB, free: 7.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1477, allocations: 29.7 kB / 493.9 MB, free: 7.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1478, allocations: 166.6 kB / 494 MB, free: 6.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.1478, allocations: 19.7 kB / 494 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-06/0.1479, allocations: 0 / 494 MB, free: 6.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.148, allocations: 314.8 kB / 494.3 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1482, allocations: 23.98 kB / 494.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.1484, allocations: 23.98 kB / 494.4 MB, free: 6.574 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.1487, allocations: 32.17 kB / 494.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1487, allocations: 0 / 494.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0006303/0.1494, allocations: 89.59 kB / 494.5 MB, free: 6.449 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.1494, allocations: 11.95 kB / 494.5 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1495, allocations: 4 kB / 494.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1495, allocations: 0 / 494.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1497, allocations: 15.98 kB / 494.5 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1498, allocations: 0 / 494.5 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1499, allocations: 8 kB / 494.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1499, allocations: 0 / 494.5 MB, free: 6.41 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 (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.0001792/0.1501, allocations: 129.8 kB / 494.7 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.799e-05/0.1502, allocations: 11.91 kB / 494.7 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/0.1508, allocations: 113.8 kB / 494.8 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.1508, allocations: 0 / 494.8 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1508, allocations: 0 / 494.8 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1509, allocations: 0 / 494.8 MB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1519, allocations: 374.5 kB / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1519, allocations: 0 / 495.2 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1521, allocations: 19.94 kB / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.1521, allocations: 288 / 495.2 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1521, allocations: 7.938 kB / 495.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1521, allocations: 0 / 495.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1521, allocations: 4 kB / 495.2 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.1525, allocations: 195.5 kB / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.1526, allocations: 89 kB / 495.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.1527, allocations: 7.953 kB / 495.5 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1528, allocations: 15.92 kB / 495.5 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.1529, allocations: 0 / 495.5 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.1529, allocations: 4 kB / 495.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1531, allocations: 164 kB / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1531, allocations: 0 / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.1535, allocations: 19.98 kB / 495.7 MB, free: 5.172 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 (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.001792/0.1553, allocations: 1.022 MB / 496.7 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.1556, allocations: 59.95 kB / 496.8 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.1556, allocations: 4 kB / 496.8 MB, free: 4.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1558, allocations: 31.92 kB / 496.8 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1562, allocations: 15.94 kB / 496.8 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.1579, allocations: 0.7272 MB / 497.5 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1583, allocations: 0.7082 MB / 498.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.1584, allocations: 31.36 kB / 498.3 MB, free: 2.516 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1584, allocations: 0 / 498.3 MB, free: 2.516 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/2.986, allocations: 2.029 MB / 0.4886 GB, free: 496 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat does not exist to compare? outputFormat=mat