Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.000829/0.000829, allocations: 101.1 kB / 17 MB, free: 6.414 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.0008463/0.0008464, allocations: 187.9 kB / 17.89 MB, free: 5.945 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.36/1.36, allocations: 223.2 MB / 241.9 MB, free: 268 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.2057/0.2057, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 8.719 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1213, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002408/0.1238, allocations: 1.509 MB / 473.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1252, allocations: 0.7721 MB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1254, allocations: 0 / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.1258, allocations: 239.5 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1261, allocations: 167.5 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009948/0.1272, allocations: 438.4 kB / 474.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.1275, allocations: 211.4 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1276, allocations: 40.36 kB / 475 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1277, allocations: 95.59 kB / 475.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.1279, allocations: 155.5 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.128, allocations: 4 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1281, allocations: 39.92 kB / 475.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.1282, allocations: 67.75 kB / 475.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.791e-05/0.1283, allocations: 69.45 kB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1285, allocations: 195.9 kB / 475.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1285, allocations: 0 / 475.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1285, allocations: 0 / 475.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1285, allocations: 4 kB / 475.6 MB, free: 9.652 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006763/0.1292, allocations: 0.5818 MB / 476.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1292, allocations: 8.031 kB / 476.2 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.1293, allocations: 38.56 kB / 476.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.1293, allocations: 35.53 kB / 476.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.1296, allocations: 293.2 kB / 476.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1297, allocations: 8 kB / 476.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1297, allocations: 7.953 kB / 476.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1299, allocations: 88.19 kB / 476.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1299, allocations: 0 / 476.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1299, allocations: 0 / 476.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1299, allocations: 0 / 476.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.13, allocations: 55.97 kB / 476.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.1306, allocations: 444.4 kB / 477.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.1307, allocations: 62.55 kB / 477.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.1307, allocations: 28.97 kB / 477.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.1308, allocations: 7.922 kB / 477.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1308, allocations: 42.56 kB / 477.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1308, allocations: 0 / 477.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002787/0.1311, allocations: 121.3 kB / 477.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1311, allocations: 55.39 kB / 477.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.1317, allocations: 0.5448 MB / 478 MB, free: 7.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1317, allocations: 25.7 kB / 478 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1319, allocations: 208.2 kB / 478.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.1319, allocations: 15.8 kB / 478.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-06/0.1319, allocations: 0 / 478.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.132, allocations: 350.8 kB / 478.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.1321, allocations: 19.98 kB / 478.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.437e-05/0.1321, allocations: 23.92 kB / 478.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.288e-05/0.1322, allocations: 27.98 kB / 478.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1322, allocations: 4 kB / 478.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001705/0.1324, allocations: 105.2 kB / 478.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1324, allocations: 6.5 kB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1324, allocations: 4 kB / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.1324, allocations: 0 / 478.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.1325, allocations: 11.98 kB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1325, allocations: 4 kB / 478.8 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.1326, allocations: 15.94 kB / 478.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1326, allocations: 7.891 kB / 478.8 MB, free: 6.223 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 (6): * Single equations (assignments): 6 * 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.0001437/0.1328, allocations: 170.3 kB / 479 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.1328, allocations: 35.53 kB / 479 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.1331, allocations: 128.9 kB / 479.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1331, allocations: 4 kB / 479.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1331, allocations: 4 kB / 479.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1331, allocations: 0 / 479.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.1334, allocations: 281.9 kB / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1334, allocations: 0 / 479.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.1335, allocations: 15.98 kB / 479.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1335, allocations: 7.984 kB / 479.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1335, allocations: 4 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1335, allocations: 4 kB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1335, allocations: 3.938 kB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1337, allocations: 211.1 kB / 479.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.1338, allocations: 120.6 kB / 479.8 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1339, allocations: 7.984 kB / 479.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.1339, allocations: 4 kB / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-05/0.134, allocations: 0 / 479.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.134, allocations: 4 kB / 479.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003875/0.1344, allocations: 415.1 kB / 480.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1344, allocations: 3.938 kB / 480.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1346, allocations: 31.92 kB / 480.2 MB, free: 4.699 MB / 350.1 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 (6): * Single equations (assignments): 6 * 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.001604/0.1363, allocations: 1.24 MB / 481.5 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.1364, allocations: 51.97 kB / 481.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1364, allocations: 0 / 481.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.13e-05/0.1365, allocations: 27.92 kB / 481.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1369, allocations: 65.44 kB / 481.6 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1391, allocations: 1.736 MB / 483.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.1395, allocations: 0.7868 MB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.244e-05/0.1396, allocations: 41.44 kB / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.1398, allocations: 99.39 kB / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1398, allocations: 0 / 484.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.1575, allocations: 5.819 MB / 490.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1577, allocations: 216.7 kB / 490.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.096, allocations: 0 / 490.3 MB, free: 10.89 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat does not exist to compare? outputFormat=mat