Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",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.000986/0.000986, allocations: 99.03 kB / 17 MB, free: 6.398 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.001173/0.001174, 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.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 312 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.2425/0.2425, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003319, allocations: 12.91 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1248, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002294/0.1271, allocations: 1.595 MB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1285, allocations: 0.8032 MB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.396e-05/0.1286, allocations: 0 / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004469/0.1291, allocations: 239.5 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002941/0.1294, allocations: 167.5 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.1304, allocations: 448.4 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.1307, allocations: 247.3 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.1309, allocations: 56.56 kB / 475.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.131, allocations: 103.6 kB / 475.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.1313, allocations: 159.4 kB / 475.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.1313, allocations: 4 kB / 475.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1314, allocations: 55.97 kB / 475.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1315, allocations: 75.69 kB / 475.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.1316, allocations: 65.52 kB / 475.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002483/0.1319, allocations: 215.8 kB / 475.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1319, allocations: 0 / 475.9 MB, free: 9.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.1319, allocations: 4 kB / 475.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1319, allocations: 0 / 475.9 MB, free: 9.402 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007211/0.1326, allocations: 0.6013 MB / 476.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1327, allocations: 8.031 kB / 476.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.1327, allocations: 42.56 kB / 476.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.1328, allocations: 39.44 kB / 476.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.1331, allocations: 301.2 kB / 476.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1331, allocations: 8 kB / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1332, allocations: 15.95 kB / 476.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1334, allocations: 109.6 kB / 477 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1334, allocations: 7.938 kB / 477 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1335, allocations: 4 kB / 477 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1335, allocations: 4 kB / 477 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1336, allocations: 67.95 kB / 477.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006834/0.1343, allocations: 0.4963 MB / 477.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1345, allocations: 94.42 kB / 477.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.1346, allocations: 36.84 kB / 477.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.1347, allocations: 224 / 477.7 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1347, allocations: 42.48 kB / 477.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1347, allocations: 0 / 477.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009148/0.1356, allocations: 399.9 kB / 478.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1357, allocations: 55.41 kB / 478.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000569/0.1362, allocations: 0.5408 MB / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1363, allocations: 25.7 kB / 478.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.1364, allocations: 212.3 kB / 478.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.1365, allocations: 55.19 kB / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.1365, allocations: 0 / 479 MB, free: 6.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1367, allocations: 350.8 kB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1368, allocations: 59.97 kB / 479.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1369, allocations: 62.56 kB / 479.5 MB, free: 5.586 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.137, allocations: 55.98 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.137, allocations: 0 / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003209/0.1373, allocations: 209 kB / 479.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1374, allocations: 4 kB / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1374, allocations: 0 / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1374, allocations: 0 / 479.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1376, allocations: 39.97 kB / 479.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1376, allocations: 0 / 479.8 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.1377, allocations: 12 kB / 479.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.1377, allocations: 8 kB / 479.8 MB, free: 5.258 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 (17): * Single equations (assignments): 17 * 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.0001688/0.1379, allocations: 174.3 kB / 479.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.1379, allocations: 43.39 kB / 480 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004358/0.1384, allocations: 247.5 kB / 480.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1384, allocations: 0 / 480.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1384, allocations: 0 / 480.2 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1384, allocations: 3.984 kB / 480.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.1392, allocations: 0.6347 MB / 480.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1392, allocations: 4 kB / 480.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1393, allocations: 35.98 kB / 480.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1393, allocations: 4 kB / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1393, allocations: 0 / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1393, allocations: 0 / 480.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1393, allocations: 11.98 kB / 480.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.1397, allocations: 309 kB / 481.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.479e-05/0.1398, allocations: 128.6 kB / 481.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.1398, allocations: 0 / 481.3 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.1399, allocations: 16 kB / 481.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.14, allocations: 11.98 kB / 481.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.14, allocations: 4 kB / 481.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004186/0.1404, allocations: 411.1 kB / 481.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1404, allocations: 3.938 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003025/0.1407, allocations: 47.98 kB / 481.8 MB, free: 3.094 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 (17): * Single equations (assignments): 17 * 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.002053/0.1428, allocations: 1.433 MB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1431, allocations: 138.5 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1431, allocations: 4 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.1433, allocations: 75.91 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.1438, allocations: 61.5 kB / 483.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.1466, allocations: 1.967 MB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.1469, allocations: 0.8145 MB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001315/0.1471, allocations: 45.89 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1472, allocations: 119.4 kB / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1473, allocations: 4 kB / 486.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.1675, allocations: 6.579 MB / 493.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.1678, allocations: 216.7 kB / 493.3 MB, free: 7.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.155, allocations: 4 kB / 493.3 MB, free: 7.965 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat does not exist to compare? outputFormat=mat