Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.0007723/0.0007723, allocations: 99.05 kB / 17 MB, free: 6.414 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.0007405/0.0007406, allocations: 185.5 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.405/1.405, allocations: 223.2 MB / 241.9 MB, free: 344 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.2054/0.2054, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002951, allocations: 12 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1215, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.001972/0.1235, allocations: 1.306 MB / 473 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006337/0.1242, allocations: 383.6 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.434e-05/0.1242, allocations: 4 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.1248, allocations: 439.2 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.1251, allocations: 235.6 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.1254, allocations: 114.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.1256, allocations: 131.7 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.1257, allocations: 8.188 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.1258, allocations: 99.73 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.126, allocations: 167.7 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.126, allocations: 4 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.1261, allocations: 27.97 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1262, allocations: 83.75 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.571e-05/0.1263, allocations: 65.45 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.1265, allocations: 187.9 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1265, allocations: 3.938 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1265, allocations: 0 / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1265, allocations: 0 / 474.9 MB, free: 10.39 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.0006408/0.1272, allocations: 0.5988 MB / 475.5 MB, free: 9.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1272, allocations: 8.031 kB / 475.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.1273, allocations: 38.56 kB / 475.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.1273, allocations: 39.44 kB / 475.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1276, allocations: 275.3 kB / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-06/0.1276, allocations: 0 / 475.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1276, allocations: 3.953 kB / 475.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1277, allocations: 61.66 kB / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1278, allocations: 0 / 475.9 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.517e-06/0.1278, allocations: 7.984 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1278, allocations: 4 kB / 475.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.1279, allocations: 31.97 kB / 475.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.1283, allocations: 388.6 kB / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.1285, allocations: 46.56 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.74e-05/0.1286, allocations: 20.94 kB / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.1286, allocations: 0 / 476.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1286, allocations: 34.56 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1287, allocations: 0 / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005808/0.1292, allocations: 239.9 kB / 476.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1293, allocations: 51.41 kB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000796/0.1301, allocations: 0.8691 MB / 477.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.1301, allocations: 29.7 kB / 477.6 MB, free: 7.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1303, allocations: 223.9 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.1303, allocations: 19.75 kB / 477.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.1303, allocations: 0 / 477.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1305, allocations: 366.7 kB / 478.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.1305, allocations: 27.92 kB / 478.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.1306, allocations: 19.98 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.295e-05/0.1307, allocations: 27.98 kB / 478.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1307, allocations: 0 / 478.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001863/0.1309, allocations: 113.2 kB / 478.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1309, allocations: 12 kB / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1309, allocations: 0 / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1309, allocations: 0 / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.131, allocations: 15.98 kB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.131, allocations: 0 / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.265e-05/0.1311, allocations: 4 kB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1311, allocations: 4 kB / 478.4 MB, free: 6.625 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 (5): * Single equations (assignments): 5 * 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.0001901/0.1313, allocations: 226.2 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.1313, allocations: 43.38 kB / 478.7 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.1316, allocations: 141.1 kB / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1316, allocations: 0 / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1316, allocations: 0 / 478.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1316, allocations: 3.984 kB / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004828/0.1321, allocations: 470.8 kB / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1321, allocations: 0 / 479.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.1322, allocations: 16 kB / 479.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1322, allocations: 3.984 kB / 479.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.1322, allocations: 4 kB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1322, allocations: 0 / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1322, allocations: 0 / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1325, allocations: 218.9 kB / 479.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.1325, allocations: 124.5 kB / 479.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.564e-05/0.1326, allocations: 4 kB / 479.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.943e-05/0.1327, allocations: 4 kB / 479.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.1327, allocations: 7.984 kB / 479.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.1327, allocations: 0 / 479.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000586/0.1333, allocations: 0.6588 MB / 480.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1333, allocations: 0 / 480.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1336, allocations: 20 kB / 480.3 MB, free: 4.598 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 (5): * Single equations (assignments): 5 * 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.001325/0.1349, allocations: 1.058 MB / 481.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1351, allocations: 63.89 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1351, allocations: 0 / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/0.1352, allocations: 27.98 kB / 481.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1355, allocations: 25.2 kB / 481.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.1384, allocations: 2.32 MB / 483.8 MB, free: 1.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1388, allocations: 0.8262 MB / 484.6 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.603e-05/0.1388, allocations: 7.984 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1389, allocations: 103.4 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1389, allocations: 0 / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.1558, allocations: 5.381 MB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003692/0.1563, allocations: 223.5 kB / 490.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.075, allocations: 0 / 490.3 MB, free: 10.71 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat does not exist to compare? outputFormat=mat