Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001038/0.001038, allocations: 100.1 kB / 16.99 MB, free: 6.402 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.0009364/0.0009364, allocations: 178.7 kB / 17.88 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.399/1.399, 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.2379/0.2379, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 11.98 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 61.91 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00204/0.1471, allocations: 1.341 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007721/0.1478, allocations: 383.6 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.913e-05/0.1479, allocations: 0 / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002426/0.1482, allocations: 43.88 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.1483, allocations: 47.81 kB / 473.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1487, allocations: 156.9 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1489, allocations: 47.88 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.149, allocations: 15.98 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.149, allocations: 27.91 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.1491, allocations: 31.86 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1491, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.199e-05/0.1492, allocations: 31.92 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.1493, allocations: 19.86 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.1493, allocations: 37.64 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.1495, allocations: 88.08 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1495, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1495, allocations: 0 / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.1495, allocations: 0 / 473.8 MB, free: 11.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004975/0.15, allocations: 399 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.15, allocations: 8.031 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.595e-05/0.1501, allocations: 34.55 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.1501, allocations: 7.906 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1504, allocations: 199.4 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.1504, allocations: 8 kB / 474.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1504, allocations: 3.953 kB / 474.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1506, allocations: 69.67 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1506, allocations: 3.938 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1506, allocations: 4 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1506, allocations: 4 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.1508, allocations: 55.89 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.1513, allocations: 324.7 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1515, allocations: 66.58 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.1515, allocations: 4 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1516, allocations: 30.56 kB / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1516, allocations: 0 / 475 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001567/0.1531, allocations: 489.4 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1532, allocations: 55.41 kB / 475.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1534, allocations: 174.4 kB / 475.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1534, allocations: 29.7 kB / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.1535, allocations: 108 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.1535, allocations: 39.44 kB / 475.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.1536, allocations: 4 kB / 475.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1537, allocations: 322.8 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1539, allocations: 67.89 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.154, allocations: 67.89 kB / 476.3 MB, free: 8.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1542, allocations: 63.97 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1542, allocations: 0 / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003387/0.1545, allocations: 177.8 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1546, allocations: 11.94 kB / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1546, allocations: 0 / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1546, allocations: 0 / 476.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1547, allocations: 31.98 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1547, allocations: 3.938 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.1548, allocations: 19.97 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1548, allocations: 3.953 kB / 476.6 MB, free: 8.316 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.0001105/0.1549, allocations: 130.4 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.155, allocations: 11.84 kB / 476.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.1554, allocations: 206.3 kB / 477 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1554, allocations: 4 kB / 477 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1554, allocations: 4 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1555, allocations: 0 / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007491/0.1562, allocations: 0.5 MB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1562, allocations: 7.984 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.1563, allocations: 35.92 kB / 477.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1563, allocations: 0 / 477.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1564, allocations: 0 / 477.5 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1564, allocations: 12.02 kB / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1564, allocations: 0 / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.1568, allocations: 312.3 kB / 477.8 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.1568, allocations: 92.95 kB / 477.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.1569, allocations: 4 kB / 477.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.157, allocations: 16.19 kB / 477.9 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.157, allocations: 15.98 kB / 478 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.157, allocations: 0 / 478 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1572, allocations: 141.5 kB / 478.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1572, allocations: 0 / 478.1 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1574, allocations: 24 kB / 478.1 MB, free: 6.691 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.001667/0.1591, allocations: 1.337 MB / 479.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1595, allocations: 147.8 kB / 479.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1595, allocations: 4 kB / 479.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1596, allocations: 79.89 kB / 479.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1599, allocations: 12 kB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1614, allocations: 0.8797 MB / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1617, allocations: 0.7236 MB / 481.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.28e-05/0.1618, allocations: 28.39 kB / 481.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.1619, allocations: 35.42 kB / 481.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1619, allocations: 4 kB / 481.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.175, allocations: 2.859 MB / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.1752, allocations: 211.8 kB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/1.853, allocations: 3.938 kB / 484.4 MB, free: 0.5312 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat does not exist to compare? outputFormat=mat