Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007751/0.0007752, allocations: 99.95 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000944/0.0009441, allocations: 192.5 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 45.92 MB / 344.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002753, allocations: 11.98 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1299, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001846/0.1318, allocations: 1.349 MB / 483 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.1327, allocations: 0.5031 MB / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.1327, allocations: 0 / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.1332, allocations: 443.2 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.1336, allocations: 283.4 kB / 484.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.134, allocations: 103.8 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.1342, allocations: 135.7 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.1343, allocations: 19.97 kB / 484.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1344, allocations: 103.7 kB / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.1346, allocations: 171.7 kB / 484.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1346, allocations: 4 kB / 484.7 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.1347, allocations: 24 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.408e-05/0.1348, allocations: 87.69 kB / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.1349, allocations: 65.52 kB / 484.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1351, allocations: 199.9 kB / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1351, allocations: 0 / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1351, allocations: 0 / 485.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1351, allocations: 0 / 485.1 MB, free: 1.773 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.0006676/0.1358, allocations: 0.5988 MB / 485.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1359, allocations: 12.03 kB / 485.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1359, allocations: 38.56 kB / 485.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.136, allocations: 47.42 kB / 485.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1362, allocations: 275.3 kB / 486.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1362, allocations: 4 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1363, allocations: 3.938 kB / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1364, allocations: 69.59 kB / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1365, allocations: 0 / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.1365, allocations: 0 / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1365, allocations: 4 kB / 486.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.1366, allocations: 43.97 kB / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.137, allocations: 392.6 kB / 486.6 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1372, allocations: 54.5 kB / 486.6 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.027e-05/0.1373, allocations: 28.94 kB / 486.7 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1373, allocations: 3.938 kB / 486.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.1373, allocations: 34.56 kB / 486.7 MB, free: 4 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1373, allocations: 0 / 486.7 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007971/0.1381, allocations: 327.9 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.1382, allocations: 51.41 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.139, allocations: 0.8737 MB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.139, allocations: 25.7 kB / 488 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1392, allocations: 220 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1392, allocations: 19.72 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.1392, allocations: 0 / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1394, allocations: 362.8 kB / 488.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1395, allocations: 43.97 kB / 488.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1396, allocations: 39.97 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.1397, allocations: 39.98 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1398, allocations: 0 / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002965/0.1401, allocations: 169 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1401, allocations: 8 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1401, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1401, allocations: 0 / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.1402, allocations: 23.94 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1402, allocations: 7.984 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.465e-05/0.1403, allocations: 12 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1403, allocations: 4 kB / 488.9 MB, free: 13.75 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 (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.0001738/0.1405, allocations: 213.8 kB / 489.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.1406, allocations: 39.44 kB / 489.1 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.1409, allocations: 185.5 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1409, allocations: 0 / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.141, allocations: 11.88 kB / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.141, allocations: 0 / 489.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005979/0.1416, allocations: 0.5101 MB / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1416, allocations: 0 / 489.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.1417, allocations: 23.98 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1417, allocations: 4 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1417, allocations: 3.953 kB / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1417, allocations: 480 / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1417, allocations: 288 / 489.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.142, allocations: 258.9 kB / 490.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.1421, allocations: 120.5 kB / 490.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.1421, allocations: 8 kB / 490.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.1422, allocations: 19.94 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1423, allocations: 4 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.1423, allocations: 4 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000599/0.1429, allocations: 0.6627 MB / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1429, allocations: 0 / 490.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1432, allocations: 35.98 kB / 491 MB, free: 11.56 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 (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.001321/0.1445, allocations: 1.079 MB / 492.1 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.1448, allocations: 95.88 kB / 492.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1448, allocations: 0 / 492.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.1449, allocations: 51.97 kB / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.1453, allocations: 26.27 kB / 492.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.1484, allocations: 2.406 MB / 494.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.1488, allocations: 0.8262 MB / 495.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.801e-05/0.1489, allocations: 8.969 kB / 495.5 MB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1491, allocations: 111.4 kB / 495.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1491, allocations: 0 / 495.6 MB, free: 6.988 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.1659, allocations: 5.543 MB / 0.4894 GB, free: 1.547 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.1662, allocations: 234.5 kB / 0.4896 GB, free: 1.297 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.074, allocations: 0 / 0.4896 GB, free: 1.297 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat does not exist to compare? outputFormat=mat