Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008861/0.0008862, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001095, allocations: 192.2 kB / 17.9 MB, free: 5.938 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: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 45.92 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002928, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 63.47 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.00278/0.153, allocations: 1.377 MB / 483 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1541, allocations: 0.4914 MB / 483.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.1542, allocations: 0 / 483.5 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.1545, allocations: 51.86 kB / 483.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1548, allocations: 79.73 kB / 483.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.1553, allocations: 111.3 kB / 483.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1555, allocations: 71.81 kB / 483.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1556, allocations: 28.09 kB / 483.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.1557, allocations: 23.91 kB / 483.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1558, allocations: 39.83 kB / 483.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1558, allocations: 4 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.156, allocations: 47.92 kB / 484 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.156, allocations: 15.92 kB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.1561, allocations: 33.7 kB / 484 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1563, allocations: 92.08 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1563, allocations: 3.938 kB / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1563, allocations: 0 / 484.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1563, allocations: 3.938 kB / 484.1 MB, free: 2.766 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007682/0.1571, allocations: 414.9 kB / 484.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1571, allocations: 8.031 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.1572, allocations: 34.56 kB / 484.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1573, allocations: 11.91 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.1576, allocations: 199.5 kB / 484.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.1576, allocations: 4 kB / 484.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.1577, allocations: 8 kB / 484.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.1579, allocations: 69.61 kB / 484.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1579, allocations: 4 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1579, allocations: 0 / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1579, allocations: 3.938 kB / 484.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.1581, allocations: 55.95 kB / 484.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.1586, allocations: 308.7 kB / 485.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1589, allocations: 58.55 kB / 485.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.486e-05/0.159, allocations: 28.97 kB / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.159, allocations: 4 kB / 485.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.159, allocations: 30.56 kB / 485.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.159, allocations: 4 kB / 485.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001552/0.1606, allocations: 476.7 kB / 485.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/0.1608, allocations: 55.41 kB / 485.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.161, allocations: 204.7 kB / 486 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1611, allocations: 25.7 kB / 486.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.1612, allocations: 108 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.1612, allocations: 35.55 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-06/0.1612, allocations: 0 / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1614, allocations: 326.8 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1616, allocations: 47.97 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.1617, allocations: 51.91 kB / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1619, allocations: 59.97 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1619, allocations: 0 / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003253/0.1622, allocations: 161.4 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.1622, allocations: 7.953 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1622, allocations: 0 / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1623, allocations: 3.984 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1624, allocations: 31.97 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1624, allocations: 3.938 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.1625, allocations: 23.98 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1625, allocations: 4 kB / 486.9 MB, free: 15.72 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 (11): * Single equations (assignments): 11 * 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.0001132/0.1626, allocations: 121.8 kB / 487 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.1627, allocations: 15.81 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.1632, allocations: 187.3 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1632, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1632, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1632, allocations: 8 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007809/0.164, allocations: 496 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.164, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.588e-05/0.1641, allocations: 27.98 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.1641, allocations: 4 kB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1641, allocations: 7.984 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.1641, allocations: 4 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1642, allocations: 3.938 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.1645, allocations: 265 kB / 488 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1646, allocations: 100.9 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.1646, allocations: 0 / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.1647, allocations: 19.98 kB / 488.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1648, allocations: 7.984 kB / 488.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1648, allocations: 4 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.165, allocations: 151.9 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.084e-06/0.165, allocations: 4 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1653, allocations: 31.94 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001969/0.1673, allocations: 1.132 MB / 489.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003263/0.1676, allocations: 131.8 kB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1676, allocations: 0 / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.1678, allocations: 59.91 kB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1681, allocations: 22.66 kB / 489.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1699, allocations: 0.8738 MB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.1704, allocations: 0.7121 MB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.686e-05/0.1704, allocations: 20.53 kB / 491.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.1705, allocations: 39.42 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1705, allocations: 0 / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.1872, allocations: 2.924 MB / 494.2 MB, free: 8.441 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.1875, allocations: 215.4 kB / 494.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.06, allocations: 0 / 494.5 MB, free: 8.203 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat does not exist to compare? outputFormat=mat