Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007845/0.0007845, allocations: 102.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.001002/0.001002, allocations: 194.3 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.408/1.408, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002858, allocations: 11.98 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 63.47 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.001948/0.136, allocations: 1.319 MB / 483 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008594/0.1369, allocations: 0.5031 MB / 483.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.918e-05/0.1369, allocations: 0 / 483.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005764/0.1375, allocations: 447.2 kB / 483.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003745/0.1379, allocations: 275.4 kB / 484.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.1383, allocations: 147.4 kB / 484.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1385, allocations: 143.7 kB / 484.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.1386, allocations: 4 kB / 484.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1387, allocations: 107.7 kB / 484.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.139, allocations: 171.7 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.139, allocations: 4 kB / 484.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.1391, allocations: 20 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1392, allocations: 79.69 kB / 484.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/0.1392, allocations: 69.52 kB / 484.9 MB, free: 2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1394, allocations: 187.7 kB / 485.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.1395, allocations: 4 kB / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1395, allocations: 0 / 485.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1395, allocations: 0 / 485.1 MB, free: 1.812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006934/0.1402, allocations: 0.599 MB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1402, allocations: 12.03 kB / 485.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.1403, allocations: 38.48 kB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.261e-05/0.1403, allocations: 43.44 kB / 485.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1406, allocations: 283.3 kB / 486.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-06/0.1406, allocations: 4 kB / 486.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.1406, allocations: 0 / 486.1 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.1408, allocations: 65.61 kB / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1408, allocations: 0 / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1409, allocations: 0 / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1409, allocations: 0 / 486.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.141, allocations: 43.97 kB / 486.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.1415, allocations: 404.7 kB / 486.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1417, allocations: 50.55 kB / 486.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.1417, allocations: 32.94 kB / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1418, allocations: 0 / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1418, allocations: 34.56 kB / 486.7 MB, free: 44 kB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1418, allocations: 0 / 486.7 MB, free: 44 kB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003705/0.1422, allocations: 141.1 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1422, allocations: 55.41 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.1431, allocations: 0.8698 MB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1431, allocations: 25.7 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1433, allocations: 227.9 kB / 488 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.1434, allocations: 11.91 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-06/0.1434, allocations: 0 / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1436, allocations: 366.8 kB / 488.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.1436, allocations: 15.98 kB / 488.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.1437, allocations: 23.98 kB / 488.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.527e-05/0.1438, allocations: 23.98 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1438, allocations: 4 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001985/0.144, allocations: 121 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.144, allocations: 8 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.144, allocations: 0 / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.144, allocations: 0 / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.1441, allocations: 8 kB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1441, allocations: 4 kB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.657e-05/0.1442, allocations: 15.94 kB / 488.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1442, allocations: 336 / 488.6 MB, free: 14.09 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 (3): * Single equations (assignments): 3 * 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.0001899/0.1444, allocations: 209.8 kB / 488.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.1445, allocations: 43.42 kB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.1447, allocations: 141 kB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1447, allocations: 0 / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1447, allocations: 0 / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1448, allocations: 0 / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.1451, allocations: 293.5 kB / 489.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1451, allocations: 0 / 489.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1451, allocations: 15.98 kB / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1451, allocations: 0 / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.1451, allocations: 4 kB / 489.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1451, allocations: 3.938 kB / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1452, allocations: 0 / 489.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1454, allocations: 218.9 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.1455, allocations: 108.6 kB / 489.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1455, allocations: 8 kB / 489.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.1456, allocations: 11.98 kB / 489.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.1457, allocations: 3.938 kB / 489.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1457, allocations: 4 kB / 489.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.1463, allocations: 0.6589 MB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 3.938 kB / 490.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000244/0.1466, allocations: 23.98 kB / 490.3 MB, free: 12.26 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 (3): * Single equations (assignments): 3 * 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.001208/0.1478, allocations: 0.9861 MB / 491.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.148, allocations: 51.89 kB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.148, allocations: 0 / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.1481, allocations: 27.98 kB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1485, allocations: 26.3 kB / 491.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.1517, allocations: 2.32 MB / 493.7 MB, free: 8.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.1521, allocations: 0.8262 MB / 494.5 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.076e-05/0.1522, allocations: 20.16 kB / 494.6 MB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.1523, allocations: 115.3 kB / 494.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1524, allocations: 0 / 494.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.1697, allocations: 5.292 MB / 500 MB, free: 2.719 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003186/0.1701, allocations: 225.3 kB / 0.4885 GB, free: 2.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.151, allocations: 0 / 0.4885 GB, free: 2.473 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat