Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6",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.0009759/0.0009759, allocations: 97.09 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.001243/0.001243, allocations: 189.1 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.386/1.386, allocations: 223.2 MB / 241.8 MB, free: 400 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2252/0.2252, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004635, allocations: 8 kB / 409.6 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1385, allocations: 61.93 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001771/0.1403, allocations: 1.311 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006003/0.141, allocations: 371.6 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.141, allocations: 4 kB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004757/0.1415, allocations: 435.2 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.1418, allocations: 247.5 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1421, allocations: 107.2 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.1423, allocations: 123.7 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.1424, allocations: 16.17 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.1425, allocations: 103.8 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1427, allocations: 139.7 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1427, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.1428, allocations: 24 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.1429, allocations: 83.67 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.1429, allocations: 69.52 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1431, allocations: 188 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1432, allocations: 0 / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1432, allocations: 0 / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1432, allocations: 0 / 474.7 MB, free: 10.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006452/0.1438, allocations: 0.5988 MB / 475.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1439, allocations: 12.03 kB / 475.3 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1439, allocations: 42.5 kB / 475.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.144, allocations: 39.44 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1442, allocations: 279.4 kB / 475.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1443, allocations: 4 kB / 475.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1443, allocations: 11.86 kB / 475.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1444, allocations: 53.69 kB / 475.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1445, allocations: 0 / 475.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1445, allocations: 7.984 kB / 475.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1445, allocations: 4 kB / 475.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1446, allocations: 43.91 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1451, allocations: 388.7 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1452, allocations: 42.56 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1452, allocations: 8.062 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1453, allocations: 34.56 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1453, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007797/0.146, allocations: 320 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1461, allocations: 51.41 kB / 476.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007541/0.1469, allocations: 0.8651 MB / 477.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1469, allocations: 29.7 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.147, allocations: 216 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1471, allocations: 23.66 kB / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.1471, allocations: 0 / 477.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1472, allocations: 366.7 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.1473, allocations: 39.97 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1474, allocations: 39.97 kB / 478.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.1476, allocations: 43.92 kB / 478.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1476, allocations: 4 kB / 478.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002888/0.1479, allocations: 157.1 kB / 478.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.1479, allocations: 4 kB / 478.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1479, allocations: 4 kB / 478.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1479, allocations: 4 kB / 478.4 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1481, allocations: 27.86 kB / 478.4 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1481, allocations: 3.984 kB / 478.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.811e-05/0.1482, allocations: 12 kB / 478.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1482, allocations: 0 / 478.5 MB, free: 6.504 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 (7): * Single equations (assignments): 7 * 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.0001843/0.1484, allocations: 222.2 kB / 478.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.1484, allocations: 39.53 kB / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.1488, allocations: 189.6 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1488, allocations: 4 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1488, allocations: 0 / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1489, allocations: 3.984 kB / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006163/0.1495, allocations: 0.5023 MB / 479.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1495, allocations: 0 / 479.4 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.1496, allocations: 23.98 kB / 479.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1496, allocations: 0 / 479.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1496, allocations: 0 / 479.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1496, allocations: 8 kB / 479.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1496, allocations: 3.984 kB / 479.4 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.15, allocations: 258.8 kB / 479.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.1501, allocations: 112.6 kB / 479.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.1501, allocations: 0 / 479.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1502, allocations: 19.98 kB / 479.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.1503, allocations: 7.984 kB / 479.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1503, allocations: 4 kB / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005848/0.1509, allocations: 0.655 MB / 480.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1509, allocations: 0 / 480.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1511, allocations: 20 kB / 480.5 MB, free: 4.34 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 (7): * Single equations (assignments): 7 * 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.001323/0.1525, allocations: 1.101 MB / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.1527, allocations: 91.94 kB / 481.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1528, allocations: 0 / 481.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1529, allocations: 55.91 kB / 481.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1531, allocations: 24.45 kB / 481.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.156, allocations: 2.277 MB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1564, allocations: 0.8379 MB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of simCode: alias equations: time 7.053e-05/0.1565, allocations: 13.02 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.1566, allocations: 107.3 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1566, allocations: 3.938 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.172, allocations: 5.451 MB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/0.1722, allocations: 218.5 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.944, allocations: 0 / 490.7 MB, free: 10.3 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat does not exist to compare? outputFormat=mat