Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0009645/0.0009645, allocations: 93.27 kB / 17 MB, free: 6.402 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.0008703/0.0008703, allocations: 176.8 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.42/1.42, allocations: 223.3 MB / 241.9 MB, free: 304 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.2054/0.2054, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003329, allocations: 16.91 kB / 409.7 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002137/0.1316, allocations: 1.52 MB / 473.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1332, allocations: 0.8544 MB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.982e-05/0.1333, allocations: 3.938 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.1338, allocations: 243.5 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1342, allocations: 171.5 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1355, allocations: 0.6028 MB / 475 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.1359, allocations: 227.3 kB / 475.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1361, allocations: 52.25 kB / 475.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.1362, allocations: 103.6 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1365, allocations: 151.4 kB / 475.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1365, allocations: 4 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1366, allocations: 39.92 kB / 475.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1368, allocations: 79.73 kB / 475.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.1368, allocations: 69.52 kB / 475.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.1371, allocations: 199.6 kB / 475.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.1371, allocations: 4 kB / 476 MB, free: 9.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1371, allocations: 0 / 476 MB, free: 9.297 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1371, allocations: 0 / 476 MB, free: 9.297 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.0007944/0.1379, allocations: 0.5757 MB / 476.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.138, allocations: 12.03 kB / 476.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.138, allocations: 38.55 kB / 476.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.985e-05/0.1381, allocations: 39.44 kB / 476.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.1385, allocations: 305.2 kB / 476.9 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1385, allocations: 8 kB / 476.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1385, allocations: 7.953 kB / 476.9 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/0.1387, allocations: 97.62 kB / 477 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1388, allocations: 7.938 kB / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1388, allocations: 0 / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1388, allocations: 0 / 477 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.1389, allocations: 82.77 kB / 477.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006061/0.1396, allocations: 468.4 kB / 477.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1397, allocations: 78.47 kB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.1398, allocations: 36.97 kB / 477.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1398, allocations: 4 kB / 477.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1399, allocations: 34.56 kB / 477.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1399, allocations: 0 / 477.7 MB, free: 7.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003454/0.1402, allocations: 157.2 kB / 477.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.1403, allocations: 55.41 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.1409, allocations: 0.5526 MB / 478.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1409, allocations: 25.7 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.1411, allocations: 208.1 kB / 478.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1411, allocations: 19.73 kB / 478.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.1411, allocations: 0 / 478.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1413, allocations: 350.8 kB / 479.1 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.1414, allocations: 23.98 kB / 479.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.753e-05/0.1414, allocations: 31.98 kB / 479.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.328e-05/0.1415, allocations: 39.91 kB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1415, allocations: 0 / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002029/0.1417, allocations: 129.2 kB / 479.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1418, allocations: 4 kB / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1418, allocations: 0 / 479.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1418, allocations: 4 kB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.1419, allocations: 15.98 kB / 479.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1419, allocations: 3.938 kB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.559e-05/0.142, allocations: 4 kB / 479.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.142, allocations: 7.953 kB / 479.3 MB, free: 5.691 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.0001685/0.1422, allocations: 170.3 kB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1422, allocations: 35.53 kB / 479.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.1425, allocations: 160.8 kB / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.1425, allocations: 0 / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1425, allocations: 0 / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1426, allocations: 0 / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.1428, allocations: 297.5 kB / 480 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1429, allocations: 0.5 kB / 480 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.1429, allocations: 11.94 kB / 480 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.875e-05/0.1429, allocations: 4 kB / 480 MB, free: 4.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.143, allocations: 8 kB / 480 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.143, allocations: 3.984 kB / 480 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.143, allocations: 3.938 kB / 480 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1432, allocations: 227 kB / 480.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.673e-05/0.1433, allocations: 128.5 kB / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.1433, allocations: 0 / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.1434, allocations: 8 kB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1435, allocations: 7.984 kB / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1435, allocations: 0 / 480.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004211/0.1439, allocations: 415.1 kB / 480.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1439, allocations: 0 / 480.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1442, allocations: 28 kB / 480.8 MB, free: 4.117 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.001782/0.146, allocations: 1.261 MB / 482.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1462, allocations: 63.97 kB / 482.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1462, allocations: 0 / 482.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.1463, allocations: 47.91 kB / 482.2 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.1467, allocations: 57.52 kB / 482.2 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.1493, allocations: 1.833 MB / 484.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.1497, allocations: 0.8103 MB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1499, allocations: 49.47 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.15, allocations: 103.4 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1501, allocations: 0 / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.1681, allocations: 6.01 MB / 491 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.1684, allocations: 216.7 kB / 491.2 MB, free: 9.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.086, allocations: 0 / 491.2 MB, free: 9.945 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat does not exist to compare? outputFormat=mat