Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.001144/0.001144, allocations: 98.5 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 194.5 kB / 17.9 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.3 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.213/0.213, allocations: 45.91 MB / 344.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000265/0.0002651, allocations: 8 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 63.48 MB / 481.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002099/0.1318, allocations: 1.345 MB / 483 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1329, allocations: 0.4914 MB / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.133, allocations: 0 / 483.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.1336, allocations: 439.2 kB / 483.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000468/0.1341, allocations: 271.4 kB / 484.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1345, allocations: 115.2 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002031/0.1347, allocations: 135.7 kB / 484.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.1348, allocations: 12 kB / 484.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1349, allocations: 99.73 kB / 484.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.1351, allocations: 167.6 kB / 484.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1352, allocations: 4 kB / 484.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.1353, allocations: 35.97 kB / 484.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1354, allocations: 87.69 kB / 484.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1354, allocations: 65.52 kB / 484.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1357, allocations: 195.9 kB / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1357, allocations: 0 / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1357, allocations: 0 / 485.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1357, allocations: 0 / 485.1 MB, free: 1.75 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.0006793/0.1364, allocations: 0.5987 MB / 485.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1364, allocations: 8.031 kB / 485.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1365, allocations: 46.55 kB / 485.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.1365, allocations: 35.53 kB / 485.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1368, allocations: 279.3 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-06/0.1368, allocations: 0 / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.1369, allocations: 4 kB / 486 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.137, allocations: 53.67 kB / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1371, allocations: 0 / 486.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1371, allocations: 4 kB / 486.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1371, allocations: 0 / 486.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.1372, allocations: 35.91 kB / 486.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.1376, allocations: 392.6 kB / 486.5 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.1379, allocations: 42.56 kB / 486.6 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.1379, allocations: 28.88 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.138, allocations: 0 / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.138, allocations: 30.56 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.138, allocations: 0 / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006287/0.1386, allocations: 243.9 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.1387, allocations: 51.41 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/0.1395, allocations: 0.8815 MB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1396, allocations: 25.7 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1398, allocations: 228 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1398, allocations: 23.73 kB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.1398, allocations: 0 / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.14, allocations: 358.8 kB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.14, allocations: 19.98 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.1401, allocations: 19.98 kB / 488.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.1402, allocations: 28.17 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1402, allocations: 0 / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002334/0.1404, allocations: 133 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1405, allocations: 4 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1405, allocations: 4 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1405, allocations: 3.938 kB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.1406, allocations: 19.94 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1406, allocations: 0 / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.228e-05/0.1407, allocations: 11.98 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-06/0.1407, allocations: 0 / 488.6 MB, free: 13.95 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 (5): * Single equations (assignments): 5 * 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.0002026/0.1409, allocations: 209.8 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.141, allocations: 43.53 kB / 488.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.1413, allocations: 149.3 kB / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1413, allocations: 0 / 489 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1413, allocations: 3.953 kB / 489 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1413, allocations: 3.984 kB / 489 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005975/0.1419, allocations: 470.5 kB / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1419, allocations: 4 kB / 489.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.111e-05/0.142, allocations: 8 kB / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.142, allocations: 4 kB / 489.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.142, allocations: 3.953 kB / 489.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.142, allocations: 4 kB / 489.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.142, allocations: 3.984 kB / 489.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1423, allocations: 222.9 kB / 489.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.705e-05/0.1424, allocations: 108.9 kB / 489.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1424, allocations: 4 kB / 489.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.1425, allocations: 15.95 kB / 489.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.1426, allocations: 11.92 kB / 489.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1426, allocations: 4 kB / 489.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006741/0.1433, allocations: 0.6589 MB / 490.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1433, allocations: 0 / 490.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1436, allocations: 16 kB / 490.6 MB, free: 11.92 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 (5): * Single equations (assignments): 5 * 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.001546/0.1451, allocations: 1.046 MB / 491.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1453, allocations: 59.97 kB / 491.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1453, allocations: 0 / 491.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.1454, allocations: 31.92 kB / 491.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1458, allocations: 36.27 kB / 491.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.1489, allocations: 2.33 MB / 494.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.1495, allocations: 0.8262 MB / 494.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.1496, allocations: 4 kB / 494.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.1498, allocations: 107.4 kB / 495 MB, free: 7.508 MB / 366.1 MB Notification: Performance of SimCode: time 2.455e-06/0.1498, allocations: 0 / 495 MB, free: 7.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.1768, allocations: 5.463 MB / 0.4887 GB, free: 2.152 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/0.1772, allocations: 220 kB / 0.4889 GB, free: 1.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.1, allocations: 0 / 0.4889 GB, free: 1.91 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat does not exist to compare? outputFormat=mat