Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.000791/0.000791, allocations: 97.69 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.0008828/0.0008829, allocations: 188.3 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.418/1.418, 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.2179/0.2179, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 61.91 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.001819/0.1244, allocations: 1.325 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.1259, allocations: 0.9883 MB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.787e-05/0.126, allocations: 0 / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1262, allocations: 23.91 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1263, allocations: 27.91 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1267, allocations: 165.5 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1268, allocations: 55.83 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.1269, allocations: 19.98 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.127, allocations: 15.92 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1271, allocations: 27.84 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1271, allocations: 4 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1273, allocations: 39.98 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.1273, allocations: 23.91 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.1274, allocations: 37.58 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1275, allocations: 80.05 kB / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1276, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1276, allocations: 0 / 474.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1276, allocations: 4 kB / 474.5 MB, free: 10.79 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.0006678/0.1283, allocations: 387.1 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.1283, allocations: 8.031 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.245e-05/0.1284, allocations: 30.56 kB / 474.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.1284, allocations: 7.906 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1287, allocations: 201.7 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1288, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.1288, allocations: 11.89 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.129, allocations: 83.31 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.1291, allocations: 0 / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.1291, allocations: 8 kB / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1291, allocations: 0 / 475.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.1293, allocations: 43.97 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.1299, allocations: 308.8 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.13, allocations: 54.55 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.1301, allocations: 28.94 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1301, allocations: 0 / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.1302, allocations: 34.56 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1302, allocations: 0 / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008702/0.1311, allocations: 261.3 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.1312, allocations: 81.11 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1313, allocations: 144.3 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1314, allocations: 29.7 kB / 476.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1315, allocations: 100.1 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1315, allocations: 23.7 kB / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.1315, allocations: 0 / 476.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1317, allocations: 322.8 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1319, allocations: 47.97 kB / 476.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.132, allocations: 65.61 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1321, allocations: 48.23 kB / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1321, allocations: 0 / 476.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002979/0.1324, allocations: 153.5 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1325, allocations: 4 kB / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1325, allocations: 0 / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1325, allocations: 0 / 476.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.1327, allocations: 23.98 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1327, allocations: 0 / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.1328, allocations: 15.98 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.1328, allocations: 8 kB / 476.9 MB, free: 8.066 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 0.0001199/0.1329, allocations: 126.2 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.1329, allocations: 7.906 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.1333, allocations: 158.3 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1333, allocations: 0 / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1333, allocations: 3.938 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1333, allocations: 0 / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.1339, allocations: 438.4 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1339, allocations: 0 / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.134, allocations: 19.98 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.134, allocations: 8.281 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.134, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.134, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.134, allocations: 0 / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.1343, allocations: 247.3 kB / 477.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1344, allocations: 85 kB / 478 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.1344, allocations: 8 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.1345, allocations: 11.98 kB / 478 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.1345, allocations: 7.984 kB / 478 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1346, allocations: 4 kB / 478 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.201e-05/0.1346, allocations: 111.3 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1346, allocations: 0 / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.1349, allocations: 23.98 kB / 478.2 MB, free: 6.727 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.00172/0.1366, allocations: 1.111 MB / 479.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003267/0.137, allocations: 107.9 kB / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.137, allocations: 0 / 479.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.1371, allocations: 59.89 kB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1375, allocations: 12 kB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1387, allocations: 0.6925 MB / 480.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.139, allocations: 0.7081 MB / 480.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.149e-05/0.1391, allocations: 33.03 kB / 480.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.1392, allocations: 27.42 kB / 480.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1392, allocations: 0 / 480.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.1535, allocations: 2.624 MB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.1538, allocations: 220.3 kB / 483.8 MB, free: 1.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.005, allocations: 0 / 483.8 MB, free: 1.312 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat does not exist to compare? outputFormat=mat