Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008723/0.0008724, allocations: 98.11 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008819/0.0008822, allocations: 198.3 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 45.92 MB / 344.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002424/0.0002425, allocations: 11.98 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1306, allocations: 63.46 MB / 481.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test11): time 0.001915/0.1325, allocations: 1.361 MB / 483 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.134, allocations: 1.074 MB / 484.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.1341, allocations: 4 kB / 484.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.1342, allocations: 23.91 kB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.1345, allocations: 71.75 kB / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1348, allocations: 115.4 kB / 484.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.1349, allocations: 55.78 kB / 484.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.135, allocations: 23.97 kB / 484.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.1351, allocations: 23.86 kB / 484.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1352, allocations: 31.84 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1352, allocations: 0 / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1354, allocations: 83.89 kB / 484.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.064e-05/0.1354, allocations: 15.91 kB / 484.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1355, allocations: 33.7 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.1356, allocations: 108.1 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1357, allocations: 0 / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1357, allocations: 0 / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.1357, allocations: 7.938 kB / 484.7 MB, free: 2.246 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.0004907/0.1362, allocations: 407.1 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1362, allocations: 8.031 kB / 485.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1363, allocations: 30.56 kB / 485.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.143e-05/0.1363, allocations: 7.906 kB / 485.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.1365, allocations: 206.8 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.872e-05/0.1365, allocations: 0 / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1366, allocations: 12 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1367, allocations: 79.31 kB / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1367, allocations: 0 / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.1368, allocations: 0 / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1368, allocations: 0 / 485.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.1369, allocations: 43.97 kB / 485.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.1373, allocations: 292.8 kB / 485.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1374, allocations: 54.48 kB / 485.8 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.1375, allocations: 28.94 kB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1375, allocations: 0 / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1376, allocations: 34.56 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1376, allocations: 0 / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007372/0.1383, allocations: 245.5 kB / 486.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1384, allocations: 77.11 kB / 486.2 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1385, allocations: 154.1 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1385, allocations: 25.7 kB / 486.3 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1386, allocations: 108 kB / 486.4 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1386, allocations: 19.72 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.1386, allocations: 0 / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1388, allocations: 322.8 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1389, allocations: 35.97 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.139, allocations: 57.77 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1392, allocations: 48.11 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1392, allocations: 4.031 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002636/0.1394, allocations: 125.5 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1395, allocations: 6.031 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1395, allocations: 15.88 kB / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1395, allocations: 0 / 487.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1396, allocations: 23.98 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1396, allocations: 0 / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.1397, allocations: 15.98 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1397, allocations: 4 kB / 487.1 MB, free: 15.56 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 9.872e-05/0.1398, allocations: 121.8 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.1399, allocations: 7.906 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.1402, allocations: 146.3 kB / 487.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1402, allocations: 3.953 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1402, allocations: 0 / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1402, allocations: 0 / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.1408, allocations: 418.4 kB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1408, allocations: 0 / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/0.1409, allocations: 23.98 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1409, allocations: 3.953 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1409, allocations: 4 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1409, allocations: 4 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1409, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.1412, allocations: 219.4 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.1413, allocations: 93 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1413, allocations: 3.953 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.1414, allocations: 15.98 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1415, allocations: 11.86 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-06/0.1415, allocations: 8 kB / 488.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.775e-05/0.1416, allocations: 125.3 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1416, allocations: 0 / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.1419, allocations: 40 kB / 488.3 MB, free: 14.23 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.001517/0.1434, allocations: 1.139 MB / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1437, allocations: 99.88 kB / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1437, allocations: 0 / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.1438, allocations: 47.97 kB / 489.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1442, allocations: 19.98 kB / 489.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1455, allocations: 0.6728 MB / 490.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1458, allocations: 0.7004 MB / 491 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.288e-05/0.1459, allocations: 12.97 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.146, allocations: 39.45 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.146, allocations: 0 / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.1617, allocations: 3.009 MB / 494.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.162, allocations: 233.7 kB / 494.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.124, allocations: 0 / 494.3 MB, free: 8.422 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat does not exist to compare? outputFormat=mat