Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.0009048/0.0009047, allocations: 100.5 kB / 16.99 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.0008758/0.0008758, allocations: 188.7 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.449/1.449, allocations: 223.2 MB / 241.8 MB, free: 396 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.2345/0.2345, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003642, allocations: 8 kB / 409.6 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 61.91 MB / 471.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002287/0.1357, allocations: 1.267 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1373, allocations: 0.9376 MB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.1373, allocations: 3.938 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1376, allocations: 27.91 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.1378, allocations: 31.84 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1381, allocations: 75.34 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.1382, allocations: 31.95 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1383, allocations: 8 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.421e-05/0.1384, allocations: 23.84 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.1385, allocations: 23.86 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.1386, allocations: 4 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.978e-05/0.1387, allocations: 27.98 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.1387, allocations: 15.92 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.1387, allocations: 25.7 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1389, allocations: 72.12 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1389, allocations: 3.938 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1389, allocations: 0 / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1389, allocations: 0 / 474.1 MB, free: 11.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004793/0.1394, allocations: 367.1 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1395, allocations: 16.03 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.894e-05/0.1395, allocations: 34.5 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1395, allocations: 12 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.1397, allocations: 186.9 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1398, allocations: 4 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.1398, allocations: 3.953 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.14, allocations: 59.41 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.14, allocations: 4 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.14, allocations: 4 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.14, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.691e-05/0.1401, allocations: 31.91 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.1405, allocations: 268.9 kB / 475.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1407, allocations: 46.55 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.1407, allocations: 0 / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1407, allocations: 34.56 kB / 475.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1408, allocations: 7.875 kB / 475.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005269/0.1413, allocations: 149.4 kB / 475.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.1413, allocations: 77.11 kB / 475.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1415, allocations: 141.8 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1415, allocations: 25.7 kB / 475.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.1416, allocations: 100.1 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1416, allocations: 11.8 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.1416, allocations: 4 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1417, allocations: 318.8 kB / 476 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.1418, allocations: 19.98 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.1419, allocations: 37.7 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.142, allocations: 23.98 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.142, allocations: 0 / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000197/0.1422, allocations: 85.58 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1422, allocations: 12.03 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1422, allocations: 3.984 kB / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1422, allocations: 0 / 476.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.1423, allocations: 15.94 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1423, allocations: 0 / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.1423, allocations: 7.984 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1424, allocations: 4 kB / 476.2 MB, free: 8.777 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 (5): * Single equations (assignments): 5 * 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 8.722e-05/0.1425, allocations: 122.3 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1425, allocations: 3.906 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.1427, allocations: 101.8 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1427, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1427, allocations: 4.062 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1427, allocations: 0 / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.1432, allocations: 354.7 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1432, allocations: 4 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.1432, allocations: 11.98 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1432, allocations: 4 kB / 476.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1433, allocations: 8 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1433, allocations: 0 / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1433, allocations: 3.984 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1435, allocations: 187.3 kB / 477 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1435, allocations: 92.94 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1436, allocations: 4 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.1436, allocations: 4 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1437, allocations: 7.984 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1437, allocations: 4 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.128e-05/0.1438, allocations: 101.9 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1438, allocations: 0 / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.144, allocations: 23.98 kB / 477.2 MB, free: 7.652 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 (5): * Single equations (assignments): 5 * 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.001312/0.1454, allocations: 1.061 MB / 478.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1456, allocations: 51.97 kB / 478.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1456, allocations: 0 / 478.3 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.1456, allocations: 31.98 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.1459, allocations: 11.98 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.1468, allocations: 0.5144 MB / 478.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.147, allocations: 0.6926 MB / 479.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.1471, allocations: 12.12 kB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.1471, allocations: 31.36 kB / 479.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1471, allocations: 0 / 479.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.1601, allocations: 2.268 MB / 481.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/0.1604, allocations: 223.3 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.902, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat