Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 93.75 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 193.7 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.531/1.531, allocations: 227.3 MB / 246 MB, free: 11.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 45.92 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.0002589, allocations: 11.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1303, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00209/0.1324, allocations: 1.37 MB / 483 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009044/0.1334, allocations: 0.5226 MB / 483.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.355e-05/0.1334, allocations: 0 / 483.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.1337, allocations: 47.88 kB / 483.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.1339, allocations: 79.73 kB / 483.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1343, allocations: 151.6 kB / 483.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.1345, allocations: 71.81 kB / 483.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1346, allocations: 32.14 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.1347, allocations: 23.92 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.25e-05/0.1348, allocations: 35.83 kB / 484 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1348, allocations: 4 kB / 484 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.239e-05/0.1349, allocations: 39.94 kB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.442e-05/0.1349, allocations: 19.92 kB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.135, allocations: 33.7 kB / 484.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.1351, allocations: 88.02 kB / 484.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1351, allocations: 4 kB / 484.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1352, allocations: 0 / 484.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1352, allocations: 0 / 484.2 MB, free: 2.742 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.0005275/0.1357, allocations: 403 kB / 484.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1357, allocations: 12.03 kB / 484.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.1358, allocations: 34.56 kB / 484.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.1358, allocations: 15.8 kB / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.136, allocations: 198.8 kB / 484.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.1361, allocations: 11.94 kB / 484.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1361, allocations: 4 kB / 484.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.1363, allocations: 69.61 kB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1363, allocations: 0 / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.1363, allocations: 0 / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1363, allocations: 4 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1365, allocations: 55.95 kB / 484.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.137, allocations: 332.6 kB / 485.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1372, allocations: 62.55 kB / 485.3 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.1373, allocations: 28.97 kB / 485.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1373, allocations: 0 / 485.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.1374, allocations: 46.56 kB / 485.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.865e-06/0.1374, allocations: 96 / 485.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001475/0.1389, allocations: 0.489 MB / 485.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1389, allocations: 55.39 kB / 485.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1391, allocations: 178.2 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1391, allocations: 29.7 kB / 486.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.1392, allocations: 108 kB / 486.3 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.1393, allocations: 39.44 kB / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-06/0.1393, allocations: 4 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1395, allocations: 322.8 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.1396, allocations: 64 kB / 486.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1398, allocations: 55.92 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1399, allocations: 71.95 kB / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1399, allocations: 0 / 486.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000329/0.1403, allocations: 185.7 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1403, allocations: 7.953 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1403, allocations: 3.984 kB / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1403, allocations: 0 / 487 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1404, allocations: 27.98 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1404, allocations: 0 / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.51e-05/0.1405, allocations: 19.98 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1405, allocations: 4 kB / 487 MB, free: 15.62 MB / 366.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.0001199/0.1407, allocations: 129.8 kB / 487.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1407, allocations: 15.75 kB / 487.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.1411, allocations: 210.3 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1411, allocations: 3.938 kB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1411, allocations: 3.938 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1412, allocations: 0 / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.1419, allocations: 0.52 MB / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1419, allocations: 0 / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.142, allocations: 27.98 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.142, allocations: 4 kB / 487.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.142, allocations: 8 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.142, allocations: 0 / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.142, allocations: 7.938 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/0.1425, allocations: 281.2 kB / 488.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.1426, allocations: 100.8 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.1426, allocations: 4 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.1427, allocations: 15.98 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1427, allocations: 7.984 kB / 488.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1428, allocations: 11.94 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1429, allocations: 135.2 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1429, allocations: 7.938 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1432, allocations: 31.98 kB / 488.5 MB, free: 14 MB / 366.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.001594/0.1448, allocations: 1.163 MB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.1451, allocations: 139.9 kB / 489.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1451, allocations: 0 / 489.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1453, allocations: 75.89 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1456, allocations: 20.11 kB / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1472, allocations: 0.9184 MB / 490.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1476, allocations: 0.716 MB / 491.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1477, allocations: 36.52 kB / 491.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.1478, allocations: 39.42 kB / 491.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1478, allocations: 0 / 491.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/0.1628, allocations: 2.961 MB / 494.6 MB, free: 8.109 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/0.1631, allocations: 217.7 kB / 494.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.964, allocations: 0 / 494.8 MB, free: 7.871 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat does not exist to compare? outputFormat=mat