Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11",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.001596/0.001596, allocations: 188.1 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.128/2.128, 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.001682/0.001681, allocations: 98.84 kB / 270.9 MB, free: 13.39 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.2906/0.2906, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004644, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1231, allocations: 58.86 MB / 490.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.002441/0.1256, allocations: 1.26 MB / 491.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.1264, allocations: 287.8 kB / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1265, allocations: 0 / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1267, allocations: 15.88 kB / 491.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001757/0.1269, allocations: 27.97 kB / 491.9 MB, free: 7.648 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1273, allocations: 87.75 kB / 492 MB, free: 7.562 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1274, allocations: 31.91 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1276, allocations: 19.98 kB / 492 MB, free: 7.512 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.1276, allocations: 15.92 kB / 492.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.124e-05/0.1277, allocations: 15.92 kB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1277, allocations: 0 / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.1278, allocations: 19.94 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.1279, allocations: 11.98 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.1279, allocations: 37.64 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.1281, allocations: 60.11 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1281, allocations: 0 / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1281, allocations: 0 / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1281, allocations: 4 kB / 492.2 MB, free: 7.344 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.000548/0.1287, allocations: 375.1 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.1288, allocations: 12.02 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.1288, allocations: 34.56 kB / 492.6 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.1289, allocations: 11.8 kB / 492.6 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.1291, allocations: 186.9 kB / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1292, allocations: 0 / 492.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1292, allocations: 4 kB / 492.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.1294, allocations: 57.67 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1294, allocations: 4 kB / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.1294, allocations: 0 / 492.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.1295, allocations: 7.938 kB / 492.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1296, allocations: 23.98 kB / 492.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.1301, allocations: 288.9 kB / 493.2 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.1304, allocations: 50.5 kB / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1305, allocations: 0 / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1305, allocations: 30.56 kB / 493.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.707e-06/0.1305, allocations: 0 / 493.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008642/0.1314, allocations: 177.2 kB / 493.4 MB, free: 5.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.1315, allocations: 51.41 kB / 493.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1317, allocations: 169.7 kB / 493.7 MB, free: 5.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1317, allocations: 25.7 kB / 493.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.1318, allocations: 162.6 kB / 493.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1319, allocations: 15.73 kB / 493.8 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.1319, allocations: 4 kB / 493.9 MB, free: 5.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.132, allocations: 318.8 kB / 494.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1322, allocations: 23.98 kB / 494.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1323, allocations: 23.98 kB / 494.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1325, allocations: 23.98 kB / 494.2 MB, free: 5.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1325, allocations: 7.938 kB / 494.2 MB, free: 5.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003403/0.1328, allocations: 93.61 kB / 494.3 MB, free: 4.984 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1329, allocations: 4 kB / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1329, allocations: 0 / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1329, allocations: 4 kB / 494.3 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1331, allocations: 15.98 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.1331, allocations: 0 / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.497e-05/0.1332, allocations: 4 kB / 494.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1332, allocations: 4 kB / 494.4 MB, free: 4.953 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.0001271/0.1333, allocations: 129.8 kB / 494.5 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.1334, allocations: 11.86 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003946/0.1338, allocations: 105.9 kB / 494.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1338, allocations: 0 / 494.6 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1338, allocations: 4 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1338, allocations: 0 / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.1345, allocations: 370.7 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1345, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1347, allocations: 23.92 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.1347, allocations: 0 / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1347, allocations: 0 / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1347, allocations: 4 kB / 495 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1347, allocations: 0 / 495 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.1351, allocations: 191.4 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.1352, allocations: 88.97 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.1352, allocations: 3.938 kB / 495.3 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1354, allocations: 7.984 kB / 495.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/0.1354, allocations: 4 kB / 495.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1354, allocations: 0 / 495.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1356, allocations: 138.7 kB / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1356, allocations: 3.938 kB / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003358/0.136, allocations: 12 kB / 495.4 MB, free: 3.777 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.001822/0.1378, allocations: 1.024 MB / 496.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.1382, allocations: 55.91 kB / 496.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.1382, allocations: 0 / 496.5 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1384, allocations: 35.98 kB / 496.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1387, allocations: 11.98 kB / 496.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.1403, allocations: 0.6452 MB / 497.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.1407, allocations: 0.7004 MB / 497.9 MB, free: 1.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.7e-05/0.1408, allocations: 23.42 kB / 497.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.1409, allocations: 0 / 497.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.9/3.041, allocations: 1.881 MB / 499.8 MB, free: 15.34 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat does not exist to compare? outputFormat=mat