Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.0009462/0.0009462, allocations: 100.7 kB / 16.99 MB, free: 6.402 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.0008637/0.000864, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.23 MB / 337.1 MB, free: 2.617 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003301, allocations: 8 kB / 409.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 61.92 MB / 471.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002524/0.1217, allocations: 1.353 MB / 472.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009343/0.1227, allocations: 411.5 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.1228, allocations: 0 / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.1231, allocations: 27.84 kB / 473.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.1232, allocations: 31.89 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.1237, allocations: 155.2 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1238, allocations: 51.88 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.124, allocations: 20.22 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.231e-05/0.124, allocations: 23.91 kB / 473.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.351e-05/0.1241, allocations: 31.84 kB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1241, allocations: 4 kB / 473.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1243, allocations: 43.86 kB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.1243, allocations: 15.97 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.1244, allocations: 41.58 kB / 473.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1245, allocations: 80.09 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1246, allocations: 0 / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1246, allocations: 0 / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1246, allocations: 0 / 473.8 MB, free: 11.31 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.0006813/0.1253, allocations: 434.9 kB / 474.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.1253, allocations: 12.03 kB / 474.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.173e-05/0.1254, allocations: 30.56 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1254, allocations: 11.84 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.1256, allocations: 197 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1257, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1257, allocations: 11.95 kB / 474.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.126, allocations: 99.36 kB / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.126, allocations: 0 / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.126, allocations: 0 / 474.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.126, allocations: 8 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.1264, allocations: 103.8 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.127, allocations: 356.7 kB / 475 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.1273, allocations: 78.53 kB / 475.1 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1273, allocations: 4 kB / 475.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1273, allocations: 42.5 kB / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1273, allocations: 0 / 475.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001821/0.1292, allocations: 0.4893 MB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.1292, allocations: 81.09 kB / 475.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.1294, allocations: 148.5 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1294, allocations: 25.7 kB / 475.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.1295, allocations: 108.2 kB / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1296, allocations: 31.55 kB / 476 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.1296, allocations: 0 / 476 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1297, allocations: 326.8 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.13, allocations: 103.9 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.1304, allocations: 117.6 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.1307, allocations: 108.2 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1307, allocations: 0 / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006823/0.1314, allocations: 261.2 kB / 476.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1314, allocations: 8 kB / 476.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1314, allocations: 0 / 476.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1314, allocations: 4 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1317, allocations: 47.95 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1317, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1319, allocations: 39.97 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1319, allocations: 0 / 477 MB, free: 7.84 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 (10): * Single equations (assignments): 10 * 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.0001181/0.132, allocations: 130.3 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1321, allocations: 7.906 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008593/0.1329, allocations: 270.1 kB / 477.4 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.133, allocations: 4 kB / 477.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.133, allocations: 0 / 477.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.133, allocations: 4 kB / 477.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.134, allocations: 0.5607 MB / 478 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.134, allocations: 0 / 478 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001956/0.1342, allocations: 47.95 kB / 478.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1342, allocations: 4 kB / 478.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1343, allocations: 0 / 478.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1343, allocations: 288 / 478.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.1343, allocations: 3.984 kB / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.135, allocations: 351.1 kB / 478.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.135, allocations: 89 kB / 478.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1351, allocations: 4 kB / 478.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1353, allocations: 35.97 kB / 478.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.1353, allocations: 11.97 kB / 478.5 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.1354, allocations: 11.94 kB / 478.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.789e-05/0.1355, allocations: 114.2 kB / 478.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1355, allocations: 0 / 478.7 MB, free: 6.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1358, allocations: 36 kB / 478.7 MB, free: 6.074 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 (9): * Single equations (assignments): 9 * 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.001992/0.1378, allocations: 1.219 MB / 479.9 MB, free: 5.008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006986/0.1385, allocations: 215.8 kB / 480.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1385, allocations: 4 kB / 480.1 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.1388, allocations: 115.9 kB / 480.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1391, allocations: 15.98 kB / 480.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.1399, allocations: 491.3 kB / 480.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1402, allocations: 0.7082 MB / 481.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1403, allocations: 32.52 kB / 481.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.1404, allocations: 35.42 kB / 481.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1404, allocations: 0 / 481.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.1546, allocations: 3.219 MB / 484.7 MB, free: 264 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/0.1549, allocations: 231.6 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.049, allocations: 0 / 485 MB, free: 16 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat does not exist to compare? outputFormat=mat