Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.0008801/0.00088, allocations: 100.2 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.0008727/0.0008728, allocations: 187.6 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.348/1.348, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 44.23 MB / 337.1 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000342/0.000342, allocations: 8 kB / 409.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 61.93 MB / 471.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002065/0.1394, allocations: 1.318 MB / 472.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.1401, allocations: 399.4 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.537e-05/0.1402, allocations: 0 / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005481/0.1408, allocations: 439.2 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.1411, allocations: 247.5 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003866/0.1415, allocations: 155.4 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1417, allocations: 115.8 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1418, allocations: 19.98 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.078e-05/0.1419, allocations: 95.8 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1421, allocations: 151.7 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1421, allocations: 0 / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.1422, allocations: 28 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.1423, allocations: 95.61 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.1424, allocations: 61.52 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1426, allocations: 203.9 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.1426, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1426, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1426, allocations: 0 / 474.8 MB, free: 10.28 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.0006437/0.1432, allocations: 0.6027 MB / 475.4 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1433, allocations: 8.031 kB / 475.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.926e-05/0.1433, allocations: 34.55 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.1434, allocations: 43.44 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003042/0.1437, allocations: 275.3 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1437, allocations: 4 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1437, allocations: 7.953 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.1439, allocations: 65.61 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1439, allocations: 4 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1439, allocations: 4 kB / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.144, allocations: 0 / 475.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1441, allocations: 39.91 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.1446, allocations: 420.5 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1447, allocations: 46.56 kB / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1448, allocations: 0 / 476.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.1448, allocations: 34.56 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1448, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001019/0.1458, allocations: 348.4 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.1459, allocations: 55.34 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.1467, allocations: 0.8652 MB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1467, allocations: 29.7 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1469, allocations: 231.9 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1469, allocations: 23.66 kB / 477.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1469, allocations: 4 kB / 477.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1471, allocations: 366.8 kB / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/0.1472, allocations: 31.98 kB / 478.3 MB, free: 6.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.1473, allocations: 35.97 kB / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.1474, allocations: 39.97 kB / 478.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1474, allocations: 4 kB / 478.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002418/0.1476, allocations: 149.1 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1476, allocations: 4 kB / 478.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.1477, allocations: 3.984 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1477, allocations: 0 / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1478, allocations: 23.94 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1478, allocations: 0 / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.1479, allocations: 11.98 kB / 478.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1479, allocations: 3.953 kB / 478.6 MB, free: 6.281 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 (8): * Single equations (assignments): 8 * 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.0001921/0.1481, allocations: 222.3 kB / 478.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.1481, allocations: 43.44 kB / 478.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.1485, allocations: 181.8 kB / 479 MB, free: 5.824 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1485, allocations: 4 kB / 479 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1485, allocations: 0 / 479 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1485, allocations: 0 / 479 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006169/0.1491, allocations: 0.5342 MB / 479.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1491, allocations: 0 / 479.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.922e-05/0.1492, allocations: 19.98 kB / 479.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1492, allocations: 3.938 kB / 479.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1492, allocations: 8.031 kB / 479.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1493, allocations: 0 / 479.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1493, allocations: 3.953 kB / 479.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002993/0.1496, allocations: 269.5 kB / 479.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.997e-05/0.1497, allocations: 116.5 kB / 480 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.1497, allocations: 4 kB / 480 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.1498, allocations: 11.94 kB / 480 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.1498, allocations: 11.98 kB / 480 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.1498, allocations: 4 kB / 480 MB, free: 4.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005703/0.1504, allocations: 0.6511 MB / 480.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1504, allocations: 0 / 480.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1507, allocations: 36 kB / 480.7 MB, free: 4.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001459/0.1522, allocations: 1.208 MB / 481.9 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.1524, allocations: 87.94 kB / 482 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1524, allocations: 3.938 kB / 482 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.547e-05/0.1525, allocations: 43.92 kB / 482 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1528, allocations: 26.3 kB / 482.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1556, allocations: 2.339 MB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.1561, allocations: 0.8418 MB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.13e-05/0.1561, allocations: 20.41 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.1563, allocations: 127.4 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1563, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.1731, allocations: 5.736 MB / 491.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/0.1734, allocations: 217.6 kB / 491.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.004, allocations: 7.938 kB / 491.4 MB, free: 9.551 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat does not exist to compare? outputFormat=mat