Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001234, allocations: 95.64 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 186.9 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.2 MB / 241.8 MB, free: 408 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1909/0.1909, allocations: 44.22 MB / 337.1 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004024, allocations: 11.98 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1176, allocations: 61.92 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002566/0.1202, allocations: 1.337 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1214, allocations: 391.6 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.1216, allocations: 0 / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1219, allocations: 63.83 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1222, allocations: 55.81 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006522/0.1228, allocations: 161.7 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.1231, allocations: 55.88 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1232, allocations: 15.97 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.532e-05/0.1233, allocations: 23.92 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1234, allocations: 51.81 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1235, allocations: 0 / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.1236, allocations: 31.94 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.1237, allocations: 27.84 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.342e-05/0.1238, allocations: 37.64 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.124, allocations: 88.08 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1241, allocations: 4 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1241, allocations: 0 / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1241, allocations: 0 / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008322/0.1249, allocations: 418.8 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.125, allocations: 12.03 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.397e-05/0.1251, allocations: 30.56 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/0.1251, allocations: 7.906 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1255, allocations: 195.6 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1255, allocations: 4 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.1256, allocations: 7.953 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.1259, allocations: 73.59 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.1259, allocations: 4 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1259, allocations: 7.938 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1259, allocations: 0 / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.1262, allocations: 43.97 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007624/0.1269, allocations: 344.6 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003614/0.1273, allocations: 70.55 kB / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.1274, allocations: 0 / 475.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.1274, allocations: 30.56 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1274, allocations: 0 / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.002268/0.1297, allocations: 497.4 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1298, allocations: 55.41 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1301, allocations: 215.9 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.1301, allocations: 25.7 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1302, allocations: 112 kB / 476 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.1303, allocations: 39.39 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.1303, allocations: 8 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1305, allocations: 322.8 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.1307, allocations: 59.95 kB / 476.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.131, allocations: 71.89 kB / 476.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.1312, allocations: 63.97 kB / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1312, allocations: 0 / 476.5 MB, free: 8.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005535/0.1318, allocations: 181.8 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1318, allocations: 7.938 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.1318, allocations: 4.062 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1319, allocations: 7.938 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.132, allocations: 31.98 kB / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.1321, allocations: 0 / 476.7 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.1322, allocations: 15.98 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1322, allocations: 11.94 kB / 476.8 MB, free: 8.191 MB / 350.1 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 (11): * Single equations (assignments): 11 * 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.0001429/0.1324, allocations: 130.4 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.1324, allocations: 15.81 kB / 476.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006154/0.133, allocations: 206.9 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.1331, allocations: 8 kB / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1331, allocations: 0 / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1331, allocations: 0 / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1342, allocations: 0.5194 MB / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1342, allocations: 0 / 477.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.1344, allocations: 27.98 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.1344, allocations: 7.984 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1344, allocations: 0 / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.1345, allocations: 12.02 kB / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1345, allocations: 0 / 477.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.1351, allocations: 308.4 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1351, allocations: 92.88 kB / 478.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1352, allocations: 4 kB / 478.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1354, allocations: 19.98 kB / 478.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.1355, allocations: 11.98 kB / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1355, allocations: 0 / 478.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1357, allocations: 167.5 kB / 478.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1357, allocations: 0 / 478.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004682/0.1362, allocations: 32 kB / 478.3 MB, free: 6.523 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002281/0.1385, allocations: 1.333 MB / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005259/0.139, allocations: 143.8 kB / 479.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.139, allocations: 4 kB / 479.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.1393, allocations: 71.89 kB / 479.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1396, allocations: 19.98 kB / 479.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1419, allocations: 0.9634 MB / 480.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.1423, allocations: 0.7238 MB / 481.6 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.1425, allocations: 28.52 kB / 481.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.1426, allocations: 47.42 kB / 481.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1426, allocations: 0 / 481.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.1594, allocations: 3.017 MB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.1597, allocations: 210.6 kB / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.894, allocations: 4 kB / 484.9 MB, free: 124 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat does not exist to compare? outputFormat=mat