Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008273/0.0008272, allocations: 99.86 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009021/0.0009021, allocations: 192.5 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.554/1.554, allocations: 227.3 MB / 246 MB, free: 11.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2329/0.2329, allocations: 45.92 MB / 344.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004191, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002046/0.1538, allocations: 1.291 MB / 482.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.1554, allocations: 1.062 MB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.578e-05/0.1555, allocations: 4 kB / 484 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1557, allocations: 19.92 kB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.156, allocations: 63.75 kB / 484.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1562, allocations: 79.84 kB / 484.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.1564, allocations: 51.84 kB / 484.2 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.623e-05/0.1565, allocations: 19.97 kB / 484.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.1565, allocations: 15.88 kB / 484.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.1567, allocations: 23.91 kB / 484.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1567, allocations: 7.984 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.1569, allocations: 75.91 kB / 484.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.053e-05/0.1569, allocations: 23.91 kB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.157, allocations: 29.7 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1572, allocations: 104.1 kB / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1572, allocations: 0 / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1572, allocations: 0 / 484.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1572, allocations: 0 / 484.5 MB, free: 2.379 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.0005059/0.1577, allocations: 395.1 kB / 484.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1578, allocations: 8.031 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.1578, allocations: 38.53 kB / 484.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.1579, allocations: 11.91 kB / 484.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.1581, allocations: 193.5 kB / 485.1 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1581, allocations: 4 kB / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1581, allocations: 7.938 kB / 485.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1583, allocations: 67.34 kB / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1584, allocations: 0 / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1584, allocations: 0 / 485.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1584, allocations: 4 kB / 485.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.1585, allocations: 27.92 kB / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.1589, allocations: 284.9 kB / 485.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.1591, allocations: 46.56 kB / 485.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.238e-05/0.1591, allocations: 24.88 kB / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.1592, allocations: 0 / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1592, allocations: 30.56 kB / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1592, allocations: 0 / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005525/0.1597, allocations: 157.2 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1598, allocations: 85.06 kB / 485.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.16, allocations: 144.4 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.16, allocations: 25.7 kB / 486 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.16, allocations: 100.1 kB / 486.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1601, allocations: 11.81 kB / 486.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1601, allocations: 0 / 486.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1602, allocations: 322.8 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.1603, allocations: 19.98 kB / 486.5 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.818e-05/0.1603, allocations: 37.7 kB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.026e-05/0.1604, allocations: 23.98 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1604, allocations: 0 / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001716/0.1606, allocations: 93.55 kB / 486.6 MB, free: 20 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1606, allocations: 4 kB / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1606, allocations: 0 / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.1607, allocations: 0 / 486.6 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.171e-05/0.1607, allocations: 15.98 kB / 486.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1607, allocations: 192 / 486.6 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.1608, allocations: 16 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.1608, allocations: 0 / 486.6 MB, free: 15.98 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 (5): * Single equations (assignments): 5 * 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 7.694e-05/0.1609, allocations: 121.8 kB / 486.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.1609, allocations: 7.906 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.1612, allocations: 97.84 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1612, allocations: 3.938 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1612, allocations: 4 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1612, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.1616, allocations: 362.7 kB / 487.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1616, allocations: 0 / 487.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.1617, allocations: 15.98 kB / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1617, allocations: 0 / 487.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1617, allocations: 12 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1617, allocations: 7.875 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1617, allocations: 3.953 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1619, allocations: 179.5 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.162, allocations: 85.3 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.162, allocations: 4 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.1621, allocations: 11.98 kB / 487.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.1621, allocations: 7.938 kB / 487.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1621, allocations: 4 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.1622, allocations: 113.6 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1622, allocations: 4 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002987/0.1625, allocations: 35.98 kB / 487.7 MB, free: 14.82 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 (5): * Single equations (assignments): 5 * 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.001545/0.1641, allocations: 1.104 MB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.1643, allocations: 51.97 kB / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1643, allocations: 0 / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.1644, allocations: 32.05 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1647, allocations: 23.3 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1658, allocations: 0.563 MB / 489.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1661, allocations: 0.6887 MB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.133e-05/0.1662, allocations: 16.12 kB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.942e-05/0.1663, allocations: 27.42 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1663, allocations: 0 / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.1809, allocations: 2.753 MB / 493 MB, free: 9.746 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.1812, allocations: 232.8 kB / 493.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.018, allocations: 11.56 kB / 493.2 MB, free: 9.492 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat does not exist to compare? outputFormat=mat