Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001099/0.001099, allocations: 98.67 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.001265/0.001266, allocations: 195.8 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.44/1.44, 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.2195/0.2195, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 12 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 63.48 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002794/0.1457, allocations: 1.731 MB / 483.4 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.1477, allocations: 1.147 MB / 484.5 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.148, allocations: 4 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.1483, allocations: 43.7 kB / 484.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006577/0.1489, allocations: 179.4 kB / 484.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.1502, allocations: 393.6 kB / 485.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005248/0.1507, allocations: 267.1 kB / 485.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.1509, allocations: 60.88 kB / 485.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003157/0.1512, allocations: 119.5 kB / 485.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.1515, allocations: 167.3 kB / 485.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.178e-05/0.1515, allocations: 8 kB / 485.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.1517, allocations: 55.92 kB / 485.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.1519, allocations: 139.6 kB / 485.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.38e-05/0.152, allocations: 85.39 kB / 486 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.1523, allocations: 295.8 kB / 486.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1523, allocations: 3.938 kB / 486.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1523, allocations: 0 / 486.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.1524, allocations: 0 / 486.3 MB, free: 0.6055 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001184/0.1535, allocations: 0.7581 MB / 487.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1536, allocations: 12.03 kB / 487.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.489e-05/0.1537, allocations: 38.56 kB / 487.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.1542, allocations: 103.1 kB / 487.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.1548, allocations: 459.7 kB / 487.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1549, allocations: 12 kB / 487.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.1549, allocations: 15.94 kB / 487.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.1552, allocations: 155.1 kB / 487.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1552, allocations: 4 kB / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1553, allocations: 0 / 487.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1553, allocations: 8 kB / 487.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.1556, allocations: 111.9 kB / 488 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009257/0.1565, allocations: 0.6995 MB / 488.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.1568, allocations: 129.2 kB / 488.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1569, allocations: 77.75 kB / 488.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.157, allocations: 7.984 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.157, allocations: 34.56 kB / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.157, allocations: 0 / 488.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001899/0.1589, allocations: 0.7555 MB / 489.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.159, allocations: 77.11 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009297/0.1599, allocations: 0.9141 MB / 490.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.1599, allocations: 33.7 kB / 490.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.1601, allocations: 268.2 kB / 490.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.1602, allocations: 67 kB / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.1602, allocations: 4 kB / 491 MB, free: 11.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1604, allocations: 378.7 kB / 491.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.1606, allocations: 107.9 kB / 491.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.1609, allocations: 128 kB / 491.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1612, allocations: 116.1 kB / 491.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1612, allocations: 0 / 491.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006547/0.1619, allocations: 336.7 kB / 492.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1619, allocations: 4 kB / 492.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1619, allocations: 4 kB / 492.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1619, allocations: 0 / 492.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.1622, allocations: 63.94 kB / 492.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1622, allocations: 4 kB / 492.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.1624, allocations: 35.84 kB / 492.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.1625, allocations: 7.984 kB / 492.2 MB, free: 10.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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.0002426/0.1627, allocations: 213.7 kB / 492.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1628, allocations: 63.25 kB / 492.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000839/0.1637, allocations: 387 kB / 492.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.1637, allocations: 8 kB / 492.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1637, allocations: 0 / 492.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1637, allocations: 0 / 492.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.1653, allocations: 0.931 MB / 493.8 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1653, allocations: 4 kB / 493.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.1656, allocations: 59.89 kB / 493.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.1656, allocations: 0 / 493.8 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.1656, allocations: 15.94 kB / 493.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1656, allocations: 0 / 493.8 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1657, allocations: 7.984 kB / 493.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.1664, allocations: 0.4979 MB / 494.3 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.1665, allocations: 160.2 kB / 494.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.1666, allocations: 11.94 kB / 494.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.1668, allocations: 27.98 kB / 494.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1669, allocations: 19.92 kB / 494.6 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.1669, allocations: 11.98 kB / 494.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000803/0.1677, allocations: 0.6708 MB / 495.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1678, allocations: 0 / 495.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003737/0.1681, allocations: 67.98 kB / 495.3 MB, free: 7.215 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 (20): * Single equations (assignments): 20 * 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.001773/0.1699, allocations: 1.34 MB / 496.6 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005898/0.1705, allocations: 252 kB / 496.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1705, allocations: 192 / 496.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.1708, allocations: 147.7 kB / 497 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.1714, allocations: 70.91 kB / 497.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.1761, allocations: 3.445 MB / 0.4888 GB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.1765, allocations: 0.8695 MB / 0.4897 GB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000206/0.1767, allocations: 87.2 kB / 0.4898 GB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.177, allocations: 187.4 kB / 0.4899 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.177, allocations: 0 / 0.4899 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.1989, allocations: 9.268 MB / 0.499 GB, free: 7.703 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1992, allocations: 221.7 kB / 0.4992 GB, free: 7.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.244, allocations: 0 / 0.4992 GB, free: 7.461 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat does not exist to compare? outputFormat=mat