Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009529/0.000953, allocations: 101.6 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 191.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 45.92 MB / 344.1 MB, free: 11.95 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002815, allocations: 8 kB / 418.2 MB, free: 20.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1257, allocations: 63.46 MB / 481.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002249/0.128, allocations: 1.587 MB / 483.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1297, allocations: 0.9084 MB / 484.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.1299, allocations: 3.938 kB / 484.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.1303, allocations: 239.5 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.1307, allocations: 227.4 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009703/0.1317, allocations: 432.7 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.1321, allocations: 247.2 kB / 485.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.1322, allocations: 44.72 kB / 485.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1323, allocations: 111.5 kB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1325, allocations: 163.4 kB / 485.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1326, allocations: 0 / 485.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1327, allocations: 39.98 kB / 485.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1328, allocations: 75.75 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.242e-05/0.1329, allocations: 73.45 kB / 485.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1331, allocations: 219.8 kB / 486 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1331, allocations: 0 / 486 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1331, allocations: 4 kB / 486 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.1332, allocations: 0 / 486 MB, free: 0.8672 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006955/0.1339, allocations: 0.6028 MB / 486.6 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1339, allocations: 8.031 kB / 486.6 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.055e-05/0.134, allocations: 42.56 kB / 486.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.134, allocations: 39.44 kB / 486.7 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.1344, allocations: 317.1 kB / 487 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.1344, allocations: 8 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.1344, allocations: 4 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1346, allocations: 77.66 kB / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1346, allocations: 0 / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1347, allocations: 4 kB / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1347, allocations: 0 / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.1348, allocations: 59.97 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.1354, allocations: 452.4 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1356, allocations: 58.55 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.1356, allocations: 32.92 kB / 487.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.1357, allocations: 3.984 kB / 487.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1357, allocations: 42.52 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1357, allocations: 0 / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003255/0.136, allocations: 129.2 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1361, allocations: 55.41 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.1367, allocations: 0.5877 MB / 488.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1367, allocations: 33.7 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1368, allocations: 208.2 kB / 488.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.1369, allocations: 11.81 kB / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1369, allocations: 0 / 488.7 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.137, allocations: 358.8 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.877e-05/0.1371, allocations: 19.94 kB / 489.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.63e-05/0.1371, allocations: 23.98 kB / 489.1 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.092e-05/0.1372, allocations: 27.92 kB / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1372, allocations: 0 / 489.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001793/0.1374, allocations: 109.2 kB / 489.2 MB, free: 13.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1374, allocations: 11.98 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1374, allocations: 3.953 kB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1375, allocations: 4 kB / 489.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.1375, allocations: 12 kB / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1376, allocations: 0 / 489.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.1376, allocations: 16.27 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1376, allocations: 4 kB / 489.3 MB, free: 13.32 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 (6): * Single equations (assignments): 6 * 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.0001418/0.1378, allocations: 165.8 kB / 489.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.328e-05/0.1379, allocations: 39.53 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.1381, allocations: 145.1 kB / 489.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1381, allocations: 7.953 kB / 489.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1382, allocations: 0 / 489.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.1382, allocations: 3.984 kB / 489.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.1384, allocations: 289.5 kB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1385, allocations: 3.984 kB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.1385, allocations: 15.98 kB / 489.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1385, allocations: 0 / 489.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.1385, allocations: 4 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1385, allocations: 3.938 kB / 490 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1386, allocations: 3.953 kB / 490 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1388, allocations: 211.1 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.939e-05/0.1389, allocations: 124.6 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1389, allocations: 0 / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.139, allocations: 11.98 kB / 490.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1391, allocations: 11.95 kB / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1391, allocations: 0 / 490.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004331/0.1395, allocations: 435.1 kB / 490.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1395, allocations: 4 kB / 490.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.1398, allocations: 43.83 kB / 490.8 MB, free: 11.72 MB / 366.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 (6): * Single equations (assignments): 6 * 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.001712/0.1415, allocations: 1.239 MB / 492 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1417, allocations: 47.97 kB / 492.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1417, allocations: 0 / 492.1 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.732e-05/0.1418, allocations: 39.92 kB / 492.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000484/0.1423, allocations: 65.84 kB / 492.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.1449, allocations: 1.857 MB / 494 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.1453, allocations: 0.7947 MB / 494.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1454, allocations: 45.5 kB / 494.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1455, allocations: 111.4 kB / 495 MB, free: 7.652 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1455, allocations: 0 / 495 MB, free: 7.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.1622, allocations: 6.199 MB / 0.4894 GB, free: 1.566 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.1625, allocations: 226.7 kB / 0.4896 GB, free: 1.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.105, allocations: 4 kB / 0.4896 GB, free: 1.312 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat does not exist to compare? outputFormat=mat