Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.0009474/0.0009477, allocations: 97.33 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 175.5 kB / 16.58 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 222.7 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3754/0.3754, allocations: 43.55 MB / 314.6 MB, free: 8.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005514/0.0005517, allocations: 20 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1285, allocations: 58.86 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002307/0.1308, allocations: 1.302 MB / 444.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007161/0.1316, allocations: 299.9 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.1317, allocations: 4 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.1323, allocations: 443.2 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003586/0.1326, allocations: 231.6 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.133, allocations: 111.7 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1332, allocations: 123.7 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.1333, allocations: 12.17 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1335, allocations: 99.8 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1337, allocations: 163.7 kB / 445.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.1337, allocations: 4 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-05/0.1338, allocations: 39.84 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.134, allocations: 79.75 kB / 445.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.134, allocations: 65.52 kB / 445.8 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.1342, allocations: 180 kB / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1342, allocations: 0 / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1343, allocations: 0 / 446 MB, free: 10.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.1343, allocations: 0 / 446 MB, free: 10.06 MB / 382.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.0007333/0.135, allocations: 0.6026 MB / 446.6 MB, free: 9.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1351, allocations: 8.031 kB / 446.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1351, allocations: 34.55 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.1352, allocations: 43.48 kB / 446.7 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1355, allocations: 271.3 kB / 446.9 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1355, allocations: 11.94 kB / 447 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1355, allocations: 0 / 447 MB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1357, allocations: 49.69 kB / 447 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1357, allocations: 7.938 kB / 447 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1357, allocations: 4 kB / 447 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1357, allocations: 0 / 447 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.1358, allocations: 35.92 kB / 447.1 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1363, allocations: 388.6 kB / 447.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.1366, allocations: 50.5 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.1366, allocations: 20.94 kB / 447.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1366, allocations: 0 / 447.5 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1367, allocations: 34.52 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1367, allocations: 7.938 kB / 447.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000594/0.1373, allocations: 240 kB / 447.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.1373, allocations: 51.41 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007955/0.1381, allocations: 0.8652 MB / 448.7 MB, free: 7.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.1382, allocations: 25.7 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1383, allocations: 224.1 kB / 448.9 MB, free: 6.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1384, allocations: 15.75 kB / 449 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.1384, allocations: 4 kB / 449 MB, free: 6.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1385, allocations: 354.8 kB / 449.3 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.1386, allocations: 19.98 kB / 449.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.1386, allocations: 27.98 kB / 449.4 MB, free: 6.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.1387, allocations: 23.98 kB / 449.4 MB, free: 6.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1387, allocations: 0 / 449.4 MB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002122/0.1389, allocations: 133 kB / 449.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.139, allocations: 11.98 kB / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.139, allocations: 0 / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.139, allocations: 0 / 449.5 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.1391, allocations: 12 kB / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1391, allocations: 0 / 449.5 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.599e-05/0.1391, allocations: 7.984 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1392, allocations: 4 kB / 449.5 MB, free: 6.281 MB / 382.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.0001911/0.1394, allocations: 213.8 kB / 449.7 MB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.1394, allocations: 51.38 kB / 449.8 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.1397, allocations: 137 kB / 449.9 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1397, allocations: 4 kB / 449.9 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1397, allocations: 4 kB / 449.9 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1397, allocations: 288 / 449.9 MB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.1403, allocations: 462.8 kB / 450.4 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1403, allocations: 64 / 450.4 MB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.1404, allocations: 27.92 kB / 450.4 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1404, allocations: 7.922 kB / 450.4 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1404, allocations: 4 kB / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1404, allocations: 0 / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1404, allocations: 0 / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.1407, allocations: 223 kB / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.1408, allocations: 112.5 kB / 450.8 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1408, allocations: 3.984 kB / 450.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.1409, allocations: 12 kB / 450.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1409, allocations: 0 / 450.8 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1409, allocations: 7.984 kB / 450.8 MB, free: 4.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000631/0.1416, allocations: 0.6472 MB / 451.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1416, allocations: 0 / 451.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1418, allocations: 39.89 kB / 451.5 MB, free: 4.242 MB / 382.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.001553/0.1434, allocations: 1.041 MB / 452.5 MB, free: 3.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.1437, allocations: 51.97 kB / 452.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1437, allocations: 0 / 452.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.1438, allocations: 31.92 kB / 452.6 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006262/0.1445, allocations: 33.23 kB / 452.6 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.1476, allocations: 2.309 MB / 454.9 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2045/0.352, allocations: 0.8153 MB / 455.8 MB, free: 46.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.415e-05/0.3522, allocations: 12.05 kB / 455.8 MB, free: 46.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3523, allocations: 101.5 kB / 455.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3523, allocations: 0 / 455.9 MB, free: 46.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01633/0.3687, allocations: 5.373 MB / 461.2 MB, free: 45.69 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/0.3689, allocations: 217.9 kB / 461.4 MB, free: 45.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.158, allocations: 0 / 461.4 MB, free: 45.45 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat does not exist to compare? outputFormat=mat