Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.0008634/0.0008635, allocations: 96.77 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.001225/0.001226, allocations: 187.9 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.403/1.403, allocations: 223.2 MB / 241.9 MB, free: 356 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.2144/0.2144, allocations: 44.23 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1172, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002036/0.1193, allocations: 1.614 MB / 473.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1207, allocations: 0.9675 MB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.1208, allocations: 0 / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.121, allocations: 31.77 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.1212, allocations: 123.6 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.122, allocations: 390.1 kB / 474.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.1223, allocations: 219.2 kB / 475 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.1224, allocations: 60.47 kB / 475 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1226, allocations: 99.55 kB / 475.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.1228, allocations: 147.4 kB / 475.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1228, allocations: 8 kB / 475.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.123, allocations: 47.97 kB / 475.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1231, allocations: 119.6 kB / 475.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.1231, allocations: 77.45 kB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.1234, allocations: 271.7 kB / 475.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1234, allocations: 4 kB / 475.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1234, allocations: 0 / 475.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.1235, allocations: 4 kB / 475.8 MB, free: 9.488 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009576/0.1244, allocations: 0.7076 MB / 476.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1245, allocations: 8.031 kB / 476.5 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.1245, allocations: 42.56 kB / 476.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.919e-05/0.1246, allocations: 55.34 kB / 476.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005237/0.1251, allocations: 427.1 kB / 477 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1252, allocations: 8 kB / 477 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.1252, allocations: 15.95 kB / 477 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.1255, allocations: 127.3 kB / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1255, allocations: 4 kB / 477.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.1255, allocations: 4 kB / 477.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.1255, allocations: 4 kB / 477.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.1257, allocations: 83.94 kB / 477.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000865/0.1266, allocations: 0.6837 MB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1268, allocations: 109.2 kB / 478.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.1269, allocations: 53.77 kB / 478.1 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.127, allocations: 3.984 kB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.127, allocations: 30.56 kB / 478.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.836e-06/0.127, allocations: 7.984 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001283/0.1283, allocations: 0.5449 MB / 478.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.1283, allocations: 77.11 kB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/0.1292, allocations: 0.8739 MB / 479.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1292, allocations: 29.7 kB / 479.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1294, allocations: 248.2 kB / 479.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.1295, allocations: 55.27 kB / 480 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.1295, allocations: 0 / 480 MB, free: 5.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1296, allocations: 370.8 kB / 480.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.1298, allocations: 59.97 kB / 480.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.13, allocations: 85.61 kB / 480.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1301, allocations: 67.97 kB / 480.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1301, allocations: 0 / 480.5 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004124/0.1306, allocations: 245.1 kB / 480.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1306, allocations: 7.938 kB / 480.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1306, allocations: 4 kB / 480.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1306, allocations: 7.984 kB / 480.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.1308, allocations: 47.91 kB / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1308, allocations: 0 / 480.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.131, allocations: 12 kB / 480.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.131, allocations: 7.984 kB / 480.9 MB, free: 4.145 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001931/0.1312, allocations: 206.3 kB / 481.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.1313, allocations: 55.3 kB / 481.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/0.1318, allocations: 290.9 kB / 481.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1318, allocations: 4 kB / 481.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1319, allocations: 0 / 481.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1319, allocations: 0 / 481.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1329, allocations: 0.7906 MB / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1329, allocations: 0 / 482.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.133, allocations: 47.97 kB / 482.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1331, allocations: 0 / 482.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1331, allocations: 4 kB / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1331, allocations: 0 / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1331, allocations: 0 / 482.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.1336, allocations: 428.7 kB / 482.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.1337, allocations: 152.4 kB / 482.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.1338, allocations: 4 kB / 482.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.1339, allocations: 19.98 kB / 482.8 MB, free: 2.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.134, allocations: 15.98 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.134, allocations: 7.984 kB / 482.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006552/0.1347, allocations: 0.6315 MB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1347, allocations: 0 / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.135, allocations: 55.98 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001569/0.1366, allocations: 1.245 MB / 484.8 MB, free: 248 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.137, allocations: 155.8 kB / 484.9 MB, free: 92 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.137, allocations: 4 kB / 484.9 MB, free: 88 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001769/0.1372, allocations: 87.88 kB / 485 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.1379, allocations: 68.61 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00455/0.1425, allocations: 3.104 MB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.1429, allocations: 0.853 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.1431, allocations: 79.84 kB / 489.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.1433, allocations: 163.4 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1433, allocations: 0 / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.1657, allocations: 8.586 MB / 497.9 MB, free: 3.211 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.166, allocations: 223.3 kB / 498.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.193, allocations: 4 kB / 498.1 MB, free: 2.969 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat does not exist to compare? outputFormat=mat