Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.0008255/0.0008255, allocations: 95.59 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.0008445/0.0008445, allocations: 178.2 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.396/1.396, allocations: 223.2 MB / 241.9 MB, free: 336 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.199/0.199, allocations: 44.23 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003203, allocations: 16.22 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1277, allocations: 61.92 MB / 471.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002239/0.13, allocations: 1.317 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1314, allocations: 0.9922 MB / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.889e-05/0.1315, allocations: 0 / 474 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1317, allocations: 15.92 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1319, allocations: 39.84 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.1323, allocations: 151.4 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.1324, allocations: 59.84 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.1325, allocations: 11.98 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.1325, allocations: 31.84 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1327, allocations: 23.86 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1327, allocations: 4 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.371e-05/0.1328, allocations: 39.97 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.1329, allocations: 11.98 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.1329, allocations: 37.64 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.133, allocations: 80.09 kB / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1331, allocations: 0 / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1331, allocations: 0 / 474.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1331, allocations: 0 / 474.5 MB, free: 10.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005434/0.1336, allocations: 397.3 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1337, allocations: 8.031 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1337, allocations: 38.5 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.1338, allocations: 11.84 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.134, allocations: 190.9 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.134, allocations: 4 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.134, allocations: 3.953 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.1342, allocations: 83.39 kB / 475.2 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1342, allocations: 3.984 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1343, allocations: 0 / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1343, allocations: 4 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.1344, allocations: 51.91 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.1349, allocations: 304.8 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.135, allocations: 62.53 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.197e-05/0.1351, allocations: 28.94 kB / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1351, allocations: 0 / 475.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1352, allocations: 34.5 kB / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1352, allocations: 0 / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007564/0.1359, allocations: 257.2 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.136, allocations: 81.11 kB / 476 MB, free: 9.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.1361, allocations: 144.1 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1362, allocations: 29.7 kB / 476.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.1362, allocations: 104.1 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.1362, allocations: 15.72 kB / 476.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/0.1363, allocations: 4 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1364, allocations: 322.8 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.1365, allocations: 43.97 kB / 476.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1366, allocations: 69.73 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1368, allocations: 52.03 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1368, allocations: 7.969 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002801/0.137, allocations: 137.5 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1371, allocations: 8 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1371, allocations: 4 kB / 476.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1371, allocations: 0 / 476.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.1372, allocations: 23.98 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1373, allocations: 0 / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.802e-05/0.1373, allocations: 11.98 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1373, allocations: 4 kB / 476.9 MB, free: 8.086 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 (7): * Single equations (assignments): 7 * 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 9.762e-05/0.1374, allocations: 126.3 kB / 477.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1375, allocations: 7.906 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003603/0.1379, allocations: 162.2 kB / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1379, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1379, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1379, allocations: 0 / 477.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.1384, allocations: 426.4 kB / 477.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1384, allocations: 7.938 kB / 477.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.019e-05/0.1385, allocations: 23.92 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.1385, allocations: 0 / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1385, allocations: 4 kB / 477.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1385, allocations: 4 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1385, allocations: 0 / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1389, allocations: 235.3 kB / 477.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.1389, allocations: 93 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1389, allocations: 0 / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/0.139, allocations: 15.98 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1391, allocations: 11.98 kB / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.1391, allocations: 0 / 478 MB, free: 6.887 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.026e-05/0.1392, allocations: 109.3 kB / 478.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1392, allocations: 0 / 478.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1394, allocations: 31.98 kB / 478.2 MB, free: 6.75 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 (7): * Single equations (assignments): 7 * 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.001381/0.1408, allocations: 1.117 MB / 479.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.1411, allocations: 99.94 kB / 479.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1411, allocations: 4 kB / 479.4 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1413, allocations: 63.89 kB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.1416, allocations: 12 kB / 479.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1427, allocations: 0.694 MB / 480.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.143, allocations: 0.6965 MB / 480.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.265e-05/0.1431, allocations: 37.09 kB / 480.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.1431, allocations: 27.42 kB / 480.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1431, allocations: 0 / 480.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0132/0.1563, allocations: 2.629 MB / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.1566, allocations: 219.6 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/1.992, allocations: 0 / 483.8 MB, free: 1.336 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat