Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31",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.0009477/0.0009478, allocations: 96.08 kB / 16.99 MB, free: 5.941 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.001042/0.001042, allocations: 180.2 kB / 17.88 MB, free: 5.609 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.318/1.318, allocations: 223.2 MB / 241.8 MB, free: 376 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.2191/0.2191, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.001705/0.1236, allocations: 1.318 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1248, allocations: 0.957 MB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.1249, allocations: 0 / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.1251, allocations: 15.92 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1252, allocations: 35.83 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.1255, allocations: 110.2 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1256, allocations: 39.91 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.487e-05/0.1257, allocations: 20.16 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.1257, allocations: 19.92 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1259, allocations: 19.84 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.1259, allocations: 4 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.633e-05/0.126, allocations: 35.92 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.126, allocations: 7.938 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.1261, allocations: 33.7 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1262, allocations: 84.09 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1262, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1262, allocations: 0 / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1262, allocations: 0 / 474.2 MB, free: 10.94 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.0004523/0.1267, allocations: 394.9 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.1267, allocations: 8.031 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.177e-05/0.1268, allocations: 34.56 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.1268, allocations: 7.906 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.127, allocations: 187 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.127, allocations: 4 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.127, allocations: 7.859 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.1272, allocations: 79.33 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1272, allocations: 0 / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1272, allocations: 4 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1272, allocations: 0 / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.1274, allocations: 43.97 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.1277, allocations: 284.8 kB / 475.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.1278, allocations: 58.48 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1279, allocations: 4 kB / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.1279, allocations: 30.56 kB / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1279, allocations: 0 / 475.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007522/0.1287, allocations: 237.3 kB / 475.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1287, allocations: 81.11 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.1289, allocations: 134.1 kB / 475.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1289, allocations: 25.7 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.1289, allocations: 100.1 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.129, allocations: 27.62 kB / 475.9 MB, free: 9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.129, allocations: 0 / 475.9 MB, free: 9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1291, allocations: 322.8 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1292, allocations: 40.05 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.1294, allocations: 61.67 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1295, allocations: 35.98 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1295, allocations: 0 / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002715/0.1298, allocations: 125.6 kB / 476.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1298, allocations: 6.188 kB / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1298, allocations: 0 / 476.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1298, allocations: 8 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.13, allocations: 19.98 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.13, allocations: 3.938 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.13, allocations: 23.89 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1301, allocations: 0 / 476.6 MB, free: 8.348 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 (7): * Single equations (assignments): 7 * 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.221e-05/0.1302, allocations: 134.2 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1302, allocations: 4 kB / 476.7 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.1305, allocations: 142.5 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1305, allocations: 4.281 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1306, allocations: 0 / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1306, allocations: 3.938 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.1311, allocations: 406.5 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1311, allocations: 11.92 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.1312, allocations: 23.97 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1312, allocations: 0 / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1312, allocations: 4 kB / 477.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1312, allocations: 4 kB / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1312, allocations: 0 / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1315, allocations: 227.3 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1316, allocations: 97 kB / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.1316, allocations: 0 / 477.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.1317, allocations: 11.98 kB / 477.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.1318, allocations: 8 kB / 477.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.1318, allocations: 4 kB / 477.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.512e-05/0.1319, allocations: 118 kB / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1319, allocations: 0 / 477.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1322, allocations: 24 kB / 477.8 MB, free: 7.043 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 (7): * Single equations (assignments): 7 * 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.001422/0.1336, allocations: 1.088 MB / 478.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1339, allocations: 91.89 kB / 479 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1339, allocations: 4 kB / 479 MB, free: 6.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.134, allocations: 43.97 kB / 479 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1343, allocations: 15.98 kB / 479 MB, free: 5.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.1354, allocations: 0.6421 MB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1357, allocations: 0.6965 MB / 480.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.1358, allocations: 12.67 kB / 480.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.1359, allocations: 31.41 kB / 480.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1359, allocations: 0 / 480.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.1497, allocations: 2.521 MB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/0.1501, allocations: 228.7 kB / 483.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/1.959, allocations: 0 / 483.1 MB, free: 1.852 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat does not exist to compare? outputFormat=mat