Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001002/0.001002, allocations: 97.47 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.0008804/0.0008805, allocations: 189.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.389/1.389, allocations: 223.2 MB / 241.9 MB, free: 352 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.2136/0.2136, allocations: 44.22 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003289, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.002383/0.1237, allocations: 1.314 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1254, allocations: 0.9687 MB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.1255, allocations: 0 / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1258, allocations: 19.91 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.126, allocations: 31.86 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.1263, allocations: 119.3 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1264, allocations: 51.84 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.1265, allocations: 8.188 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.1266, allocations: 27.84 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1267, allocations: 19.92 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1267, allocations: 0 / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.951e-05/0.1268, allocations: 51.91 kB / 474.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.1269, allocations: 11.98 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.1269, allocations: 41.58 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.127, allocations: 68.11 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.127, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1271, allocations: 0 / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1271, allocations: 0 / 474.4 MB, free: 10.88 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.0004942/0.1276, allocations: 391.1 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1276, allocations: 12.03 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.1276, allocations: 38.56 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.1277, allocations: 7.906 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.1279, allocations: 186.9 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1279, allocations: 0 / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1279, allocations: 7.953 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.1281, allocations: 71.39 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1281, allocations: 3.906 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1282, allocations: 8 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.1282, allocations: 4 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1283, allocations: 43.91 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1288, allocations: 296.8 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1289, allocations: 50.55 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/0.129, allocations: 28.94 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.129, allocations: 0 / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.129, allocations: 38.56 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1291, allocations: 0 / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008039/0.1299, allocations: 233.2 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.765e-05/0.1299, allocations: 89.05 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1301, allocations: 136.9 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1301, allocations: 25.7 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.1302, allocations: 96.08 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1302, allocations: 27.61 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.1302, allocations: 0 / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1303, allocations: 330.7 kB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1305, allocations: 35.98 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1306, allocations: 57.67 kB / 476.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.1307, allocations: 40.02 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1307, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002704/0.131, allocations: 129.7 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.131, allocations: 4 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.131, allocations: 4 kB / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.131, allocations: 0 / 476.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1312, allocations: 27.92 kB / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1312, allocations: 0 / 476.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.1312, allocations: 15.98 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.1313, allocations: 4 kB / 476.8 MB, free: 8.246 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.000106/0.1314, allocations: 130.2 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.1314, allocations: 7.906 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.1317, allocations: 150.5 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1317, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1318, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1318, allocations: 0 / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.1323, allocations: 406.5 kB / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1323, allocations: 0 / 477.4 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.1324, allocations: 31.92 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.1324, allocations: 3.984 kB / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1324, allocations: 0 / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1324, allocations: 0 / 477.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1324, allocations: 3.938 kB / 477.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1328, allocations: 223.4 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.1328, allocations: 93 kB / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1329, allocations: 0 / 477.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.133, allocations: 19.98 kB / 477.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.133, allocations: 4 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.133, allocations: 0 / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.1331, allocations: 111.2 kB / 477.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1331, allocations: 0 / 477.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1334, allocations: 27.95 kB / 478 MB, free: 6.953 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.001488/0.1349, allocations: 1.104 MB / 479.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.1352, allocations: 91.95 kB / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1352, allocations: 0 / 479.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1353, allocations: 51.91 kB / 479.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1357, allocations: 20.3 kB / 479.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1368, allocations: 0.6434 MB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.137, allocations: 0.6926 MB / 480.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.639e-05/0.1371, allocations: 8.656 kB / 480.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.1372, allocations: 27.42 kB / 480.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1372, allocations: 0 / 480.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.1498, allocations: 2.553 MB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.15, allocations: 223.8 kB / 483.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/1.987, allocations: 0 / 483.4 MB, free: 1.734 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat does not exist to compare? outputFormat=mat