Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008512/0.0008513, allocations: 97.5 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000901/0.0009011, allocations: 191.5 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.447/1.447, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 11.94 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 63.47 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00209/0.1525, allocations: 1.362 MB / 483 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.1535, allocations: 0.5305 MB / 483.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1536, allocations: 3.938 kB / 483.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006042/0.1542, allocations: 443.2 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.1546, allocations: 271.5 kB / 484.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1551, allocations: 159.4 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1553, allocations: 139.7 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1555, allocations: 20.22 kB / 484.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1556, allocations: 107.7 kB / 484.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1558, allocations: 171.7 kB / 484.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1558, allocations: 4 kB / 484.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.156, allocations: 32 kB / 484.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1561, allocations: 87.69 kB / 484.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1562, allocations: 61.52 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1564, allocations: 211.9 kB / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1564, allocations: 0 / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1564, allocations: 0 / 485.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1564, allocations: 0 / 485.2 MB, free: 1.648 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.0007152/0.1572, allocations: 0.6104 MB / 485.8 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1572, allocations: 12.03 kB / 485.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.1573, allocations: 38.56 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.1573, allocations: 39.44 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1577, allocations: 291.3 kB / 486.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1577, allocations: 7.938 kB / 486.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1577, allocations: 4 kB / 486.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1579, allocations: 65.61 kB / 486.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1579, allocations: 0 / 486.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1579, allocations: 0 / 486.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1579, allocations: 8 kB / 486.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1581, allocations: 35.97 kB / 486.3 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/0.1586, allocations: 412.6 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.1588, allocations: 50.56 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.303e-05/0.1588, allocations: 20.94 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.1588, allocations: 4 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.1589, allocations: 34.59 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1589, allocations: 0 / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.001055/0.16, allocations: 351.7 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.16, allocations: 55.39 kB / 487.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.161, allocations: 0.8776 MB / 488.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1611, allocations: 29.7 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.1613, allocations: 224.1 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.1614, allocations: 23.66 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.1614, allocations: 4 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.1617, allocations: 366.8 kB / 488.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.1618, allocations: 35.97 kB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.1619, allocations: 31.98 kB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.162, allocations: 40.2 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.162, allocations: 0 / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003231/0.1623, allocations: 161 kB / 489 MB, free: 13.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.1624, allocations: 7.953 kB / 489 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.1624, allocations: 7.922 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1624, allocations: 0 / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1625, allocations: 20 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.1626, allocations: 0 / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.1627, allocations: 11.98 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1627, allocations: 0 / 489 MB, free: 13.58 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 (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.0003735/0.1631, allocations: 221.8 kB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1632, allocations: 43.86 kB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003842/0.1636, allocations: 189.3 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.1636, allocations: 3.938 kB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1636, allocations: 0 / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1636, allocations: 3.984 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007199/0.1643, allocations: 0.5304 MB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1644, allocations: 4 kB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.1644, allocations: 12 kB / 490 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1644, allocations: 4 kB / 490 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1645, allocations: 8.016 kB / 490 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1645, allocations: 4 kB / 490.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1645, allocations: 4 kB / 490.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1648, allocations: 255.8 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.1649, allocations: 120.5 kB / 490.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.1649, allocations: 0 / 490.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.165, allocations: 12 kB / 490.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1651, allocations: 3.984 kB / 490.4 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1651, allocations: 4 kB / 490.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007313/0.1658, allocations: 0.6589 MB / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1658, allocations: 0 / 491.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1661, allocations: 35.98 kB / 491.1 MB, free: 11.37 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.001625/0.1677, allocations: 1.149 MB / 492.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.168, allocations: 79.95 kB / 492.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.168, allocations: 0 / 492.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.1681, allocations: 47.91 kB / 492.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1685, allocations: 26.3 kB / 492.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.1717, allocations: 2.45 MB / 494.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.1723, allocations: 0.834 MB / 495.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.92e-05/0.1724, allocations: 24.72 kB / 495.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.1726, allocations: 115.4 kB / 495.9 MB, free: 6.703 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1726, allocations: 4 kB / 495.9 MB, free: 6.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.1906, allocations: 5.846 MB / 0.4899 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.1909, allocations: 213.7 kB / 0.4902 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.072, allocations: 4 kB / 0.4902 GB, free: 0.7188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat