Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.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.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test27,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27",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.001643/0.001647, allocations: 188 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.152/2.152, 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.00119/0.001189, allocations: 94.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.3272/0.3272, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004732, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 58.85 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.002511/0.1265, allocations: 1.252 MB / 491.6 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008188/0.1273, allocations: 291.8 kB / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.1274, allocations: 0 / 491.9 MB, free: 7.695 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.1278, allocations: 115.7 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1281, allocations: 71.89 kB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1285, allocations: 87.77 kB / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.1287, allocations: 59.86 kB / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1288, allocations: 11.98 kB / 492.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.959e-05/0.1289, allocations: 35.91 kB / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1291, allocations: 55.86 kB / 492.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1291, allocations: 3.938 kB / 492.3 MB, free: 7.262 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1292, allocations: 23.92 kB / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.1293, allocations: 27.91 kB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.233e-05/0.1294, allocations: 37.64 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1296, allocations: 80.11 kB / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1296, allocations: 0 / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1296, allocations: 0 / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1296, allocations: 0 / 492.5 MB, free: 7.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005795/0.1302, allocations: 402.8 kB / 492.8 MB, free: 6.648 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.1303, allocations: 12.03 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1303, allocations: 30.56 kB / 492.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.1304, allocations: 15.77 kB / 492.9 MB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1306, allocations: 202.7 kB / 493.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1307, allocations: 8 kB / 493.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.1307, allocations: 0 / 493.1 MB, free: 6.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.1309, allocations: 57.61 kB / 493.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1309, allocations: 0 / 493.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1309, allocations: 0 / 493.2 MB, free: 6.273 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.131, allocations: 4 kB / 493.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.1311, allocations: 23.98 kB / 493.2 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.1317, allocations: 300.8 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.132, allocations: 54.48 kB / 493.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1321, allocations: 0 / 493.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.1321, allocations: 34.56 kB / 493.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.827e-06/0.1321, allocations: 4 kB / 493.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009108/0.133, allocations: 189.1 kB / 493.8 MB, free: 5.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1331, allocations: 55.39 kB / 493.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.1335, allocations: 263.3 kB / 494.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1336, allocations: 25.7 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.1337, allocations: 166.6 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1337, allocations: 11.81 kB / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.1337, allocations: 0 / 494.3 MB, free: 5.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1339, allocations: 318.8 kB / 494.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.134, allocations: 27.98 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.1342, allocations: 23.98 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1343, allocations: 23.98 kB / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1343, allocations: 0 / 494.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003546/0.1347, allocations: 97.59 kB / 494.8 MB, free: 4.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.1348, allocations: 4 kB / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1348, allocations: 0 / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1348, allocations: 3.953 kB / 494.8 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1349, allocations: 12 kB / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.135, allocations: 7.922 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.1351, allocations: 12 kB / 494.8 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1351, allocations: 0 / 494.8 MB, free: 4.523 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.0001634/0.1353, allocations: 137.8 kB / 494.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.1353, allocations: 11.81 kB / 494.9 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.1358, allocations: 122.8 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.1358, allocations: 64 / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.1358, allocations: 7.953 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1358, allocations: 0 / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007333/0.1366, allocations: 378.5 kB / 495.4 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1366, allocations: 4 kB / 495.4 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.1367, allocations: 8 kB / 495.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.1367, allocations: 4 kB / 495.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1368, allocations: 11.89 kB / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1368, allocations: 0 / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.1368, allocations: 3.984 kB / 495.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.1372, allocations: 191.3 kB / 495.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.1373, allocations: 92.91 kB / 495.7 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1373, allocations: 7.938 kB / 495.8 MB, free: 3.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1374, allocations: 7.953 kB / 495.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1375, allocations: 7.984 kB / 495.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.1375, allocations: 0 / 495.8 MB, free: 3.445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002836/0.1378, allocations: 207.4 kB / 496 MB, free: 3.242 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.1378, allocations: 0 / 496 MB, free: 3.242 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.1382, allocations: 15.98 kB / 496 MB, free: 3.227 MB / 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.001862/0.1401, allocations: 1.02 MB / 497 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004018/0.1405, allocations: 63.95 kB / 497.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.1406, allocations: 0 / 497.1 MB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1407, allocations: 35.92 kB / 497.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1411, allocations: 16.12 kB / 497.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.1431, allocations: 0.855 MB / 498 MB, free: 1.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.1436, allocations: 0.7199 MB / 498.7 MB, free: 480 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.1437, allocations: 35.42 kB / 498.7 MB, free: 444 kB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1437, allocations: 0 / 498.7 MB, free: 444 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.639/2.782, allocations: 2.334 MB / 0.4893 GB, free: 14.1 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test27.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat does not exist to compare? outputFormat=mat