Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 101.3 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.001299/0.001299, allocations: 191.8 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.459/1.459, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2159/0.2159, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 15.98 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1469, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002118/0.1491, allocations: 1.287 MB / 482.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1507, allocations: 1.066 MB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.461e-05/0.1508, allocations: 0 / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.151, allocations: 27.91 kB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.1513, allocations: 63.77 kB / 484.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.1515, allocations: 75.84 kB / 484.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1516, allocations: 55.83 kB / 484.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.675e-05/0.1517, allocations: 11.98 kB / 484.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.1518, allocations: 27.84 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.152, allocations: 23.86 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.152, allocations: 8 kB / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1522, allocations: 83.88 kB / 484.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.1522, allocations: 15.92 kB / 484.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.1522, allocations: 25.7 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1524, allocations: 112.1 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1525, allocations: 0 / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1525, allocations: 0 / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1525, allocations: 0 / 484.5 MB, free: 2.367 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.0005122/0.153, allocations: 391.1 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.153, allocations: 16.03 kB / 484.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.143e-05/0.1531, allocations: 30.56 kB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.1531, allocations: 7.906 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.1533, allocations: 193.7 kB / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.1534, allocations: 0 / 485.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1534, allocations: 11.94 kB / 485.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.1535, allocations: 59.39 kB / 485.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1535, allocations: 11.94 kB / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.1536, allocations: 0 / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1536, allocations: 0 / 485.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.776e-05/0.1537, allocations: 23.98 kB / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.154, allocations: 280.9 kB / 485.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.1542, allocations: 46.5 kB / 485.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/0.1543, allocations: 20.94 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1543, allocations: 7.984 kB / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1543, allocations: 30.56 kB / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.1543, allocations: 0 / 485.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005345/0.1549, allocations: 157.2 kB / 485.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.1549, allocations: 81.06 kB / 485.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1551, allocations: 152.2 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.1551, allocations: 29.7 kB / 486 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.1552, allocations: 88.14 kB / 486.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1552, allocations: 19.8 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.1552, allocations: 0 / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1553, allocations: 314.8 kB / 486.4 MB, free: 212 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.1554, allocations: 23.98 kB / 486.5 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.1555, allocations: 37.7 kB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.1556, allocations: 23.98 kB / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1556, allocations: 0 / 486.5 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001621/0.1557, allocations: 89.55 kB / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1558, allocations: 11.98 kB / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1558, allocations: 0 / 486.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1558, allocations: 3.938 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.1559, allocations: 12.05 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1559, allocations: 3.953 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.558e-05/0.1559, allocations: 11.94 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.156, allocations: 8 kB / 486.7 MB, free: 15.97 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 8.56e-05/0.156, allocations: 113.8 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1561, allocations: 7.906 kB / 486.8 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.1563, allocations: 97.84 kB / 486.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1563, allocations: 7.938 kB / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1563, allocations: 0 / 486.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1563, allocations: 3.953 kB / 486.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.1568, allocations: 358.5 kB / 487.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1568, allocations: 384 / 487.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.1568, allocations: 19.94 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1569, allocations: 4 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1569, allocations: 7.984 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1569, allocations: 7.953 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1569, allocations: 0 / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.1571, allocations: 175.8 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.1572, allocations: 89 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.1572, allocations: 0 / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.1573, allocations: 12 kB / 487.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.1573, allocations: 11.92 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1573, allocations: 4 kB / 487.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.1574, allocations: 111.2 kB / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1574, allocations: 0 / 487.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1577, allocations: 40 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.001453/0.1592, allocations: 1.092 MB / 488.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.1593, allocations: 59.95 kB / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1594, allocations: 0 / 488.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.1594, allocations: 31.92 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.0003091/0.1597, allocations: 26.75 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1608, allocations: 0.5512 MB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1611, allocations: 0.6965 MB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.1612, allocations: 8.25 kB / 490.2 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.1612, allocations: 35.41 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1612, allocations: 0 / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01479/0.176, allocations: 2.758 MB / 493 MB, free: 9.746 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.1764, allocations: 233.8 kB / 493.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.081, allocations: 3.938 kB / 493.2 MB, free: 9.492 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat