Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0009556/0.0009555, allocations: 96.92 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.000894/0.0008941, allocations: 183.4 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.402/1.402, 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.2227/0.2227, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.0003311, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1362, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002186/0.1384, allocations: 1.326 MB / 472.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006772/0.1391, allocations: 391.5 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.1392, allocations: 4 kB / 473.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004977/0.1397, allocations: 431.2 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.14, allocations: 239.5 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1403, allocations: 114.7 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1405, allocations: 115.8 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.1406, allocations: 23.91 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.1407, allocations: 95.8 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1409, allocations: 155.7 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.1409, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.141, allocations: 31.98 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.1411, allocations: 83.69 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.1412, allocations: 65.52 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.1414, allocations: 203.9 kB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1414, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1415, allocations: 0 / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1415, allocations: 3.938 kB / 474.8 MB, free: 10.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.0007362/0.1422, allocations: 0.6028 MB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1423, allocations: 11.97 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.1423, allocations: 34.56 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.1424, allocations: 43.44 kB / 475.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.1427, allocations: 283.3 kB / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.1427, allocations: 0 / 475.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.1427, allocations: 11.95 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1429, allocations: 65.67 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.143, allocations: 3.938 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.143, allocations: 0 / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.143, allocations: 0 / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1431, allocations: 47.97 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.1436, allocations: 408.6 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.1438, allocations: 54.59 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1438, allocations: 8 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.1439, allocations: 30.56 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1439, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001697/0.1456, allocations: 0.539 MB / 476.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.1456, allocations: 51.41 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.1469, allocations: 0.8689 MB / 477.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.147, allocations: 29.7 kB / 477.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.1472, allocations: 208.1 kB / 478.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.79e-05/0.1472, allocations: 39.45 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.1473, allocations: 4 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1474, allocations: 366.8 kB / 478.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.1476, allocations: 47.97 kB / 478.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.1478, allocations: 47.97 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.148, allocations: 55.97 kB / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.148, allocations: 0 / 478.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004825/0.1485, allocations: 189 kB / 478.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1485, allocations: 8 kB / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1486, allocations: 0 / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1486, allocations: 0 / 478.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.1487, allocations: 35.92 kB / 478.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1488, allocations: 0 / 478.8 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.1489, allocations: 23.92 kB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1489, allocations: 3.953 kB / 478.9 MB, free: 6.066 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.0002537/0.1492, allocations: 218.3 kB / 479.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.1493, allocations: 39.44 kB / 479.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.1498, allocations: 229.7 kB / 479.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1499, allocations: 0 / 479.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1499, allocations: 0 / 479.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1499, allocations: 4 kB / 479.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.1509, allocations: 0.582 MB / 479.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1509, allocations: 3.938 kB / 479.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1511, allocations: 27.98 kB / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1511, allocations: 0 / 480 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1511, allocations: 4.375 kB / 480 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1511, allocations: 3.953 kB / 480 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1511, allocations: 4.062 kB / 480 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005319/0.1517, allocations: 331.9 kB / 480.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1518, allocations: 120.5 kB / 480.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.1519, allocations: 4 kB / 480.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.152, allocations: 19.98 kB / 480.4 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.1521, allocations: 11.98 kB / 480.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1521, allocations: 4 kB / 480.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008249/0.153, allocations: 0.6433 MB / 481.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.153, allocations: 4 kB / 481.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.1534, allocations: 31.98 kB / 481.1 MB, free: 3.668 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.002066/0.1555, allocations: 1.341 MB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.1559, allocations: 119.9 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1559, allocations: 0 / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.1562, allocations: 71.91 kB / 482.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.1565, allocations: 21.95 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.1607, allocations: 2.393 MB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/0.1613, allocations: 0.8379 MB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1614, allocations: 20.53 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.1616, allocations: 103.4 kB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1616, allocations: 4 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.1837, allocations: 5.81 MB / 491.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.184, allocations: 214.6 kB / 492.1 MB, free: 8.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/1.998, allocations: 0 / 492.1 MB, free: 8.887 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat does not exist to compare? outputFormat=mat