Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0009587/0.000963, allocations: 95.3 kB / 16.98 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.00111/0.00111, allocations: 183.8 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.434/1.434, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2202/0.2202, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003196/0.0003196, allocations: 9.094 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002826/0.1434, allocations: 1.314 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1446, allocations: 387.6 kB / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.529e-05/0.1447, allocations: 0 / 473.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008388/0.1455, allocations: 435.2 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.146, allocations: 243.5 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.1467, allocations: 161.2 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.147, allocations: 111.8 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.1471, allocations: 20.16 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1473, allocations: 95.8 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.1476, allocations: 147.7 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1476, allocations: 0 / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.1477, allocations: 19.98 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1478, allocations: 83.69 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1479, allocations: 65.52 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1481, allocations: 188 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1481, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1481, allocations: 3.938 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.1481, allocations: 0 / 474.8 MB, free: 10.38 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.0007248/0.1489, allocations: 0.6026 MB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1489, allocations: 8.031 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.149, allocations: 38.56 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.149, allocations: 39.44 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1493, allocations: 275.4 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-06/0.1494, allocations: 0 / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.1494, allocations: 11.86 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1495, allocations: 61.67 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1496, allocations: 0 / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1496, allocations: 0 / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1496, allocations: 0 / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.1497, allocations: 39.91 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.1503, allocations: 400.7 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1505, allocations: 46.56 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1505, allocations: 3.938 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.1506, allocations: 30.56 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1506, allocations: 4 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006395/0.1512, allocations: 260.1 kB / 476.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1513, allocations: 51.41 kB / 476.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/0.1521, allocations: 0.873 MB / 477.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1521, allocations: 25.7 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.1523, allocations: 220.1 kB / 477.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1523, allocations: 15.75 kB / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1523, allocations: 0 / 477.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1525, allocations: 370.7 kB / 478.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.1526, allocations: 27.92 kB / 478.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.1527, allocations: 27.98 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.372e-05/0.1527, allocations: 23.98 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1527, allocations: 0 / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002159/0.153, allocations: 133.1 kB / 478.3 MB, free: 6.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.153, allocations: 4 kB / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.153, allocations: 0 / 478.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.153, allocations: 7.938 kB / 478.3 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.1531, allocations: 11.98 kB / 478.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1531, allocations: 4 kB / 478.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.1532, allocations: 8.25 kB / 478.3 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.1532, allocations: 0 / 478.3 MB, free: 6.566 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.0002582/0.1534, allocations: 218.2 kB / 478.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.1535, allocations: 47.44 kB / 478.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.1538, allocations: 153.1 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1538, allocations: 3.938 kB / 478.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1538, allocations: 8 kB / 478.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1539, allocations: 3.938 kB / 478.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006269/0.1545, allocations: 470.4 kB / 479.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1545, allocations: 0 / 479.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.1546, allocations: 23.98 kB / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1546, allocations: 0 / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1546, allocations: 0 / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1546, allocations: 0 / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1546, allocations: 0 / 479.3 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1549, allocations: 234.8 kB / 479.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.829e-05/0.155, allocations: 108.6 kB / 479.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.155, allocations: 4 kB / 479.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.1551, allocations: 7.984 kB / 479.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1551, allocations: 0 / 479.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1551, allocations: 4 kB / 479.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006511/0.1558, allocations: 0.655 MB / 480.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1558, allocations: 0 / 480.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1561, allocations: 27.98 kB / 480.3 MB, free: 4.516 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.00147/0.1575, allocations: 1.058 MB / 481.3 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1578, allocations: 63.95 kB / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1578, allocations: 0 / 481.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.1579, allocations: 31.92 kB / 481.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.1582, allocations: 30.3 kB / 481.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.1615, allocations: 2.252 MB / 483.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.1621, allocations: 0.834 MB / 484.6 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.734e-05/0.1622, allocations: 11.98 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.1623, allocations: 111.4 kB / 484.7 MB, free: 164 kB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1623, allocations: 4 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.18, allocations: 5.423 MB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/0.1803, allocations: 226.1 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/1.928, allocations: 0 / 490.3 MB, free: 10.61 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat does not exist to compare? outputFormat=mat