Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001057/0.001057, allocations: 91.84 kB / 17 MB, free: 6.398 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.001195/0.001196, allocations: 177.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.442/1.442, allocations: 223.2 MB / 241.9 MB, free: 300 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.2046/0.2046, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 10.12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1254, allocations: 61.93 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002123/0.1275, allocations: 1.313 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1291, allocations: 0.9883 MB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.1291, allocations: 3.938 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.1294, allocations: 19.91 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1295, allocations: 39.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.1299, allocations: 157.9 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.13, allocations: 51.84 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.1301, allocations: 11.98 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.1302, allocations: 27.84 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1303, allocations: 27.86 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1304, allocations: 4 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1305, allocations: 47.97 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.1305, allocations: 11.92 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.1306, allocations: 33.7 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1307, allocations: 80.09 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1308, allocations: 3.938 kB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1308, allocations: 0 / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.1308, allocations: 0 / 474.5 MB, free: 10.78 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.0005368/0.1313, allocations: 395 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1314, allocations: 8.031 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.1314, allocations: 38.56 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.1315, allocations: 7.906 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.1317, allocations: 190.9 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.1317, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.1317, allocations: 11.95 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1319, allocations: 79.39 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1319, allocations: 0 / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1319, allocations: 7.922 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.132, allocations: 0 / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1321, allocations: 47.97 kB / 475.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1326, allocations: 308.8 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1327, allocations: 50.55 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.1328, allocations: 36.88 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.1328, allocations: 4 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1328, allocations: 30.56 kB / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1328, allocations: 0 / 475.7 MB, free: 9.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007871/0.1336, allocations: 257.2 kB / 475.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.1337, allocations: 77.11 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1339, allocations: 152.1 kB / 476.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1339, allocations: 25.7 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.1339, allocations: 100.1 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.134, allocations: 15.72 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.134, allocations: 8 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1341, allocations: 322.8 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1342, allocations: 39.97 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.1344, allocations: 65.67 kB / 476.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1345, allocations: 52.05 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1345, allocations: 0 / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002729/0.1348, allocations: 141.5 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1348, allocations: 11.92 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1348, allocations: 0 / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1348, allocations: 4 kB / 476.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.135, allocations: 23.98 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.135, allocations: 0 / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.1351, allocations: 15.98 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1351, allocations: 4 kB / 476.9 MB, free: 8.055 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 8.614e-05/0.1352, allocations: 122.3 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1352, allocations: 15.84 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.1355, allocations: 158.5 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1356, allocations: 4 kB / 477.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1356, allocations: 4 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1356, allocations: 0 / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.1361, allocations: 426.4 kB / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1361, allocations: 0 / 477.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-05/0.1362, allocations: 31.92 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1362, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.1362, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1362, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1362, allocations: 0 / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.1366, allocations: 243.3 kB / 477.9 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.1367, allocations: 93 kB / 478 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1367, allocations: 0 / 478 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.263e-05/0.1368, allocations: 12.27 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.1368, allocations: 11.98 kB / 478 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1369, allocations: 4 kB / 478 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.934e-05/0.1369, allocations: 103.3 kB / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.794e-06/0.137, allocations: 0 / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1372, allocations: 39.92 kB / 478.2 MB, free: 6.707 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.001624/0.1389, allocations: 1.108 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.1392, allocations: 103.9 kB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1392, allocations: 4 kB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1393, allocations: 55.95 kB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1397, allocations: 12.31 kB / 479.5 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.141, allocations: 0.704 MB / 480.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1413, allocations: 0.7004 MB / 480.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1414, allocations: 24.59 kB / 480.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.1415, allocations: 31.41 kB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1415, allocations: 0 / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01487/0.1564, allocations: 2.625 MB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.1568, allocations: 216.2 kB / 483.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2, allocations: 0 / 483.8 MB, free: 1.305 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat does not exist to compare? outputFormat=mat