Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.0009197/0.0009195, allocations: 102.2 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.0009424/0.0009424, allocations: 183.1 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.388/1.388, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2212/0.2212, allocations: 44.22 MB / 337.1 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002345/0.1416, allocations: 1.617 MB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1432, allocations: 0.956 MB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.991e-05/0.1432, allocations: 3.938 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.1435, allocations: 43.77 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002914/0.1438, allocations: 131.6 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1449, allocations: 0.5308 MB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.1453, allocations: 191.4 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.1455, allocations: 56.88 kB / 475.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1456, allocations: 99.59 kB / 475.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.1459, allocations: 143.5 kB / 475.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.1459, allocations: 4 kB / 475.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.146, allocations: 39.92 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.1462, allocations: 139.5 kB / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.1463, allocations: 77.45 kB / 475.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.1466, allocations: 279.5 kB / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1466, allocations: 0 / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1466, allocations: 0 / 475.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1466, allocations: 0 / 475.8 MB, free: 9.332 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001072/0.1477, allocations: 0.7115 MB / 476.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.1478, allocations: 12.03 kB / 476.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.724e-05/0.1478, allocations: 46.55 kB / 476.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.1479, allocations: 51.34 kB / 476.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006239/0.1485, allocations: 438.9 kB / 477.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.1486, allocations: 11.94 kB / 477.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.1486, allocations: 15.95 kB / 477.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.1489, allocations: 147.3 kB / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1489, allocations: 0 / 477.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.149, allocations: 11.98 kB / 477.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.149, allocations: 3.984 kB / 477.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000234/0.1492, allocations: 103.9 kB / 477.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.1502, allocations: 0.6917 MB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.1505, allocations: 125.2 kB / 478.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.1505, allocations: 7.984 kB / 478.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1505, allocations: 30.69 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1505, allocations: 0 / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001415/0.152, allocations: 0.5799 MB / 478.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.152, allocations: 81.09 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.1531, allocations: 0.8896 MB / 479.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1531, allocations: 25.7 kB / 479.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.1533, allocations: 256.2 kB / 480 MB, free: 4.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.1534, allocations: 51.2 kB / 480.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.1534, allocations: 4 kB / 480.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1536, allocations: 370.8 kB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1538, allocations: 75.95 kB / 480.5 MB, free: 4.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.154, allocations: 81.67 kB / 480.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1542, allocations: 92.09 kB / 480.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1542, allocations: 0 / 480.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006114/0.1548, allocations: 256.8 kB / 481 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1548, allocations: 11.94 kB / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1548, allocations: 0 / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1548, allocations: 0 / 481 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.1551, allocations: 43.97 kB / 481 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1551, allocations: 4.219 kB / 481 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.1552, allocations: 19.98 kB / 481 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1552, allocations: 7.938 kB / 481 MB, free: 3.855 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002225/0.1555, allocations: 218.2 kB / 481.2 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.1556, allocations: 51.34 kB / 481.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.1562, allocations: 310.9 kB / 481.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.1562, allocations: 0 / 481.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1562, allocations: 4 kB / 481.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1562, allocations: 7.984 kB / 481.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1574, allocations: 0.8177 MB / 482.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1574, allocations: 0 / 482.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1576, allocations: 43.91 kB / 482.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1576, allocations: 4 kB / 482.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1576, allocations: 7.938 kB / 482.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1576, allocations: 4 kB / 482.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1576, allocations: 4 kB / 482.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005643/0.1582, allocations: 439.7 kB / 482.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.1584, allocations: 152.4 kB / 483.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.929e-05/0.1585, allocations: 4 kB / 483.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.1587, allocations: 15.98 kB / 483.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.1587, allocations: 27.89 kB / 483.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1588, allocations: 11.98 kB / 483.1 MB, free: 1.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007896/0.1596, allocations: 0.6432 MB / 483.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1596, allocations: 4 kB / 483.8 MB, free: 1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.1599, allocations: 52 kB / 483.8 MB, free: 0.9492 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 (16): * Single equations (assignments): 16 * 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.002233/0.1622, allocations: 1.343 MB / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.1628, allocations: 171.9 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1628, allocations: 0 / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.1631, allocations: 95.89 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.1636, allocations: 70.19 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.168, allocations: 3.287 MB / 488.8 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.1685, allocations: 0.8811 MB / 489.7 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.1687, allocations: 95.2 kB / 489.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.169, allocations: 163.4 kB / 489.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.169, allocations: 0 / 489.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.1915, allocations: 8.785 MB / 498.7 MB, free: 2.258 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.1918, allocations: 214.8 kB / 498.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.081, allocations: 7.938 kB / 498.9 MB, free: 2.008 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat does not exist to compare? outputFormat=mat