Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",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.0008788/0.0008788, allocations: 97.03 kB / 16.98 MB, free: 5.938 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.0009202/0.0009202, allocations: 185.5 kB / 17.88 MB, free: 5.594 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.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2181/0.2181, allocations: 44.23 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.14, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002237/0.1423, allocations: 1.617 MB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1436, allocations: 0.7879 MB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.1437, allocations: 4 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.1442, allocations: 243.4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1444, allocations: 167.6 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.1456, allocations: 0.5988 MB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002871/0.1459, allocations: 203.5 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.146, allocations: 60.56 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1462, allocations: 107.6 kB / 475.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1464, allocations: 143.4 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1464, allocations: 0 / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.847e-05/0.1465, allocations: 47.91 kB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1466, allocations: 83.73 kB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.359e-05/0.1467, allocations: 73.45 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.1469, allocations: 231.6 kB / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1469, allocations: 0 / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1469, allocations: 0 / 475.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.147, allocations: 0 / 475.9 MB, free: 9.277 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006495/0.1476, allocations: 0.6107 MB / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1477, allocations: 8.031 kB / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.647e-05/0.1477, allocations: 42.56 kB / 476.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.1478, allocations: 39.53 kB / 476.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.1481, allocations: 313.1 kB / 476.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.1482, allocations: 8 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1482, allocations: 19.89 kB / 476.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.1484, allocations: 129.5 kB / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1485, allocations: 0 / 477 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1485, allocations: 4 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1485, allocations: 4 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.1487, allocations: 95.88 kB / 477.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.1493, allocations: 0.512 MB / 477.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1495, allocations: 114.5 kB / 477.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.1496, allocations: 4 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1496, allocations: 30.56 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.1496, allocations: 0 / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009421/0.1505, allocations: 471.7 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.1506, allocations: 51.41 kB / 478.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.1512, allocations: 0.5487 MB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1512, allocations: 29.7 kB / 478.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1513, allocations: 204.3 kB / 479.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.354e-05/0.1514, allocations: 59.2 kB / 479.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/0.1514, allocations: 4 kB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1515, allocations: 354.8 kB / 479.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.1517, allocations: 67.95 kB / 479.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1518, allocations: 67.88 kB / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1519, allocations: 82.31 kB / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1519, allocations: 0 / 479.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000351/0.1523, allocations: 241 kB / 479.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1523, allocations: 4 kB / 479.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1523, allocations: 0 / 479.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1523, allocations: 4 kB / 479.9 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.1525, allocations: 39.91 kB / 480 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.1525, allocations: 4 kB / 480 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.1526, allocations: 4 kB / 480 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.1526, allocations: 8 kB / 480 MB, free: 4.926 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 (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.000156/0.1528, allocations: 174.3 kB / 480.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.1529, allocations: 43.48 kB / 480.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/0.1534, allocations: 299 kB / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1534, allocations: 0 / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1534, allocations: 0 / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1534, allocations: 0 / 480.5 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008319/0.1542, allocations: 0.6856 MB / 481.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1542, allocations: 3.938 kB / 481.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1544, allocations: 39.92 kB / 481.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1544, allocations: 4 kB / 481.2 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1544, allocations: 8 kB / 481.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.1544, allocations: 3.938 kB / 481.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1544, allocations: 0 / 481.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004136/0.1548, allocations: 344.9 kB / 481.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.1549, allocations: 128.5 kB / 481.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.155, allocations: 4 kB / 481.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1551, allocations: 8 kB / 481.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1551, allocations: 11.98 kB / 481.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1552, allocations: 4 kB / 481.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003937/0.1555, allocations: 415.1 kB / 482.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1556, allocations: 4 kB / 482.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003074/0.1559, allocations: 52 kB / 482.2 MB, free: 2.621 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 (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.002146/0.158, allocations: 1.468 MB / 483.7 MB, free: 1.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003522/0.1584, allocations: 171.8 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1584, allocations: 0 / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.1586, allocations: 95.89 kB / 483.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000442/0.159, allocations: 68.45 kB / 484 MB, free: 1.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.1619, allocations: 2.068 MB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1623, allocations: 0.8262 MB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.1624, allocations: 58.23 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.1626, allocations: 127.4 kB / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1626, allocations: 0 / 487.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.18, allocations: 6.795 MB / 493.9 MB, free: 7.293 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.1803, allocations: 214.4 kB / 494.1 MB, free: 7.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.033, allocations: 0 / 494.1 MB, free: 7.055 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat does not exist to compare? outputFormat=mat