Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 99.48 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.001368/0.001368, allocations: 192.7 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.443/1.443, allocations: 227.4 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.2246/0.2246, allocations: 45.91 MB / 344.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002735/0.0002737, allocations: 11.94 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1249, allocations: 63.47 MB / 481.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.001706/0.1266, allocations: 1.31 MB / 483 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.1274, allocations: 499.3 kB / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.858e-05/0.1275, allocations: 0 / 483.4 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.1278, allocations: 87.8 kB / 483.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.128, allocations: 95.7 kB / 483.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1282, allocations: 99.56 kB / 483.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1284, allocations: 75.8 kB / 483.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.1285, allocations: 8 kB / 483.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.814e-05/0.1285, allocations: 35.84 kB / 483.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.1286, allocations: 51.81 kB / 483.9 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1287, allocations: 4 kB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.56e-05/0.1288, allocations: 32 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.1288, allocations: 19.91 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.1288, allocations: 41.64 kB / 484 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.129, allocations: 84.09 kB / 484.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.129, allocations: 0 / 484.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.129, allocations: 0 / 484.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.129, allocations: 3.938 kB / 484.1 MB, free: 2.832 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.0004597/0.1295, allocations: 406.8 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1295, allocations: 8.031 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.1296, allocations: 34.56 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/0.1296, allocations: 7.906 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1298, allocations: 211.2 kB / 484.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1298, allocations: 4 kB / 484.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1299, allocations: 4 kB / 484.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.13, allocations: 61.66 kB / 484.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.13, allocations: 0 / 484.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.13, allocations: 4 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1301, allocations: 0 / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.1302, allocations: 31.97 kB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1306, allocations: 308.8 kB / 485.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1307, allocations: 50.48 kB / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.1308, allocations: 20.86 kB / 485.2 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1308, allocations: 4.078 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.1308, allocations: 30.56 kB / 485.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1308, allocations: 0 / 485.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008966/0.1317, allocations: 277.2 kB / 485.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1318, allocations: 51.41 kB / 485.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.132, allocations: 234.7 kB / 485.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1321, allocations: 25.7 kB / 485.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.1321, allocations: 112 kB / 485.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1322, allocations: 19.66 kB / 485.9 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.1322, allocations: 4 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1323, allocations: 330.8 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.1324, allocations: 31.97 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.1325, allocations: 35.98 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.1326, allocations: 44.03 kB / 486.4 MB, free: 312 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1326, allocations: 0 / 486.4 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002154/0.1328, allocations: 121.5 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1328, allocations: 4 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1328, allocations: 0 / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1329, allocations: 3.953 kB / 486.5 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.133, allocations: 27.92 kB / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.133, allocations: 0 / 486.5 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.133, allocations: 8.047 kB / 486.5 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.133, allocations: 3.984 kB / 486.5 MB, free: 136 kB / 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 (8): * Single equations (assignments): 8 * 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.0001092/0.1332, allocations: 129.8 kB / 486.7 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1332, allocations: 15.81 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.1335, allocations: 151.3 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1335, allocations: 11.89 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1335, allocations: 0 / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1335, allocations: 0 / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.134, allocations: 431.2 kB / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.134, allocations: 0 / 487.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.594e-05/0.1341, allocations: 23.94 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1341, allocations: 0 / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1341, allocations: 8 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1341, allocations: 4.031 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1341, allocations: 0 / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1344, allocations: 224.1 kB / 487.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.1344, allocations: 96.91 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1344, allocations: 3.953 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1345, allocations: 8 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.1346, allocations: 7.984 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1346, allocations: 4 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1347, allocations: 180.3 kB / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1347, allocations: 0 / 487.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.135, allocations: 20 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001459/0.1364, allocations: 1.103 MB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.1367, allocations: 79.95 kB / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1367, allocations: 0 / 489 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.1368, allocations: 39.92 kB / 489 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.1371, allocations: 24.11 kB / 489.1 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1383, allocations: 0.848 MB / 489.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1386, allocations: 0.716 MB / 490.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.615e-05/0.1387, allocations: 20.95 kB / 490.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.1387, allocations: 39.42 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1387, allocations: 0 / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.1512, allocations: 2.785 MB / 493.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.1514, allocations: 225 kB / 493.7 MB, free: 9.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/1.998, allocations: 0 / 493.7 MB, free: 9.008 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat does not exist to compare? outputFormat=mat