Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.0012/0.0012, allocations: 97 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.001524/0.001524, allocations: 180.6 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.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 376 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.196/0.196, allocations: 44.23 MB / 337.1 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003321/0.0003322, allocations: 12.61 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1241, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00187/0.126, allocations: 1.321 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1275, allocations: 0.9648 MB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.1275, allocations: 3.938 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002171/0.1278, allocations: 23.86 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1279, allocations: 31.91 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.1283, allocations: 158.2 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1284, allocations: 35.95 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.013e-05/0.1285, allocations: 8 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.1286, allocations: 31.84 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1287, allocations: 23.86 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1287, allocations: 0 / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.563e-05/0.1288, allocations: 39.91 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.1289, allocations: 11.98 kB / 474.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.1289, allocations: 33.64 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1291, allocations: 76.11 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.1291, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1291, allocations: 0 / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1291, allocations: 0 / 474.3 MB, free: 10.88 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.0004753/0.1296, allocations: 399 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1296, allocations: 8.031 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.1297, allocations: 34.56 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.1297, allocations: 7.906 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1299, allocations: 194.8 kB / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-06/0.1299, allocations: 0 / 474.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1299, allocations: 7.953 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1301, allocations: 79.39 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1301, allocations: 0 / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1302, allocations: 4 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1302, allocations: 3.984 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1303, allocations: 43.97 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1308, allocations: 308.8 kB / 475.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1309, allocations: 58.55 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1309, allocations: 4.062 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1309, allocations: 30.56 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.131, allocations: 4 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007771/0.1317, allocations: 257.3 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1318, allocations: 77.11 kB / 475.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.132, allocations: 141.8 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.132, allocations: 29.7 kB / 476 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.1321, allocations: 100 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.1321, allocations: 19.72 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.1321, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1322, allocations: 334.7 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.1324, allocations: 43.97 kB / 476.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1325, allocations: 69.61 kB / 476.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1326, allocations: 43.97 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1327, allocations: 0 / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000296/0.133, allocations: 145.6 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.133, allocations: 5.875 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.133, allocations: 0 / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.133, allocations: 0 / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1331, allocations: 35.91 kB / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1331, allocations: 0 / 476.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.1332, allocations: 8 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1332, allocations: 7.984 kB / 476.8 MB, free: 8.184 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 9.32e-05/0.1333, allocations: 122.3 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1334, allocations: 7.906 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.1337, allocations: 162.6 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1337, allocations: 0 / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1337, allocations: 4 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1338, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.1343, allocations: 434.4 kB / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1343, allocations: 288 / 477.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.578e-05/0.1344, allocations: 19.98 kB / 477.5 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1344, allocations: 4 kB / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1344, allocations: 0 / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1344, allocations: 0 / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1345, allocations: 0 / 477.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.1348, allocations: 247.3 kB / 477.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.1349, allocations: 93 kB / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1349, allocations: 8 kB / 477.8 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.135, allocations: 11.98 kB / 477.8 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1351, allocations: 4 kB / 477.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.1351, allocations: 4 kB / 477.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.068e-05/0.1352, allocations: 111.2 kB / 478 MB, free: 6.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1352, allocations: 0 / 478 MB, free: 6.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1354, allocations: 27.94 kB / 478 MB, free: 6.844 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.001562/0.137, allocations: 1.106 MB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.1373, allocations: 115.9 kB / 479.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1374, allocations: 0 / 479.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1375, allocations: 59.91 kB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1378, allocations: 15.98 kB / 479.3 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.139, allocations: 0.6885 MB / 480 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.1393, allocations: 0.7082 MB / 480.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.857e-05/0.1394, allocations: 24.64 kB / 480.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.1394, allocations: 27.42 kB / 480.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1394, allocations: 0 / 480.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.1633, allocations: 2.597 MB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/0.1636, allocations: 226.8 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.947, allocations: 7.938 kB / 483.6 MB, free: 1.445 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat does not exist to compare? outputFormat=mat