Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009516/0.0009516, allocations: 100.7 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 246 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 45.93 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004018, allocations: 11.94 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1594, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001855/0.1613, allocations: 1.354 MB / 483 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1628, allocations: 1.105 MB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.1629, allocations: 0 / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.1631, allocations: 27.86 kB / 484.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.1634, allocations: 67.75 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.1638, allocations: 155.2 kB / 484.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.1639, allocations: 63.83 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.164, allocations: 8 kB / 484.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.1641, allocations: 31.84 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1642, allocations: 35.84 kB / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1642, allocations: 0 / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1644, allocations: 87.88 kB / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.1644, allocations: 11.98 kB / 484.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.9e-05/0.1645, allocations: 37.64 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.1647, allocations: 112 kB / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1647, allocations: 0 / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1647, allocations: 0 / 484.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1647, allocations: 0 / 484.7 MB, free: 2.156 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.000472/0.1652, allocations: 411.1 kB / 485.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1652, allocations: 8.031 kB / 485.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.512e-05/0.1652, allocations: 38.5 kB / 485.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1653, allocations: 15.75 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1655, allocations: 190.9 kB / 485.4 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-06/0.1655, allocations: 4 kB / 485.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1655, allocations: 0 / 485.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1657, allocations: 87.36 kB / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1657, allocations: 0 / 485.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1657, allocations: 4 kB / 485.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1657, allocations: 4 kB / 485.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.1659, allocations: 43.91 kB / 485.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.1663, allocations: 320.7 kB / 485.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1664, allocations: 54.55 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.1665, allocations: 32.94 kB / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.1666, allocations: 0 / 485.9 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1666, allocations: 42.44 kB / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1666, allocations: 0 / 486 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007479/0.1674, allocations: 261.2 kB / 486.2 MB, free: 496 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1674, allocations: 77.11 kB / 486.3 MB, free: 400 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1676, allocations: 155.9 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1676, allocations: 25.7 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.1677, allocations: 104 kB / 486.6 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.1677, allocations: 27.7 kB / 486.6 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.1677, allocations: 0 / 486.6 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1678, allocations: 322.8 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.168, allocations: 43.97 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1681, allocations: 65.75 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1682, allocations: 43.97 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1682, allocations: 0 / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002778/0.1685, allocations: 153.5 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1685, allocations: 4 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1685, allocations: 4 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.1686, allocations: 0 / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1687, allocations: 23.98 kB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1687, allocations: 0 / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.719e-05/0.1688, allocations: 11.98 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1688, allocations: 4 kB / 487.3 MB, free: 15.38 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 (7): * Single equations (assignments): 7 * 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 8.618e-05/0.1689, allocations: 129.8 kB / 487.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.1689, allocations: 15.86 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.1693, allocations: 158.2 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1693, allocations: 0 / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1693, allocations: 0 / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1693, allocations: 4.281 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.1698, allocations: 422.5 kB / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1698, allocations: 3.938 kB / 488 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.1699, allocations: 31.92 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1699, allocations: 0 / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.17, allocations: 3.984 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.17, allocations: 4 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.17, allocations: 7.984 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.1703, allocations: 239.6 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.1704, allocations: 92.95 kB / 488.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.1704, allocations: 4 kB / 488.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.1705, allocations: 15.98 kB / 488.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.1706, allocations: 7.984 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1706, allocations: 0 / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.157e-05/0.1707, allocations: 123.2 kB / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1707, allocations: 0 / 488.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.171, allocations: 43.98 kB / 488.5 MB, free: 14 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 (7): * Single equations (assignments): 7 * 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.001535/0.1725, allocations: 1.148 MB / 489.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1728, allocations: 111.9 kB / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1728, allocations: 0 / 489.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1729, allocations: 55.91 kB / 489.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1732, allocations: 26.8 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.1744, allocations: 0.7222 MB / 490.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1747, allocations: 0.7043 MB / 491.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.887e-05/0.1748, allocations: 28.7 kB / 491.3 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.1749, allocations: 27.42 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1749, allocations: 4 kB / 491.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.1923, allocations: 3.105 MB / 494.5 MB, free: 8.258 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.1926, allocations: 218.2 kB / 494.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.144, allocations: 3.125 kB / 494.7 MB, free: 8.02 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat