Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",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.0007172/0.0007172, allocations: 88.19 kB / 15.7 MB, free: 460 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.001055/0.001055, allocations: 174.3 kB / 16.58 MB, free: 6.84 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.522/1.522, allocations: 205.4 MB / 222.7 MB, free: 5.641 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.3711/0.3711, allocations: 43.56 MB / 314.6 MB, free: 8.773 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.0005454/0.0005457, allocations: 20 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.139, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003221/0.1422, allocations: 1.614 MB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1442, allocations: 0.7216 MB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002721/0.1445, allocations: 4 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.1452, allocations: 251.4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005366/0.1458, allocations: 163.5 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.1473, allocations: 0.5615 MB / 446.2 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.1478, allocations: 255.3 kB / 446.4 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.148, allocations: 56.7 kB / 446.5 MB, free: 9.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1482, allocations: 115.5 kB / 446.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1485, allocations: 163.4 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1485, allocations: 4 kB / 446.8 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1487, allocations: 55.97 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1488, allocations: 79.69 kB / 446.9 MB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.782e-05/0.1489, allocations: 61.52 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.1492, allocations: 235.6 kB / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1492, allocations: 0 / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1492, allocations: 0 / 447.2 MB, free: 8.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1492, allocations: 7.938 kB / 447.2 MB, free: 8.598 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007954/0.15, allocations: 0.6068 MB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1501, allocations: 8.031 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.1502, allocations: 50.55 kB / 447.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1503, allocations: 43.39 kB / 447.9 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.1507, allocations: 309.3 kB / 448.2 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1507, allocations: 4 kB / 448.2 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1507, allocations: 23.83 kB / 448.2 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.151, allocations: 137.5 kB / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.1511, allocations: 0 / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1511, allocations: 4 kB / 448.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1511, allocations: 7.953 kB / 448.4 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.1513, allocations: 91.94 kB / 448.5 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.1521, allocations: 0.512 MB / 449 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1523, allocations: 110.5 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.1524, allocations: 44.83 kB / 449.1 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.1525, allocations: 7.984 kB / 449.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.1525, allocations: 34.56 kB / 449.2 MB, free: 6.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1525, allocations: 0 / 449.2 MB, free: 6.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001032/0.1536, allocations: 452 kB / 449.6 MB, free: 5.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1536, allocations: 55.36 kB / 449.7 MB, free: 5.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006822/0.1543, allocations: 0.5564 MB / 450.2 MB, free: 5.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1543, allocations: 29.7 kB / 450.3 MB, free: 5.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1545, allocations: 200.4 kB / 450.4 MB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.1546, allocations: 63.09 kB / 450.5 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.1546, allocations: 4 kB / 450.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1548, allocations: 354.8 kB / 450.9 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.1549, allocations: 71.89 kB / 450.9 MB, free: 4.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.155, allocations: 67.95 kB / 451 MB, free: 4.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1552, allocations: 83.41 kB / 451.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1552, allocations: 0 / 451.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004026/0.1556, allocations: 233 kB / 451.3 MB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1556, allocations: 4 kB / 451.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1556, allocations: 0 / 451.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1557, allocations: 0 / 451.3 MB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.1558, allocations: 43.92 kB / 451.4 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1558, allocations: 3.953 kB / 451.4 MB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.1559, allocations: 15.98 kB / 451.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1559, allocations: 4 kB / 451.4 MB, free: 4.18 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 (17): * Single equations (assignments): 17 * 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.0001607/0.1561, allocations: 181.8 kB / 451.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.1562, allocations: 39.44 kB / 451.6 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000503/0.1567, allocations: 293.4 kB / 451.9 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1567, allocations: 0 / 451.9 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1567, allocations: 8 kB / 451.9 MB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1567, allocations: 3.953 kB / 451.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/0.1576, allocations: 0.6929 MB / 452.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1576, allocations: 0 / 452.6 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1577, allocations: 31.98 kB / 452.6 MB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1577, allocations: 7.953 kB / 452.6 MB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1577, allocations: 4 kB / 452.6 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1577, allocations: 4 kB / 452.6 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1577, allocations: 0 / 452.6 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.1582, allocations: 334.8 kB / 453 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/0.1583, allocations: 124.6 kB / 453.1 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1583, allocations: 11.94 kB / 453.1 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.77e-05/0.1584, allocations: 8 kB / 453.1 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.1585, allocations: 15.97 kB / 453.1 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1585, allocations: 4 kB / 453.1 MB, free: 2.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004712/0.159, allocations: 419.1 kB / 453.5 MB, free: 1.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.159, allocations: 0 / 453.5 MB, free: 1.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003207/0.1593, allocations: 48 kB / 453.6 MB, free: 1.879 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 (17): * Single equations (assignments): 17 * 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.002311/0.1616, allocations: 1.467 MB / 455 MB, free: 432 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.162, allocations: 163.8 kB / 455.2 MB, free: 268 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.162, allocations: 4 kB / 455.2 MB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.1622, allocations: 91.89 kB / 455.3 MB, free: 172 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1627, allocations: 77.45 kB / 455.4 MB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2178/0.3806, allocations: 2.105 MB / 457.5 MB, free: 45.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3809, allocations: 0.816 MB / 458.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001694/0.3811, allocations: 58.06 kB / 458.3 MB, free: 44.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.3813, allocations: 122.8 kB / 458.5 MB, free: 44.97 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3813, allocations: 0 / 458.5 MB, free: 44.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.4003, allocations: 6.804 MB / 465.3 MB, free: 44.49 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/0.4005, allocations: 223.1 kB / 465.5 MB, free: 44.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/2.248, allocations: 4 kB / 465.5 MB, free: 44.24 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat does not exist to compare? outputFormat=mat