Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test7,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7",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.001684/0.001687, allocations: 186.7 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.207/2.207, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001211/0.001211, allocations: 90.92 kB / 270.9 MB, free: 13.29 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.3131/0.3131, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 15.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 58.85 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.002381/0.122, allocations: 1.252 MB / 491.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.1229, allocations: 291.7 kB / 491.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.123, allocations: 0 / 491.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.1232, allocations: 23.86 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1234, allocations: 23.97 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.1238, allocations: 87.77 kB / 492 MB, free: 7.551 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.1239, allocations: 35.89 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.124, allocations: 15.98 kB / 492 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.1241, allocations: 11.94 kB / 492 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.963e-05/0.1242, allocations: 15.92 kB / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1242, allocations: 0 / 492.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.382e-05/0.1243, allocations: 23.92 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.1243, allocations: 11.98 kB / 492.1 MB, free: 7.438 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.1244, allocations: 33.64 kB / 492.1 MB, free: 7.398 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1245, allocations: 52.14 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1246, allocations: 0 / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1246, allocations: 0 / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1246, 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.0005239/0.1251, allocations: 375.1 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1252, allocations: 12.03 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.1252, allocations: 30.56 kB / 492.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1253, allocations: 11.86 kB / 492.6 MB, free: 6.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1255, allocations: 189.6 kB / 492.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.1255, allocations: 0 / 492.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1256, allocations: 0 / 492.8 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1258, allocations: 61.62 kB / 492.8 MB, free: 6.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1258, allocations: 3.938 kB / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1258, allocations: 0 / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1258, allocations: 0 / 492.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.126, allocations: 27.97 kB / 492.9 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.1265, allocations: 284.9 kB / 493.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.1268, allocations: 46.5 kB / 493.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1268, allocations: 0 / 493.2 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1269, allocations: 38.56 kB / 493.2 MB, free: 6.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 7.865e-06/0.1269, allocations: 0 / 493.2 MB, free: 6.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008542/0.1277, allocations: 177.2 kB / 493.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.1278, allocations: 51.41 kB / 493.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.128, allocations: 158 kB / 493.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.128, allocations: 25.7 kB / 493.6 MB, free: 5.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/0.1281, allocations: 158.6 kB / 493.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.1282, allocations: 15.72 kB / 493.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1282, allocations: 0 / 493.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1283, allocations: 318.8 kB / 494.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1285, allocations: 23.98 kB / 494.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1286, allocations: 27.98 kB / 494.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1288, allocations: 23.98 kB / 494.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1288, allocations: 0 / 494.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003331/0.1291, allocations: 97.59 kB / 494.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1292, allocations: 4 kB / 494.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1292, allocations: 0 / 494.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1292, allocations: 3.953 kB / 494.3 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1293, allocations: 12 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1293, allocations: 3.984 kB / 494.3 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.517e-05/0.1294, allocations: 15.92 kB / 494.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1295, allocations: 4 kB / 494.3 MB, free: 4.969 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.0001147/0.1296, allocations: 121.8 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.505e-05/0.1296, allocations: 7.891 kB / 494.5 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.13, allocations: 105.9 kB / 494.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.13, allocations: 0 / 494.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1301, allocations: 7.953 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1301, allocations: 0 / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.1307, allocations: 354.8 kB / 494.9 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1308, allocations: 384 / 494.9 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.1309, allocations: 23.92 kB / 494.9 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1309, allocations: 4 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1309, allocations: 11.95 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1309, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1309, allocations: 3.984 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.1314, allocations: 191.4 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.1314, allocations: 85.02 kB / 495.2 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1315, allocations: 3.938 kB / 495.2 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1316, allocations: 15.94 kB / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.1317, allocations: 4 kB / 495.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.1317, allocations: 0 / 495.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.1318, allocations: 118.2 kB / 495.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1318, allocations: 4 kB / 495.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.1322, allocations: 20 kB / 495.4 MB, free: 3.809 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.001751/0.1339, allocations: 1.024 MB / 496.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.1343, allocations: 55.91 kB / 496.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1343, allocations: 0 / 496.5 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1345, allocations: 39.91 kB / 496.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1348, allocations: 15.95 kB / 496.5 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.1363, allocations: 0.6 MB / 497.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1367, allocations: 0.7004 MB / 497.8 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.1368, allocations: 23.44 kB / 497.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.283e-06/0.1368, allocations: 0 / 497.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.679/2.816, allocations: 1.834 MB / 499.7 MB, free: 15.46 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test7.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test7_res.mat does not exist to compare? outputFormat=mat