Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29",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.0009254/0.0009256, allocations: 98.31 kB / 17 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.001012/0.001012, allocations: 177.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.394/1.394, allocations: 223.3 MB / 241.9 MB, free: 324 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.2222/0.2222, allocations: 44.22 MB / 337.2 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.0003131, allocations: 8 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 61.92 MB / 471.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002158/0.1222, allocations: 1.334 MB / 473 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.123, allocations: 391.5 kB / 473.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.1231, allocations: 4 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.1234, allocations: 67.83 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.1236, allocations: 47.89 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1239, allocations: 115.4 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.1241, allocations: 67.83 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.1242, allocations: 19.97 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.1243, allocations: 27.84 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1244, allocations: 39.84 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.1244, allocations: 0 / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1246, allocations: 39.97 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.1246, allocations: 19.92 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.1247, allocations: 37.64 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1248, allocations: 96.08 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1248, allocations: 0 / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1248, allocations: 4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1249, allocations: 0 / 473.9 MB, free: 11.3 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005026/0.1254, allocations: 403 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1254, allocations: 8.031 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.1255, allocations: 38.48 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.1255, allocations: 19.81 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.1257, allocations: 203.5 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.1257, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.1258, allocations: 7.953 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.1259, allocations: 61.67 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1259, allocations: 0 / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.126, allocations: 4 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.126, allocations: 4 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1261, allocations: 51.89 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.1265, allocations: 312.7 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.1268, allocations: 66.58 kB / 475.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.1269, allocations: 24.97 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.1269, allocations: 4 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.127, allocations: 30.56 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.127, allocations: 4 kB / 475.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001438/0.1284, allocations: 456.8 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1285, allocations: 55.41 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1287, allocations: 219.3 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1287, allocations: 25.7 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.1288, allocations: 100.1 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.1288, allocations: 39.39 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.1288, allocations: 4 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1289, allocations: 330.8 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.1291, allocations: 51.91 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1292, allocations: 60 kB / 476.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1293, allocations: 51.98 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1293, allocations: 0 / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003104/0.1297, allocations: 157.5 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.1297, allocations: 4 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1297, allocations: 4.5 kB / 476.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1297, allocations: 3.984 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1298, allocations: 27.98 kB / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1298, allocations: 0 / 476.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.1299, allocations: 35.88 kB / 476.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.1299, allocations: 4 kB / 476.8 MB, free: 8.25 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 (11): * Single equations (assignments): 11 * 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.343e-05/0.13, allocations: 122.4 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.1301, allocations: 15.89 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.1304, allocations: 174.9 kB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1305, allocations: 4 kB / 477.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1305, allocations: 3.984 kB / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1305, allocations: 0 / 477.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.1311, allocations: 496 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1311, allocations: 0 / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1312, allocations: 35.91 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1312, allocations: 3.938 kB / 477.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1313, allocations: 8 kB / 477.6 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1313, allocations: 3.953 kB / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1313, allocations: 0 / 477.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.1316, allocations: 265 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.796e-05/0.1317, allocations: 93 kB / 477.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.1317, allocations: 4 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1318, allocations: 19.98 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1319, allocations: 11.94 kB / 478 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1319, allocations: 4 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1321, allocations: 156.9 kB / 478.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1321, allocations: 4 kB / 478.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000282/0.1324, allocations: 27.98 kB / 478.2 MB, free: 6.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001558/0.1339, allocations: 1.158 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1342, allocations: 127.9 kB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1343, allocations: 0 / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1344, allocations: 67.91 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1348, allocations: 23.94 kB / 479.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1362, allocations: 0.8949 MB / 480.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1364, allocations: 0.716 MB / 481.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.319e-05/0.1365, allocations: 20.55 kB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.1366, allocations: 35.42 kB / 481.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1366, allocations: 3.938 kB / 481.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.1497, allocations: 2.906 MB / 484.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.1499, allocations: 224.6 kB / 484.3 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.092, allocations: 0 / 484.3 MB, free: 0.7188 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat does not exist to compare? outputFormat=mat