Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14",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.0008476/0.0008474, allocations: 97.64 kB / 17 MB, free: 6.418 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.000972/0.0009723, allocations: 188.7 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.402/1.402, allocations: 223.2 MB / 241.9 MB, free: 228 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.2162/0.2162, allocations: 44.22 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 12.94 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.00222/0.1232, allocations: 1.314 MB / 473 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1246, allocations: 0.9571 MB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.1247, allocations: 0 / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.1249, allocations: 23.92 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1251, allocations: 31.84 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.1254, allocations: 111.5 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1255, allocations: 51.84 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1257, allocations: 28.09 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.1257, allocations: 23.86 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.1259, allocations: 19.92 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1259, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.126, allocations: 47.91 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.1261, allocations: 11.98 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.1261, allocations: 41.58 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1263, allocations: 72.09 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1263, allocations: 0 / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1263, allocations: 0 / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1263, allocations: 0 / 474.4 MB, free: 10.87 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.0004856/0.1268, allocations: 387.1 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1268, allocations: 12.03 kB / 474.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.1269, allocations: 34.55 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.934e-05/0.1269, allocations: 7.906 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1271, allocations: 190.9 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.1271, allocations: 0 / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1272, allocations: 11.86 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1274, allocations: 75.39 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1274, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1274, allocations: 0 / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1274, allocations: 4 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.1275, allocations: 51.91 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1279, allocations: 288.8 kB / 475.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.128, allocations: 42.56 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.816e-05/0.1281, allocations: 32.94 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1281, allocations: 0 / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1282, allocations: 42.55 kB / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1282, allocations: 0 / 475.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007108/0.1289, allocations: 233.2 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1289, allocations: 77.11 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1291, allocations: 140.9 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1291, allocations: 29.7 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.1292, allocations: 96.08 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.1292, allocations: 27.55 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-06/0.1292, allocations: 8 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1294, allocations: 318.8 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1295, allocations: 39.97 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1296, allocations: 61.81 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1297, allocations: 43.97 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1297, allocations: 0 / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000262/0.13, allocations: 125.7 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.13, allocations: 7.938 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.13, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1301, allocations: 4 kB / 476.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1302, allocations: 27.92 kB / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1302, allocations: 0 / 476.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.1303, allocations: 15.89 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1303, allocations: 4 kB / 476.8 MB, free: 8.238 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.997e-05/0.1304, allocations: 126.3 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.1304, allocations: 4 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1307, allocations: 142.2 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1307, allocations: 0 / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1308, allocations: 0 / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1308, allocations: 4.266 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005467/0.1313, allocations: 410.4 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1313, allocations: 0 / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.96e-05/0.1314, allocations: 31.92 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1314, allocations: 3.984 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1315, allocations: 4 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1315, allocations: 0 / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1315, allocations: 4 kB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.1318, allocations: 235.3 kB / 477.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.1318, allocations: 85.02 kB / 477.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1319, allocations: 0 / 477.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.132, allocations: 19.98 kB / 477.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.132, allocations: 7.984 kB / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.132, allocations: 0 / 477.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.1321, allocations: 107.2 kB / 477.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1321, allocations: 4 kB / 477.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1324, allocations: 24 kB / 478 MB, free: 6.945 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.001514/0.1339, allocations: 1.097 MB / 479 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.1342, allocations: 99.88 kB / 479.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1342, allocations: 0 / 479.1 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1343, allocations: 55.91 kB / 479.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1347, allocations: 15.98 kB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1358, allocations: 0.6356 MB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1361, allocations: 0.6926 MB / 480.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.15e-05/0.1362, allocations: 17.11 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.324e-05/0.1363, allocations: 31.42 kB / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1363, allocations: 0 / 480.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01376/0.1501, allocations: 2.531 MB / 483.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.1503, allocations: 234.2 kB / 483.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.03, allocations: 0 / 483.4 MB, free: 1.73 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat does not exist to compare? outputFormat=mat