Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.0008751/0.000875, allocations: 95.41 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.0008743/0.0008742, allocations: 179.8 kB / 17.87 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.426/1.426, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2313/0.2313, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004305, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 61.91 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001965/0.1382, allocations: 1.333 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007473/0.139, allocations: 395.5 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.139, allocations: 0 / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000549/0.1396, allocations: 439.2 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1399, allocations: 247.5 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.1403, allocations: 159.1 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.1405, allocations: 127.7 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1406, allocations: 12 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1407, allocations: 107.8 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.1409, allocations: 151.7 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.141, allocations: 0 / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1411, allocations: 39.86 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.1412, allocations: 75.75 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.315e-05/0.1412, allocations: 73.45 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.1415, allocations: 199.9 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1415, allocations: 0 / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1415, allocations: 3.984 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1415, allocations: 0 / 474.9 MB, free: 10.29 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.0006772/0.1422, allocations: 0.6066 MB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1422, allocations: 8.031 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.411e-05/0.1423, allocations: 38.56 kB / 475.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1423, allocations: 35.53 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1426, allocations: 279.3 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1427, allocations: 11.94 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.1427, allocations: 3.953 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1429, allocations: 73.66 kB / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1429, allocations: 0 / 475.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1429, allocations: 3.938 kB / 475.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.1429, allocations: 8 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1431, allocations: 47.97 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005609/0.1437, allocations: 432.5 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.1439, allocations: 62.55 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1439, allocations: 0 / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.144, allocations: 38.59 kB / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.144, allocations: 0 / 476.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001566/0.1455, allocations: 0.5661 MB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1456, allocations: 51.41 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008081/0.1464, allocations: 0.8652 MB / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1464, allocations: 29.7 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.1466, allocations: 216.1 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.1466, allocations: 35.45 kB / 478.2 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.1467, allocations: 4 kB / 478.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1468, allocations: 362.7 kB / 478.6 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.147, allocations: 63.95 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1471, allocations: 67.89 kB / 478.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.1473, allocations: 63.97 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.1473, allocations: 0 / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003526/0.1476, allocations: 213 kB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1477, allocations: 8 kB / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1477, allocations: 0 / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1477, allocations: 0 / 479 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1478, allocations: 31.98 kB / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1478, allocations: 0 / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.422e-05/0.1479, allocations: 19.98 kB / 479.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1479, allocations: 3.953 kB / 479.1 MB, free: 5.852 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 (11): * Single equations (assignments): 11 * 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.0001976/0.1481, allocations: 226.2 kB / 479.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.886e-05/0.1482, allocations: 43.44 kB / 479.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004382/0.1486, allocations: 242.3 kB / 479.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1487, allocations: 8 kB / 479.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1487, allocations: 0 / 479.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1487, allocations: 0 / 479.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007928/0.1495, allocations: 0.617 MB / 480.2 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1495, allocations: 4 kB / 480.2 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1496, allocations: 31.97 kB / 480.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.1496, allocations: 0 / 480.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.1496, allocations: 4 kB / 480.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1496, allocations: 11.95 kB / 480.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1496, allocations: 0 / 480.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.15, allocations: 344 kB / 480.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.1501, allocations: 116.5 kB / 480.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.1502, allocations: 7.984 kB / 480.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1503, allocations: 16 kB / 480.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1504, allocations: 7.984 kB / 480.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1504, allocations: 7.938 kB / 480.7 MB, free: 4.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006111/0.151, allocations: 0.655 MB / 481.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.151, allocations: 0 / 481.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1513, allocations: 36.08 kB / 481.4 MB, free: 3.363 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001635/0.1529, allocations: 1.362 MB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.1533, allocations: 139.9 kB / 482.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1533, allocations: 4 kB / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.1535, allocations: 71.89 kB / 483 MB, free: 1.938 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.1537, allocations: 25.95 kB / 483 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/0.1568, allocations: 2.472 MB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.1573, allocations: 0.8418 MB / 486.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.1574, allocations: 32.52 kB / 486.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.1575, allocations: 123.4 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1576, allocations: 0 / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.1763, allocations: 5.936 MB / 492.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.1767, allocations: 221.5 kB / 492.6 MB, free: 8.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.976, allocations: 0 / 492.6 MB, free: 8.289 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat does not exist to compare? outputFormat=mat