Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.001115/0.001115, allocations: 97.34 kB / 16.98 MB, free: 6.402 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.00133/0.00133, allocations: 184.1 kB / 17.87 MB, free: 5.957 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.343/1.343, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.22 MB / 337.1 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 61.91 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.001904/0.1484, allocations: 1.326 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000621/0.1491, allocations: 383.5 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.1491, allocations: 0 / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.1497, allocations: 431.2 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1499, allocations: 247.5 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1503, allocations: 114.7 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1505, allocations: 115.8 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1506, allocations: 19.98 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1507, allocations: 103.7 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1509, allocations: 143.7 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1509, allocations: 0 / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.151, allocations: 28 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1512, allocations: 87.73 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.1512, allocations: 69.44 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.1515, allocations: 203.9 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.1515, allocations: 0 / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1515, allocations: 0 / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1515, allocations: 0 / 474.8 MB, free: 10.4 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007454/0.1522, allocations: 0.5911 MB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1523, allocations: 8.031 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.1523, allocations: 34.56 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.1524, allocations: 43.42 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.1527, allocations: 283.3 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.1527, allocations: 4 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.1528, allocations: 11.86 kB / 475.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.1529, allocations: 53.69 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1529, allocations: 3.984 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.153, allocations: 8 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.153, allocations: 7.938 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1531, allocations: 27.98 kB / 475.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005201/0.1536, allocations: 404.5 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001036/0.1537, allocations: 46.56 kB / 476.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1538, allocations: 4.031 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1538, allocations: 34.56 kB / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1538, allocations: 0 / 476.3 MB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009353/0.1547, allocations: 324 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1548, allocations: 51.41 kB / 476.7 MB, free: 8.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.1556, allocations: 0.8652 MB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1556, allocations: 37.64 kB / 477.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.1558, allocations: 231.9 kB / 477.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.1558, allocations: 19.7 kB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.1558, allocations: 0 / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.156, allocations: 362.8 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.953e-05/0.1561, allocations: 23.98 kB / 478.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.1562, allocations: 39.97 kB / 478.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.1562, allocations: 24.23 kB / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1562, allocations: 0 / 478.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000239/0.1565, allocations: 157 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1565, allocations: 8 kB / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1565, allocations: 432 / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1566, allocations: 0 / 478.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1567, allocations: 19.98 kB / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1567, allocations: 0 / 478.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.38e-05/0.1567, allocations: 7.938 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1568, allocations: 7.953 kB / 478.5 MB, free: 6.477 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 (8): * Single equations (assignments): 8 * 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.0002554/0.157, allocations: 218.3 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.1571, allocations: 43.44 kB / 478.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.1575, allocations: 165.4 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1575, allocations: 0 / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1575, allocations: 8 kB / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1575, allocations: 0 / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007075/0.1582, allocations: 0.507 MB / 479.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1582, allocations: 0 / 479.4 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.1583, allocations: 24.02 kB / 479.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1583, allocations: 4 kB / 479.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1583, allocations: 0 / 479.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1583, allocations: 0 / 479.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1584, allocations: 3.953 kB / 479.4 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1587, allocations: 261.5 kB / 479.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.1588, allocations: 112.5 kB / 479.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.1588, allocations: 12 kB / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.1589, allocations: 11.94 kB / 479.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.159, allocations: 7.984 kB / 479.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.159, allocations: 11.94 kB / 479.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006926/0.1597, allocations: 0.6511 MB / 480.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1597, allocations: 0 / 480.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.16, allocations: 28 kB / 480.5 MB, free: 4.305 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 (8): * Single equations (assignments): 8 * 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.001595/0.1616, allocations: 1.212 MB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.1618, allocations: 75.91 kB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1619, allocations: 0 / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.162, allocations: 40.03 kB / 481.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1623, allocations: 21.97 kB / 481.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1652, allocations: 2.283 MB / 484.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.1657, allocations: 0.8341 MB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.1658, allocations: 12.75 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.1659, allocations: 103.4 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1659, allocations: 4 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.183, allocations: 5.658 MB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/0.1833, allocations: 226.5 kB / 491 MB, free: 9.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.981, allocations: 3.938 kB / 491 MB, free: 9.988 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat does not exist to compare? outputFormat=mat